Giter VIP home page Giter VIP logo

runcoverage-mac's Introduction

RunCoverage-Mac

What is it?

RunCoverage.py is a simple script I created to simplify running code coverage tests on VS for Mac in CS 3500 at the University of Utah!

What does it do?

Overall it's pretty simple. The script just runs your tests, generates the report, and then opens that report in your web browser of choice.

How do I use it?

Simply drop the RunCoverage.py file into the root of your CS github folder (spreadsheet-GavinPlusPlus for example), then execute the command with python3 RunCoverage.py. After that the program will ask you for the relative directory to the test project (Spreadsheet/FormulaTests for example) and you are all done.

Alternatively, you can call the script with a command line argument to immediately start testing like this: python3 RunCoverage.py Spreadsheet/FormulaTests

Dependencies:

  • Python 3.7+
  • coverlet: Must be added to each project you intend to run tests on (dotnet add package coverlet.collector)
  • reportgenerator: Turns the coverlet XML into a human readable report (dotnet tool install -g dotnet-reportgenerator-globaltool)

Troubleshooting: Click Here!

Compatability:

  • Tested and working on macOS 13.0 Ventura Beta 8

Changelog:

  • Version 1.2: Add some error checking, create Troubleshooting.md

  • Version 1.1: Add option to use command line arguments.

  • Version 1.0: Initial Release

runcoverage-mac's People

Contributors

gavinplusplus avatar

Stargazers

 avatar

Watchers

James Cloos avatar  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.