Skip to content

TestCore

Mehmet Özkaya edited this page Apr 21, 2019 · 4 revisions

The test project consists of 4 different projects as in the main structure. These projects form separate test projects for each of the projects (Core-Infrastructure-Application-Web) in the existing architecture.

As the same way, the development of the test projects should be Core -> Infrastructure -> Application -> Web layer in respectively.

So lets start to build test projects.

AspnetRun.Core.Tests

This project for testing project of AspnetRun.Core class library project. So it should be test includings of this AspnetRun.Core class library classes.

The main folder structure of AspnetRun.Core.Tests project are should have below folders;

  • Builder
  • Entities
  • Specifications

So in example of Entities test ProductTests.cs class includes some of use case of Product entity.

Test Driven Development (TDD) of repository.

Clone this wiki locally