Sign Up Now!

Sign up and get personalized intelligence briefing delivered daily.


Sign Up

Articles related to "unittest"


Circle CI Test Configuration for Angular Projects

  • One of the best ways to keep your project bug free is through a test suite, but it's easy to forget to run tests all the time.
  • Continuous integration (CI) servers let you set up your project repository so that your tests run on every commit and pull request.
  • Sign up for Circle CI and add your project.
  • A Circle CI config file has 3 main components; a version, a list of jobs and a list of workflows.
  • You may need a job to run only on specific branches or at specific times, or you want some of the jobs to run in parallel and some in sequence.
  • In this case, we want to run the test job when we commit to develop, staging or the master branch.
  • Add the workflow code snippet to the config.yml file, commit and push your changes.

save | comments | report | share on