I am writing Haskell code in the Leksah IDE. When I edit the code, Leksah builds the background and runs unit tests after the background compilation is complete.
In the "console" frame, I see the following:
Building UNFI-EIC-0.0.1...
Preprocessing test suite 'test-UNFI-EIC' for UNFI-EIC-0.0.1...
Preprocessing executable 'UNFI-EIC' for UNFI-EIC-0.0.1...
-----------------------------------------
Running 1 test suites...
Test suite test-UNFI-EIC: RUNNING...
test-UNFI-EIC: Prelude.head: empty list
Test suite test-UNFI-EIC: FAIL
Test suite logged to: dist/test/UNFI-EIC-0.0.1-test-UNFI-EIC.log
0 of 1 test suites (0 of 1 test cases) passed.
Where are the default test cases run? How to add appropriate unit tests to them? There is nothing obvious in the GUI menu ...
How can I edit the test suite for a package that integrates with Leksah?
source
share