Skip to content
This repository has been archived by the owner on Jun 25, 2021. It is now read-only.

CharlesHGong/CMUCI-CD

Repository files navigation

Continuous Integration CircleCI

Continuous Integration and Deployment Recitation

Changelog

  1. Implementation of a bowling score card.
  2. Reference for Unit Testing lab for FSE Fall 2015 at CMU-SV.
  3. Updated for CircleCI Integration for FSE Spring 2018 at CMU-SV.
  4. Updated for CI/CD recitation for FSE Spring 2019 at CMU-SV.
  5. Updated for CI/CD recitation for FSE Fall 2019 at CMU-SV.
  6. Change the testing framework from Mocha to Jest for FSE Fall 2020 at CMU-SV.
  7. Add eslint and mongodb image for FSE Fall 2020 at CMU-SV.

Install

Install needed tools:

npm install

Tests results

npm run test

Coverage results

npm run coverage

The results with be in coverage/lcov-report/index.html

Coverage screenshot

CircleCI integration

  1. Link your account with CircleCI by following "Getting Started with CircleCI".
  2. After the account is linked, when you push changes to the repo CircleCI will run your tests and code coverage.
  3. You can see the results under Test Summary and Artifacts > Coverage.

Test Summary

Test summary screenshot

Artifacts > Coverage

Coverage screenshot

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published