Changes between Version 20 and Version 21 of DeveloperGuidelines/Testing/Selenium


Ignore:
Timestamp:
05/31/12 14:00:04 (13 years ago)
Author:
Fran Boon
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • DeveloperGuidelines/Testing/Selenium

    v20 v21  
    3030
    3131== Running / Executing Automated test scripts: ==
    32 In Sahana Eden, the testing system is implemented in the directory: eden/modules/tests/ [[BR]]
    33 Now that you have installed all the Selenium packages to your Python on your machine, you can now run them to test Eden module(s) functionalities. [[BR]][[BR]]
    34 
    3532Before running the Selenium scripts, you should put your database into a known state:
    3633{{{
     
    5552}}}
    5653
    57 == Writing / Creating your own test scripts:==
     54== Writing / Creating your own test scripts: ==
    5855We aim to make it as easy as possible to write additional tests, which can easily be plugged into the testing suite or/and executed separately.
    5956
    60 An example has been created: {{{eden/modules/tests/hrm/hrm001.py}}}
     57The canonical example is: {{{eden/modules/tests/org/org_create_organisation.py}}}
    6158
    6259New tests should be stored in a subfolder per module, adding the foldername to {{{eden/modules/tests/__init__.py}}} & creating an {{{__init__.py}}} in the subfolder.
     
    7370* http://selenium.googlecode.com/svn/trunk/docs/api/py/selenium/selenium.selenium.html
    7471
     72We separate data out into a separate file, so that this is easy to change to allow reruns of the tsts with different data sets.
    7573== !ToDo ==
    7674* Store results in a format suitable for use by CI