Guest User

Untitled

a guest
Mar 19th, 2018
80
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.04 KB | None | 0 0
  1. dotnet restore
  2. dotnet build
  3.  
  4. # Instrument assemblies inside './' folder to detect hits for source files inside '../Stck/' folder
  5. dotnet minicover instrument --workdir ../ --assemblies Stck.Tests/bin/**/*.dll --sources Stck/**/*.fs
  6.  
  7. # Reset hits count in case minicover was run for this project
  8. dotnet minicover reset
  9.  
  10. # Run tests
  11. dotnet xunit -nobuild --fx-version 2.0.0
  12.  
  13. # Uninstrument assemblies, it's important if you're going to publish or deploy build outputs
  14. dotnet minicover uninstrument --workdir ../
  15.  
  16. # Create html reports inside folder coverage-html
  17. dotnet minicover htmlreport --workdir ../ --threshold 90
  18.  
  19. # Print console report
  20. # This command returns failure if the coverage is lower than the threshold
  21. dotnet minicover report --workdir ../ --threshold 90
  22.  
  23. # Create a NCover-formatted XML report
  24. dotnet minicover xmlreport --workdir ../ --threshold 90
  25.  
  26. # Create a OpenCover-formatted report
  27. dotnet minicover opencoverreport --workdir ../ --threshold 90# Create a OpenCover-formatted report
  28. dotnet minicover opencoverreport --workdir ../ --threshold 90
Add Comment
Please, Sign In to add comment