Skip to content

Write up recommended way to test and link it from the readme #2973

@jnm2

Description

@jnm2

I find https://github.com/nunit/nunit/blob/master/BUILDING.md#build-script a bit vague and we've had a number of folks asking us how we test.

I think there's a lot of room for personal style assuming we have solid CI. My ideal workflow:

  1. Locate existing tests or write new tests
  2. Pin that test fixture to make it quick to rerun the tests while typing (even better, start continuous testing) by filtering classes in Test Explorer or adding tests to a new ReSharper test session
  3. Implement a change
  4. Before creating a Git commit, run .\build.ps1 -t test to make sure the passes and failures are as expected
  5. If there are any surprises, find and pin the affected tests I didn't know about and go to step 3

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions