https://github.com/jasontaylordev/fixie.netcore.projecttemplates
A project that contains Fixie tests that can run on .NET Core on Windows, Linux, and MacOS.
https://github.com/jasontaylordev/fixie.netcore.projecttemplates
Last synced: 2 months ago
JSON representation
A project that contains Fixie tests that can run on .NET Core on Windows, Linux, and MacOS.
- Host: GitHub
- URL: https://github.com/jasontaylordev/fixie.netcore.projecttemplates
- Owner: jasontaylordev
- License: mit
- Created: 2020-03-13T21:09:04.000Z (over 5 years ago)
- Default Branch: master
- Last Pushed: 2020-03-14T21:59:18.000Z (over 5 years ago)
- Last Synced: 2025-03-25T08:51:19.955Z (3 months ago)
- Language: C#
- Size: 16.6 KB
- Stars: 12
- Watchers: 3
- Forks: 7
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Fixie .NET Core Project Template
[](https://www.nuget.org/packages/Fixie.NetCore.ProjectTemplates) [](https://twitter.com/jasontaylordev)A project that contains Fixie tests that can run on .NET Core on Windows, Linux, and MacOS. The initial version supports Fixie 2.2.0 on .NET Core 3.1.
## Quick Start
Fixie is a .NET test framework similar to NUnit and xUnit, but with an emphasis on low-ceremony defaults and flexible customization. Official documentaion can be found at https://fixie.github.io.Install the .NET Core project template:
```
$ dotnet new --install Fixie.NetCore.ProjectTemplates
```Create the new project:
```
$ mkdir FixieTests
$ cd FixieTests
$ dotnet new fixie
```Install a third-party assertion library such as [Shouldly](https://github.com/shouldly/shouldly) or [FluentAssertions](https://fluentassertions.com/):
```
$ dotnet add package FluentAssertions
```Run your tests from the command line by executing:
```
$ dotnet testStarting test execution, please wait...
A total of 1 test files matched the specified pattern.
Test Run Successful.
Total tests: 1
Passed: 1
Total time: 1.3061 Seconds
```To run your tests from inside Visual Studio, open Test Explorer (**Test** \ **Windows** \ **Test Explorer**). Rebuild your solution and click **Run All** to get started.