Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Investigate Parallelizing Behat tests #900

Closed
aweingarten opened this issue Dec 30, 2016 · 1 comment
Closed

Investigate Parallelizing Behat tests #900

aweingarten opened this issue Dec 30, 2016 · 1 comment
Labels
Enhancement A feature or feature request

Comments

@aweingarten
Copy link
Contributor

Investigate running Behat tests in parallel. Travis containers have 2 cores. In theory we could run some tests in parallel.

1: Investigate if this is possible
2: See if there are real world performance benefits.

@grasmash grasmash added the Enhancement A feature or feature request label Jan 3, 2017
@grasmash
Copy link
Contributor

grasmash commented Jan 3, 2017

This seems like something that should be done per project, as needed. This is possible using Travis CI matrixes.

For example, add the following to .travis.yml:

env:
  - BEHAT_TAGS='javascript'
  - BEHAT_TAGS='~javascript'

script:
...
  - blt ci:build:validate:test -Dcreate_alias=false -Dbehat.run-server=true -Dbehat.launch-phantom=true -Dblt.verbose=true -Dbehat.tags="$BEHAT_TAGS"

This would execute two parallel builds on Travis CI, one for each value of $BEHAT_TAGS.

@grasmash grasmash closed this as completed Jan 5, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Enhancement A feature or feature request
Projects
None yet
Development

No branches or pull requests

2 participants