- Status: accepted
Which frameworks can be adopted within the PTFYS that will aid the developer to create clear, concise unit tests quickly and help facilitate TDD?
- Open source
- Within DfE’s Technical Guidance
- Moq is used by the following services
- AutoFixture can be used to is used by the following services to generate
Mocking
- Moq
- FakeItEasy
- Rhino Mocks
- JustMock
- Microsoft Fakes (Visual Studio Enterprise edition)
Test Data
- AutoFixture
- NBuilder
- Bogus
Assertions
- Fluent Assertions
- NFluent
- Shouldly
- MSTest/NUnit and xUnit built-in assertions
We will use Moq and xUnit for our testing purposes, as these are the two most popular testing packages currently available in their respective domains.