Le dim. 28 déc. 2025 à 18:42, Waldek Hebisch <
de...@fricas.org> a écrit :
>
> On Sun, Dec 28, 2025 at 03:30:37PM +0100, Grégory Vanuxem wrote:
> > 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.
> <snip<
> > 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?
>
> Testing framework keeps current score. Running a test adds to
> the score. So, tests are run just when you run corresponding
> input file, but reported score is cumulative (that is old score
> is added to the current score). From docstring of 'statistics':
>
> ++ statistics() prints out a summary of the outcome of the testcases so
> ++ far. Use \spad{clear completely} to reset the statistics.
Shame on me. I should have read the docstring. Since
thought previous statistics should have been deleted too. But
statistics are incrementally added. That makes sense in fact. Thanks
think. Specified as a system command or using \spad{)clear