You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Because the Tests.hs file is in the implicit main package, it's impossible for the student to add other test files. Complex solutions can be split into modules, and each module should be tested separately.
Advanced/optional tests can be maintained in a separate module that the student can run, while the test runner may only run the core tests.
The current test structure has two issues:
Tests.hs
file is in the implicitmain
package, it's impossible for the student to add other test files. Complex solutions can be split into modules, and each module should be tested separately.Both of these problems can be solved by using Hspec automatic spec discovery. Probably will also fix #955.
The text was updated successfully, but these errors were encountered: