-
Improvement
-
Resolution: Fixed
-
Minor
-
2.5
-
MOODLE_25_STABLE
-
MOODLE_25_STABLE
-
MDL-37858_master -
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 'これは日本語じゃありません < > < foobar'