[Mumps2Py:] Re: What next ? |
[ Thread Index |
Date Index
| More lists.mumps2py.org/discuss Archives
]
Done.
I've attached my current regressiontests.cfg
the regression-testing functionality is accessed via the Run menu.
-Patrick
Patrick Gallot wrote:
Howdy,
I've been adding test files for every piece of functionality that I
add support for.
However, as I add, I also need to go back and tweak what I previously
wrote.
Standard practice should be to retest everything to make sure that
nothing broke.
...in an automated sort of way.
Basically, I need a set of input Mumps files, and known good output
from the translated python programs.
for each input file, I need to translate it to Python, run the python
version, and compare the output against the known good output.
if it matches exactly, then all is well and good.
if it doesn't, then there's probably a bug that needs fixing, or a
test that needs to be updated,...or something.
I need to be able to run this regression test suite from Mumps2Py_ui,
and I need to be able to add a test to the suite from Mumps2Py_ui.
And that is what I'm doing next.
Cheers,
-Patrick
[DEFAULT]
id = 8
testdir = testfiles
[Test_1]
compare_file = testfiles/simpleconditionals.mps.oof
input_file = C:/projects/mumps2py/trunk/testfiles/simpleconditionals.mps
[Test_2]
compare_file = testfiles/for_extract.mps.oof
input_file = C:/projects/mumps2py/trunk/testfiles/for_extract.mps
[Test_3]
compare_file = testfiles/for_ascii_f.mps.oof
input_file = C:/projects/mumps2py/trunk/testfiles/for_ascii_f.mps
[Test_4]
compare_file = testfiles/char_ascii_extract.mps.oof
input_file = C:/projects/mumps2py/trunk/testfiles/char_ascii_extract.mps
[Test_5]
compare_file = testfiles/for_indexedvars.mps.oof
input_file = C:/projects/mumps2py/trunk/testfiles/for_indexedvars.mps
[Test_6]
compare_file = testfiles/for_length.mps.oof
input_file = C:/projects/mumps2py/trunk/testfiles/for_length.mps
[Test_7]
compare_file = testfiles/setindexedlocalvars.mps.oof
input_file = C:/projects/mumps2py/trunk/testfiles/setindexedlocalvars.mps
[Test_8]
compare_file = testfiles/set_fdata.mps.oof
input_file = C:/projects/mumps2py/trunk/testfiles/set_fdata.mps