Changes between Version 15 and Version 16 of DeveloperGuidelines/Testing/Selenium


Ignore:
Timestamp:
05/31/12 13:25:16 (9 years ago)
Author:
Fran Boon
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • DeveloperGuidelines/Testing/Selenium

    v15 v16  
    4646deployment_settings.base.prepopulate = ["IFRC_Train"]
    4747}}}
    48 Run the whole test suite for the Eden application:[[BR]]
    4948
     49Run the whole test suite for the Eden application:
    5050{{{
    5151cd web2py
     
    5353}}}
    5454
    55 Run a single test script for the Eden application:[[BR]]
    56 
     55Run a single test script for the Eden application:
    5756{{{
    5857cd web2py
    5958python web2py.py -S eden -M -R applications/eden/modules/tests/suite.py -A mytestfunction
    6059}}}
    61 [[BR]]
    6260
    6361== Writing / Creating your own test scripts:==
    64 We 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.[[BR]]
     62We 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.
    6563
    66 Use the Selenium IDE to generate python codes. [[BR]]
     64Use the Selenium IDE to generate python code.
    6765
    6866An example has been created: {{{eden/modules/tests/hrm/hrm001.py}}}
     
    7169
    7270The key is to make tests which are as least fragile as possible through:
    73 * State (we should eb able to run individual tests easilty, which check their current state as-required)
     71* State (we should be able to run individual tests easilty, which check their current state as-required)
    7472* Deployment_Settings
    7573* Localisation