CleanArchGen is a tool to generate a scaffolding .Net Core project based on the Clean Architecture style
The Clean Architecture - Uncle Bob
Tired to run dotnet command or use plugins to scaffold projects? CleanArchGen will help you, see how in the Features section below.
CleanArchGen will deliver an application running in the following architecture :
This architecture was inspired on Herberto Graca article, where I found this beautiful image:
- Create solution file
- Create src folder
- Create Domain layer
- Create Application layer
- Create Infra layer
- Create Api or Console layer
- Add projects on solution
- Reference projects
- Application -> Domain
- Infra -> Application
- Infra -> Domain
- Api or Console -> Application
- Api or Console -> Domain
- Api or Console -> Infra
- Create tests folder
- Create test pyramid folder
- Create UnitTests project
- Create IntegrationTests project
- Create FunctionalTests project
- Reference project into test projects
- Create .gitignore file
- Create README.md file
- Build project
TBD
.NET Core 3.1
TBD
Run command on the solution file (.sln) folder :
dotnet test
If you don't have dotnet-stryker installed, go to the root of the project and run
dotnet tool restore
On tests/CleanArchGen.UnitTests run
dotnet stryker --project-file=[projectfile]
TBD
- .NET Core - Software Developmet Kit (SDK)
- Visual Studio Code - Integrated Development Environment (IDE)
- xUnit.net - Unit Test Framework
- Fluent Assertions - Unit Test Assertions Extension Methods
- Moq - The most popular mocking library for .NET
TBD
- Vinicius Pfeifer
See also the list of contributors who participated in this project.
TBD