Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Remove reference to inability to run tests in VS2019 #4363

Merged
merged 1 commit into from
Apr 24, 2023
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 0 additions & 12 deletions BUILDING.md
Original file line number Diff line number Diff line change
Expand Up @@ -64,18 +64,6 @@ You should then be able to run the unit tests directly from within your developm

Unfortunately, there are currently some known issues with building and running tests locally.

#### Tests will not from the command line using `dotnet test` ([#3867](https://github.com/nunit/nunit/issues/3867))

The NUnit solution contains [NUnit Lite Runner](https://docs.nunit.org/articles/nunit/running-tests/NUnitLite-Runner.html), a lightweight test runner. It is similar to NUnit console but with fewer features and without the overhead of a full NUnit installation.

If you navigate to one of the build outputs under the `bin` directory, you will see that it contains `nunitlite-runner.exe`

For example, the following command `./nunitlite-runner nunit.framework.tests.dll` (bash on Linux) will run all tests in the nunit.framework.tests.dll.

NUnit Lite Runner accepts a number of [command line arguments](https://docs.nunit.org/articles/nunit/running-tests/NUnitLite-Options.html).

For example, the following command `./nunitlite-runner nunit.framework.tests.dll --where "class == NUnit.Framework.Assertions.AssertEqualsTests"` (bash on Linux) will run all tests in the NUnit.Framework.Assertions.AssertEqualsTests TextFixture in the nunit.framework.tests.dll.

#### Tests will not run within Rider or Visual Studio ([#3008](https://github.com/nunit/nunit/issues/3008))

You can run NUnit Lite in a similar way to above, but from the development IDE after a successful build.
Expand Down