Skip to content

Addition of Unit Testing for all projects #30

@kMutagene

Description

@kMutagene

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:

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

No one assigned

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions