ardalis / Specification

Base class with tests for adding specifications to a DDD model
MIT License
1.83k stars 238 forks source link

Add scripts for test and coverage reports. #351

Closed fiseni closed 10 months ago

fiseni commented 10 months ago

Now that we sorted out the pipelines and the infrastructure, this PR fixes and consolidates the scripts for testing. In the tests, we check whether there is LocalDb installed, and if there is then we're using that one for integrations tests. So, if you're on a Windows machine and using VS (the LocalDb usually comes bundled in VS) then you can simply run all the tests through Test Explorer. But, if you're on Linux, then you need to do it through a docker container. So, we'll have the following scripts: