-
Notifications
You must be signed in to change notification settings - Fork 34
Closed
Labels
good first issuepriority-mediumproject-allIssues regarding all projectsIssues regarding all projectsup-for-grabs
Milestone
Description
Description
None of the projects currently contain any unit tests. There are placeholder tests under the BioFSharp.Tests.NetCore project, which use Expecto.
How to design tests:
Basically, you can do what you want, as long as the test is as granular and self-contained as possible. Some inspiration can be taken from the current tests or this blog post:
https://stackify.com/unit-testing-basics-best-practices/ (ignore the C# code and setup instructions and focus on the concepts)
How to add tests:
- Tests can be found here: https://github.com/CSBiology/BioFSharp/tree/developer/tests/BioFSharp.Tests.NetCore/BioFSharp
- If you decide to implement tests that don’t fit into the current .fs files you can always create new files with the same names as the module you want to test.
How to run tests(from project root):
- Windows: ./build.cmd -t runTestsAll
- Linux: ./build.sh -t runTestsDotnet
Starting point resources
Expecto docs
This well written blog post
Metadata
Metadata
Assignees
Labels
good first issuepriority-mediumproject-allIssues regarding all projectsIssues regarding all projectsup-for-grabs