Skip to content

derniercri/erl-test-runner

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

13 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

#erl-test-runner erl-test-runner is a minimalist test runner for Erlang with easily travis integration.

Installation

  • git clone https://github.com/derniercri/erl-travis-bootstrap
  • cd erl-travis-bootstrap
  • make
  • make install

You can use the script install-dependencies.sh in your .travis.yml to install erl-test-runner on the travis's VM

Launching the test-runner

Run the command /usr/lib/erl-test-runner/erl-test-runner TEST_BIN MODULES where TEST_BIN is the path to your .beam test modules and MODULES is your test's modules names separated with blanks spaces.

Example : /usr/lib/erl-test-runner/erl-test-runner ./ebin test1 test2 test3

Travis usage

  • copy the script folder travis which contains the installation script install-dependencies.sh at your root's project and add the following line to your .travis.yml install: ./travis/install-dependencies.sh
  • in your Makefile add a rule named test which will launch the test-runner (see the previous section)

use example

You can see a use's example at https://github.com/derniercri/erl-test-runner-example

About

An opinionated and minimalist test runner for Erlang

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published