if not before_module == null then before_module.run
for case in test_cases do
case.run
+ toolcontext.clear_progress_bar
+ toolcontext.show_unit(case)
show_status
end
- show_status
- print ""
-
var after_module = self.after_module
if not after_module == null then after_module.run
- for case in test_cases do
- toolcontext.show_unit(case)
- end
+
+ show_status
+ print ""
end
# Write the test unit for `self` in a nit compilable file.
error = "Difference with expected output: diff -u {sav} {res_name}.out1"
toolcontext.modelbuilder.failed_tests += 1
end
- else
+ else if not raw_output.is_empty then
toolcontext.info("No diff: {sav} not found", 2)
end
end