I have built a .Net Core Console app for the test.
- Dependency Injection
- .Net Core dependency injection
- Unit tests
- .Net Core xUnit unit tests
- NSubstitute for mocking
- The testing areas are
- Business logic tests
- Repository tests
API | Description |
---|---|
GetPetStoreAsync | Reads the Pet.json text file and deserializes to object (using Newtonsoft.Json library). |
API | Description |
---|---|
GetPetsByPersonGender | Runs a LINQ query to perform the business logic. |