To show off test tools and a CI chain in JavaScript.
Clone the repo and run the testsuite using a local environment or using Docker.
Install the development tools and execute the validation tools and the testsuite.
make install
make test
Code coverage report in HTML is available in build/coverage
.
Use docker-compose
to run the validation tools and the testsuite in one of several available Docker containers.
# node latest (alpine)
docker-compose run node_latest make check test
docker-compose run node_alpine make check test
# node v7 (alpine)
docker-compose run node_7 make check test
docker-compose run node_7_alpine make check test
# node v6 (alpine)
docker-compose run node_6 make check test
docker-compose run node_6_alpine make check test
.
..: Copyright (c) 2017 Mikael Roos, [email protected]