How do I run this (prog2.tests.daily.TestsCorrect.all). It always complains command not found.

1 Like

This is a daily test. You can not run it locally.
Where/How are you trying to run it?

oh ok I thought I could run it locally because of this:

This test is server-side.
It helps you to identify misunderstandings in the specification as it can tell you when you write a wrong test.
It also allows you to probe “the specification” to clear up details.
To do so, it runs all your tests on our correct implementations.
To run something like that locally, you would need a complete and correct implementation.

In general, one does not have a correct reference implementation to check tests against.
This is a problem in practice as wrong tests lead to many hours debugging and possibly wrong code if not spotted.

1 Like