MHeironimus / devup-2019

Contains example projects and other information from my talk "Lies, Damn Lies, and Code Coverage" given at the 2019 dev up conference in St. Louis, MO (St. Charles, MO).

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Lies, Damn Lies, and Code Coverage

Contains example projects and other information from my talk "Lies, Damn Lies, and Code Coverage" given at the 2019 dev up conference in St. Louis, MO (St. Charles, MO).

Example Projects

The following two TypeScript Node.js projects were used in the talk:

  • bowling-kata - A simple function that calculates the score of a bowling game given an array of pins knocked down per throw of the bowling ball.
  • project-estimator - A simple function that calculates the number of QA individuals a project should have based on the number of developers on the team.

Installing Dependencies

To install the dependencies for an example project from the command line, go to that project's folder and enter the following command:

npm install

Running Unit Tests

To run the unit tests for an example project from the command line, go to that project's folder and enter the following command:

npm run test

Running Unit Tests with Code Coverage

To run the unit tests with code coverage for an example project from the command line, go to that project's folder and enter the following command:

npm run test-coverage

Running Mutation Test Tool

To run the mutation test tool, Striker, for an example project from the command line, go to that project's folder and enter the following command:

npm run test-mutation

About

Contains example projects and other information from my talk "Lies, Damn Lies, and Code Coverage" given at the 2019 dev up conference in St. Louis, MO (St. Charles, MO).

License:MIT License


Languages

Language:TypeScript 77.8%Language:JavaScript 22.2%