Feature #17
Tests automation
| Status: | Closed | Start date: | 25 Jan 2010 | |
|---|---|---|---|---|
| Priority: | Normal | Due date: | ||
| Assignee: | cma | % Done: | 100% |
|
| Category: | Test and benchmark | |||
| Target version: | 0.9 |
Description
Using several modules provided by Python, this feature aims to validate framework functionality.
We will use two modules : doctest and unittest.
doctest will read command and its result in a Python interpreter output form, from method/class comment or from a .txt file, this module validate small parts of the framework.
unittest will be used on huge component, validating output from the framework itself.
Associated revisions
This commit refs #17 : test automation.
Adding 5 unit test validating local driver.
Use ctest -V to execute.
Add seek tests on node + error raising tests, refs #17.
fix several path problem running <make test> due to out of tree build feature, refs #17
Tests revival, to fit new framework/API outputs.
Actually only FAT file system module has been modified.
ls --long --recursive badly outputs ; files have a / appended, see testsuite/results/fattest.5-fat-daylight.ls_accurate.txt
How to test test ;
- mkdir build && cd build && cmake .. && make j9 python testsuite/fattest.py
This commit refs #17 .
History
Updated by cma about 2 years ago
- % Done changed from 0 to 10
Testing local fs driver works, actually only provided for Unix.
Updated by fba almost 2 years ago
- % Done changed from 10 to 100
Updated by fba almost 2 years ago
- Target version changed from 0.5.0 to 0.6.0
Updated by fba almost 2 years ago
- Target version changed from 0.6.0 to 0.5.0
Updated by fba over 1 year ago
- Target version changed from 0.5.0 to 0.9