Uploaded image for project: 'Moodle'
  1. Moodle
  2. MDL-37858

Use 'tricky data' in tests by default

    XMLWordPrintable

    Details

      Description

      As suggested by Tim in the chat:
      https://moodle.org/local/chatlogs/index.php?conversationid=12049

      We should use 'tricky data' in tests. E.g. wide unicode characters, crazy stuff which is accepted (like > and <). < etc. Basically, the most unusual data we should see should be used and tested against then we will hopefully find problems before our users.

      Ideally this would be tied to some magic data generator, so test writers just write (excuse my lack of cucumber :-P)

      'I write some long text in a forum post'.

      Not I write 'これは日本語じゃありません &lt > < foobar'

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              dmonllao David Monllaó
              Reporter:
              poltawski Dan Poltawski
              Integrator:
              Dan Poltawski Dan Poltawski
              Tester:
              Rajesh Taneja Rajesh Taneja
              Participants:
              Component watchers:
              Andrew Lyons, Dongsheng Cai, Huong Nguyen, Jun Pataleta, Michael Hawkins, Shamim Rezaie, Simey Lameze
              Votes:
              1 Vote for this issue
              Watchers:
              6 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved:
                Fix Release Date:
                14/May/13