Feature #17

Tests automation

Added by cma about 2 years ago. Updated 11 months ago.

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

Revision baa74118
Added by cma about 2 years ago

This commit refs #17 : test automation.
Adding 5 unit test validating local driver.
Use ctest -V to execute.

Revision b0e8a18e
Added by cma almost 2 years ago

Add seek tests on node + error raising tests, refs #17.

Revision c22de4bf
Added by cma over 1 year ago

fix several path problem running <make test> due to out of tree build feature, refs #17

Revision 68e68393
Added by cma about 1 year ago

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

Updated by rbe 11 months ago

  • Status changed from Assigned to Closed

Also available in: Atom PDF