Skip to content

mihard/behat-parallel-runner

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Behat parallel runner Build Status

What is it?

It is a simple launcher of behat tests, which allow:

  • to run each test in a separate process
  • to run several test in parallel

How to use

  • Put the executable file into the root of testable project (on the same level with vendor directory)
  • Run following command
$ bpr -workers 2 -behat ./bin/behat -- -s my_suite

where bpr is the name of executable file and after -- can be any regular behat arguments.

The executable binary you can find on the releases page.

How to build

  • Clone the repository
  • Run following command
$ cd <clonned project root>
$ GOPATH=<clonned project root> go build -i "-ldflags=-linkmode internal" -o ./build/bpr github.com/mihard/behat-parallel-runner
  • Build on OSX machine for linux
$ env GOOS=linux GOARCH=amd64 GOPATH=<clonned project root> go build -i "-ldflags=-linkmode internal" -o ./build/bpr github.com/mihard/behat-parallel-runner

About

No description or website provided.

Topics

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages