Changes between Version 11 and Version 12 of QA


Ignore:
Timestamp:
09/21/14 10:24:36 (7 years ago)
Author:
Arnav Sharma
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • QA

    v11 v12  
    1515== Automated Tests ==
    1616
     17
     18===  EdenTest ===
     19[wiki:/DeveloperGuidelines/Testing/EdenTest EdenTest] is a Robot Framework based test framework used for automated testing in Sahana Eden. It is located in the eden codebase under directory '''eden/tests'''.
     20
     21Before running these tests, see [wiki:/DeveloperGuidelines/Testing/EdenTest#Installationguidelines setup instructions] for installation and setup. Then to run the whole test suite:
     22{{{
     23python web2py.py --no-banner -M -S eden  -R applications/eden/tests/edentest_runner.py -A testsuites
     24}}}
     25
     26
    1727=== Smoke Tests ===
    18 Smoke Tests click through on every link within Sahana Eden and can be used to check for errors on pages and broken links. They are a light-weight approach to detecting basic errors, however they do not test form submission or any interaction.
    19 To run the Smoke Tests:
     28Smoke Tests click through on every link within Sahana Eden and can be used to check for errors on pages and broken links. They are a light-weight approach to detecting basic errors, however they do not test form submission or any interaction. They are run using EdenTest
     29
     30To run the Smoke Tests
    2031{{{
    21 python web2py.py -S eden -M -R applications/eden/modules/tests/suite.py -A --suite smoke --force-debug --link-depth 16 -V 3
     32python web2py.py --no-banner -M -S eden  -R applications/eden/tests/edentest_runner.py -A  smoke_tests  -o NONE -l NONE
    2233}}}
    23 ''Add details on the dependancies for these''
     34Before running smoke tests, check [wiki:DeveloperGuidelines/Testing/EdenTest/WriteTestcase/Advanced#SmokeTests Smoke Tests] for additional options.
    2435
    25 ===  Selenium Tests ===
    26 Selenium Tests use the [http://seleniumhq.org/docs/03_webdriver.jsp Selenium WebDriver] to simulate user interactions within a browser. They are very thorough as they test interactions in the entire Sahana Eden stack including JS, but can also be fragile (detect false negatives).
    27 To run all the Selenium Tests:
    28 {{{
    29 python web2py.py -S eden -M -R applications/eden/modules/tests/suite.py
    30 }}}
    31 See: [wiki:DeveloperGuidelines/Testing/Selenium Automated Tests - Selenium] for more details
    3236
    3337=== Unit Tests ===