Skip to content

This project aims to ensure that your projects meet the minimum required standard for developing NET Core application.

License

Notifications You must be signed in to change notification settings

AshleyDhevalall/Clean-Architecture-Bootstrap

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

32 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Clean Architecture Bootstrap

The project enables developers to bootstrap the project creation process by making use of the Clean Architecture Solution Template by Jason Taylor. The project aims to build on the bootstrap process by providing powershell scripts for building, executing unit tests with code coverage reports and ensuring that your solution conforms to the Code Quality and Security standards available in SonarQube.

Prerequisites

  • .NET Core SDK (3.1 or later)
  • Node.js (6 or later)
  • Clean Architecture with .NET Core
  • SonarQube server

Usage

  1. Create your clean architecture solution

  2. Download and copy the core-build.ps1 script to your solution folder

  3. Create a new file named build.ps1 in your solution folder

    • The content of the folder should look like build.ps1

Test projects

  • The script assumes that test projects end with *test

What actions does the core-script.ps1 script perform:

  • The script will restores the packages
  • Install sonar scanner as a global tool
  • Install coverlet as a global tool
  • Start sonar scanner
  • Restore dependencies and build the solution
  • Stop sonar scanner
  • Run unit tests

Generates the following html reports

  • Code coverage
  • Unit test
  • Sonar scanner

Getting the Source

This project is hosted on GitHub. You can clone this project directly using this command:

git clone https://github.com/AshleyDhevalall/Clean-Architecture-Bootstrap

Authors

Ashley Dhevalall

Acknowledgements

License

MIT License

Copyright (c) 2019 AshleyDhevalall

About

This project aims to ensure that your projects meet the minimum required standard for developing NET Core application.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published