Upgrade to Pro — share decks privately, control downloads, hide ads and more …

PDXNode: Real-time code coverage analysis

PDXNode: Real-time code coverage analysis

A talk at the local PDXNode group to talk about getting real-time feedback on your code coverage analysis.

Avatar for Justin Abrahms

Justin Abrahms

June 04, 2015

More Decks by Justin Abrahms

Other Decks in Programming

Transcript

  1. 4 Definitions • Testing – Validating the effects of your

    code • Coverage – How much code is tested • Line Coverage • Branch Coverage
  2. 5 How do I get code coverage? Logically: 1) Instrument

    your code 2) Run your code 3) Report on the results
  3. 14 Digression: BrowserSync When you change a backing static file,

    it live updates the page in the browser. Without a refresh.
  4. 16 What about code coverage? 1. Edit js files. 2.

    Code coverage run 3. index.html generated 4. BrowserSync refreshes 5. New code coverage displayed