Code Monkey home page Code Monkey logo

project.template.service's Introduction

Acme Domain Contoso Service

Acme TODOs

Build Features

Default Properties

The set of default build properties and assembly level attributes is declared in build/default.props file. You can update these values to match your needs. This properties file is referenced from every top level source directory's Directory.Build.props which gets evaluated by MS Build system. The build project collects the most of the items required to collocated build convention and resources reused across the repository. This project has no output assets and follows guidance from MS Build SDK's NoTargets. The central global.json collects the utilised project SDKs and serves to manage the versions centrally.

Code Coverage

The code coverage is implemented via integration of the Coverlet and its MSBuild integration. You can control the build failure in build/default.props by updating the threshold limits. The guidance is at Coverlet.

The output report is placed in output/reports/codecoverage. By default it generates the Coverlet JSON format, Coberture format and HTML output.

Central Package Version

The package version is managed centrally at build/Packages.props where you manually insert or update the packages and their versions. If you reference a package into a single project then the build fails as you should prevent this situation and rather update the central place. The guidance is at CentralPackageVersion.

Source Link

In order to benefit from debugging into the source this repo is also using guidance of SourceLink by using the MS Build SDK's SourceLink SDK. You should update global.json to use correct source link provider according to the host of the GIT repository.

How To

Run Tests

In order to run the tests including the coverage as the default then use the following construct on the command line:

dotnet test -m:1

where the -m:1 option means to run the tests only one at a time. This is the requirement for the coverage get generates successfully.

project.template.service's People

Contributors

znamenap avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.