abhilashSreenivasa / RollerJS

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Roller

Roller is a class that represents a game die and keeps track of the count of how many times each of its faces has been rolled. It is customizable so that the die can have 2 or more faces (as specified in the constructor).

Using Roller in container

First, Build the image: docker build -t testing-quiz .


Run tests with your latest code bound to the container:

docker run -v "$(pwd)/src":/sandbox/src -it testing-quiz

It will produce a coverage report at src/coverage/lcov-report/index.html


Run mutation tests:

docker run -v "$(pwd)/src":/sandbox/src -it testing-quiz npm run mutate

Mutation test report will be available at src/mutation/stryker.html

About


Languages

Language:HTML 97.4%Language:JavaScript 1.3%Language:CSS 0.8%Language:TypeScript 0.5%Language:Dockerfile 0.0%