Testing: Automation

How to make testing an automatic part of your process

The best way to ensure that testing becomes a part of your process is to automate it.

One way of automating this is to ensure that each time you commit code to your project, an entire suite of tests is run automatically.

There is a buzzword for that approach: it’s called continuous integration.

The process of ensuring that your code base stays sane is sometimes called “keeping the build green” as described in this article:

Travis-CI

An easy way to get started with continuous integration is with Travis-CI.

Language/Platform Link to Travis-CI documentation
Android https://docs.travis-ci.com/user/languages/android/
C https://docs.travis-ci.com/user/languages/c/
C++ https://docs.travis-ci.com/user/languages/cpp/
Java https://docs.travis-ci.com/user/languages/java/
JavaScript with node.js https://docs.travis-ci.com/user/languages/javascript-with-nodejs/
Python https://docs.travis-ci.com/user/languages/python/
Ruby https://docs.travis-ci.com/user/languages/ruby/

There are many more; this is only a partial list. Visit https://docs.travis-ci.com/user/languages for the full list.

More on Travis-CI

Alternatives to Travis-CI

Related topics: