Hello,
I am adding some input test files using the FriCAS testing framework
from M. Rubey for manual testing. During the coding test and running
test files sequentially in the interpreter, I noticed that previous
test files seem to be re-run. To be more explicit, here are the tail
of two interpreter sessions, one where I check only jws.input from a
fresh FriCAS session, the second I check jws.input but, after a
jnemo.input test.
**************************************************************************
)read src/input/jws
[snip]
statistics()
=============================================================================
General WARNINGS:
* do not use ')clear completely' before having used 'statistics()'
It clears the statistics without warning!
* do not forget to pass the arguments of the testXxxx functions as Strings!
Otherwise, the test will fail and statistics() will not notice!
=============================================================================
Testsuite: Julia WS Object Domains
failed (total): 0 (8)
=============================================================================
testsuite | testcases: failed (total) | tests: failed (total)
Julia WS Object Domains 0 (8) 0 (41)
=============================================================================
File summary.
unexpected failures: 0
expected failures: 0
unexpected passes: 0
total tests: 41
New FriCAS session:
*****************************************************************************************
)read src/input/jnemo
[snip]
statistics()
=============================================================================
General WARNINGS:
* do not use ')clear completely' before having used 'statistics()'
It clears the statistics without warning!
* do not forget to pass the arguments of the testXxxx functions as Strings!
Otherwise, the test will fail and statistics() will not notice!
=============================================================================
WARNINGS:
Testsuite: Julia Nemo
Testcase: NMAlgebraicNumber Extensions
test: 1
testing in a domain without InputForm!
Testsuite: Julia Nemo
Testcase: NMAlgebraicNumber Extensions
test: 2
testing in a domain without InputForm!
Testsuite: Julia Nemo
Testcase: NMAlgebraicNumber Arithmetic
test: 1
testing in a domain without InputForm!
Testsuite: Julia Nemo
Testcase: NMAlgebraicNumber Arithmetic
test: 2
testing in a domain without InputForm!
Testsuite: Julia Nemo
Testcase: NMAlgebraicNumber Arithmetic
test: 3
testing in a domain without InputForm!
Testsuite: Julia Nemo
Testcase: NMAlgebraicNumber Arithmetic
test: 4
testing in a domain without InputForm!
Testsuite: Julia Nemo
Testcase: NMAlgebraicNumber Arithmetic
test: 5
testing in a domain without InputForm!
Testsuite: Julia Nemo
Testcase: NMAlgebraicNumber Arithmetic
test: 6
testing in a domain without InputForm!
Testsuite: Julia Nemo
Testcase: NMAlgebraicNumber Arithmetic
test: 7
testing in a domain without InputForm!
Testsuite: Julia Nemo
Testcase: NMAlgebraicNumber minimal polynomial
test: 1
testing in a domain without InputForm!
Testsuite: Julia Nemo
Testcase: Optimized norm
test: 1
testing in a domain without InputForm!
Testsuite: Julia Nemo
Testcase: Optimized norm
test: 2
testing in a domain without InputForm!
Testsuite: Julia Nemo
Testcase: Optimized norm
test: 3
testing in a domain without InputForm!
Testsuite: Julia Nemo
Testcase: NMExactCalciumField arithmetic
test: 1
testing in a domain without InputForm!
Testsuite: Julia Nemo
Testcase: NMExactCalciumField arithmetic
test: 2
testing in a domain without InputForm!
Testsuite: Julia Nemo
Testcase: NMExactCalciumField arithmetic
test: 3
testing in a domain without InputForm!
Testsuite: Julia Nemo
Testcase: NMExactCalciumField arithmetic
test: 4
testing in a domain without InputForm!
Testsuite: Julia Nemo
Testcase: NMExactCalciumField arithmetic
test: 5
testing in a domain without InputForm!
Testsuite: Julia Nemo
Testcase: NMExactCalciumField arithmetic
test: 6
testing in a domain without InputForm!
Testsuite: Julia Nemo
Testcase: NMExactCalciumField arithmetic
test: 7
testing in a domain without InputForm!
Testsuite: Julia Nemo
Testcase: NMExactCalciumField trigonometric functions
test: 1
testing in a domain without InputForm!
Testsuite: Julia Nemo
Testcase: NMExactCalciumField trigonometric functions
test: 2
testing in a domain without InputForm!
Testsuite: Julia Nemo
Testcase: NMExactCalciumField trigonometric functions
test: 3
testing in a domain without InputForm!
=============================================================================
Testsuite: Julia Nemo
failed (total): 0 (16)
=============================================================================
testsuite | testcases: failed (total) | tests: failed (total)
Julia Nemo 0 (16) 0 (66)
=============================================================================
File summary.
unexpected failures: 0
expected failures: 0
unexpected passes: 0
total tests: 66
)read src/input/jws
[snip]
statistics()
=============================================================================
General WARNINGS:
* do not use ')clear completely' before having used 'statistics()'
It clears the statistics without warning!
* do not forget to pass the arguments of the testXxxx functions as Strings!
Otherwise, the test will fail and statistics() will not notice!
=============================================================================
WARNINGS:
Testsuite: Julia Nemo
Testcase: NMAlgebraicNumber Extensions
test: 1
testing in a domain without InputForm!
Testsuite: Julia Nemo
Testcase: NMAlgebraicNumber Extensions
test: 2
testing in a domain without InputForm!
Testsuite: Julia Nemo
Testcase: NMAlgebraicNumber Arithmetic
test: 1
testing in a domain without InputForm!
Testsuite: Julia Nemo
Testcase: NMAlgebraicNumber Arithmetic
test: 2
testing in a domain without InputForm!
Testsuite: Julia Nemo
Testcase: NMAlgebraicNumber Arithmetic
test: 3
testing in a domain without InputForm!
Testsuite: Julia Nemo
Testcase: NMAlgebraicNumber Arithmetic
test: 4
testing in a domain without InputForm!
Testsuite: Julia Nemo
Testcase: NMAlgebraicNumber Arithmetic
test: 5
testing in a domain without InputForm!
Testsuite: Julia Nemo
Testcase: NMAlgebraicNumber Arithmetic
test: 6
testing in a domain without InputForm!
Testsuite: Julia Nemo
Testcase: NMAlgebraicNumber Arithmetic
test: 7
testing in a domain without InputForm!
Testsuite: Julia Nemo
Testcase: NMAlgebraicNumber minimal polynomial
test: 1
testing in a domain without InputForm!
Testsuite: Julia Nemo
Testcase: Optimized norm
test: 1
testing in a domain without InputForm!
Testsuite: Julia Nemo
Testcase: Optimized norm
test: 2
testing in a domain without InputForm!
Testsuite: Julia Nemo
Testcase: Optimized norm
test: 3
testing in a domain without InputForm!
Testsuite: Julia Nemo
Testcase: NMExactCalciumField arithmetic
test: 1
testing in a domain without InputForm!
Testsuite: Julia Nemo
Testcase: NMExactCalciumField arithmetic
test: 2
testing in a domain without InputForm!
Testsuite: Julia Nemo
Testcase: NMExactCalciumField arithmetic
test: 3
testing in a domain without InputForm!
Testsuite: Julia Nemo
Testcase: NMExactCalciumField arithmetic
test: 4
testing in a domain without InputForm!
Testsuite: Julia Nemo
Testcase: NMExactCalciumField arithmetic
test: 5
testing in a domain without InputForm!
Testsuite: Julia Nemo
Testcase: NMExactCalciumField arithmetic
test: 6
testing in a domain without InputForm!
Testsuite: Julia Nemo
Testcase: NMExactCalciumField arithmetic
test: 7
testing in a domain without InputForm!
Testsuite: Julia Nemo
Testcase: NMExactCalciumField trigonometric functions
test: 1
testing in a domain without InputForm!
Testsuite: Julia Nemo
Testcase: NMExactCalciumField trigonometric functions
test: 2
testing in a domain without InputForm!
Testsuite: Julia Nemo
Testcase: NMExactCalciumField trigonometric functions
test: 3
testing in a domain without InputForm!
=============================================================================
Testsuite: Julia Nemo
failed (total): 0 (16)
=============================================================================
Testsuite: Julia WS Object Domains
failed (total): 0 (8)
=============================================================================
testsuite | testcases: failed (total) | tests: failed (total)
Julia Nemo 0 (16) 0 (66)
Julia WS Object Domains 0 (8) 0 (41)
=============================================================================
File summary.
unexpected failures: 0
expected failures: 0
unexpected passes: 0
total tests: 107
******************************************************************************************
Is it what is expected? It seems the previous test (jnemo.input) is
re-run when checking jws.input. Wouldn't it be preferable to reset the
testing framework? Something like after statistics() for example,
reset the test framework?
Regards,
Greg
--
You received this message because you are subscribed to the Google Groups
"FriCAS - computer algebra system" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To view this discussion visit
https://groups.google.com/d/msgid/fricas-devel/CAHnU2dbTdvDAAoPpCuhMHOU51NU2ddm8ja_kUC%2BpzuVirwnwYA%40mail.gmail.com.