Skip to content

AnkurSheel/xUnitHelpers

Repository files navigation

Codinators.XunitHelpers

Codinators.XunitHelpers is a Nuget package to help with

  1. loading test data from a JSON file for xUnit Tests. Read more at How to load test data from a json file for xUnit tests
  2. Multiple Asserts for xunit Tests.
  3. Auto Approving changed files for Approval Tests
  4. Verifying Calls to Mock
  5. Check if 2 collections are the same ignoring Order
  6. Check if 2 collections are the same and have elements in the same order
  7. Add custom messages to Asserts

Buy Me A Coffee

Installation

dotnet add package Codinators.XunitHelpers

Usage

  1. Loading test data from a JSON file for xUnit Tests
  2. Multiple Asserts
  3. Auto Approver for Approval Tests
  4. Verify Calls to Mock
  5. Compare Collections ignoring Order
  6. Compare Collections in Order
  7. Add custom messages to Asserts

Issues

Please open an issue first to discuss what you would like to change.

License

MIT

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Sponsor this project

 

Packages

No packages published

Languages