<commit_before>Things to consider before playing the tests
===========================================

This tests are performed with Selenium IDE thats is a Firefox add-on that records clicks, typing, and other actions to make a test, which you can play back in the browser. More information and download here http://seleniumhq.org/download/

Before playing tests you must have some test data in your /var/ezweb-data/ directory. You can get this test data from /tests/ezweb-data
<commit_msg>See #31 I explain how to play selenium tests<commit_after>Things to consider before playing the tests
===========================================

This tests are performed with Selenium IDE thats is a Firefox add-on that records clicks, typing, and other actions to make a test, which you can play back in the browser. More information and download here http://seleniumhq.org/download/

Before playing tests
---------------------
#. You must have some test data in your /var/ezweb-data/ directory. You can get this test data from the project directory /tests/ezweb-data
#. You must have executed ``python manage.py syncdb --migrate`` and ``python manage.py loaddata extra_data``. This two commands will syncronize the database and load some data needed for testing.
#. Finally you must run ezweb ``python manage.py runserver`` and you'll be able to open any test suite placed in tests directory and play selenium tests with no problem.

Test gadget
-----------


{'fraction_non_alphanumeric': 0.13067400275103164, 'fraction_numerical': 0.001375515818431912, 'mean_word_length': 4.105263157894737, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 4, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '5127900', 'n_tokens_mistral': 361, 'n_tokens_neox': 335, 'n_words': 198}