dariusz-wozniak / TestsAreFun

🌸 .NET tests playground

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

.NET

That's a sandbox with bunch of different types of tests. The following table explains what tests are included along with the used tools and pre-requisities to run tests.

Tests type Tools Comments
Unit tests NUnit
Moq
FluentAssertions
AutoMoq (fork)
Bogus
AutoFixture
Integration tests Flurl
ExcelDataReader
- Excel read tests
- REST API tests
Approval tests Verify Optional:
- Install diff tray tool (Windows): dotnet tool install -g DiffEngineTray
- Run: diffenginetray
Load tests NBomber Reports are under \bin\[Debug|Release]\net6.0\
Acceptance tests Playwright Installation: dotnet tool install -g Microsoft.Playwright.CLI
More:
- Run tests: dotnet test
- Run tests in parallel: dotnet test -- NUnit.NumberOfTestWorkers=5
- Generate test: playwright codegen github.com
- Show trace: playwright show-trace PATHTOZIPTRACEFILE
- Reports are under \bin\[Debug|Release]\net6.0\test_reports
Specification tests #1 SpecFlow Installation:
- Visual Studio
- Rider
Specification tests #2 LoFu

Note

About

🌸 .NET tests playground

License:GNU General Public License v3.0


Languages

Language:C# 99.5%Language:Smalltalk 0.3%Language:Gherkin 0.2%