Changes between Version 14 and Version 15 of DeveloperGuidelines/Testing/EdenTest
- Timestamp:
- 08/12/14 16:22:21 (11 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
DeveloperGuidelines/Testing/EdenTest
v14 v15 128 128 !EdenTest testcases are run from the command line. They are run from inside web2py. The command used to run the tests is `python web2py.py --no-banner -M -S eden -R applications/eden/tests/edentest_runner.py -A <name of the testsuite>`. All the command line arguments to !EdenTest are given after '''-A''' argument. Give it '''--help''' to know about more command line options. 129 129 130 The end result is, by default, an [http://robotframework. googlecode.com/hg/doc/userguide/RobotFrameworkUserGuide.html?r=2.8.4#output-file output file] in XML format and an HTML [http://robotframework.googlecode.com/hg/doc/userguide/RobotFrameworkUserGuide.html?r=2.8.4#report-file report] and a [http://robotframework.googlecode.com/hg/doc/userguide/RobotFrameworkUserGuide.html?r=2.8.4#log-file log]. These three files are created in the current working directory by default.130 The end result is, by default, an [http://robotframework.org/robotframework/latest/RobotFrameworkUserGuide.html#output-file output file] in XML format and an HTML [http://robotframework.org/robotframework/latest/RobotFrameworkUserGuide.html#report-file report] and a [http://robotframework.org/robotframework/latest/RobotFrameworkUserGuide.html#log-file log]. These three files are created in the current working directory by default. 131 131 132 132 * '''report.html''': Report files contain an overview of the test execution results in HTML format. They have statistics based on tags and executed test suites, as well as a list of all executed test cases. When both reports and logs are generated, the report has links to the log file for easy navigation to more detailed information. It is easy to see the overall test execution status from report, because its background color is green, if all critical tests pass, and bright red otherwise.