Implementing a standardized testbench within
flowDesigner would help developpers creating unit tests
for blocks they've created. This can greatly enhance
block stability, block reusability and software evolution
(by being able to automatically check if a core
modification brake blocks functionnalities for example)
It can be implemented using many tools :
Anonymous
Logged In: YES
user_id=1494
Does the content of data-flow/testcase do the job?
Otherwise, what's missing (outside of "more testcases")?
Logged In: YES
user_id=699938
From what I understand of what's found in data-
flow/testcase, I would say that almost all files are testcases
and that there's a script to launch all tests. Right? Many of
the testcases validation are made by checking that the
application have terminated correctly. This is a first level of
validation but it does'nt verify internal functionnalities
automatically (ex.: the factorial.n test does'nt check if the
output is valid). I would need to open every output files and
validates manually if testcases are giving the expected
behaviors.
What would be interesting, is to creates blocks that would
help building testcases and automating testcase execution.
Ex.:
(from preformated files for example)
each injected testdata set
with expected output automatically, and asserts on failure
Hope that it helps understand the request!
Logged In: NO
Actually, there are two types of tests. When a ".out" file
is present, then the script checks that the output is infact
valid. The tests that do not have a .out file are cases
where there is an error in the .n, so what the script does
is check that the error does not cause a segfault. Knowing
that, does it include all the features you want?