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

Added async 'none' option to run all tests in a single casperjs command, and minor updates for casperjs 1.x #40

Open
wants to merge 3 commits into
base: master
Choose a base branch
from

Conversation

cuperman
Copy link

@cuperman cuperman commented Nov 7, 2013

Since this plugin executes each test file in a separate casperjs command, some of the command options aren't very useful. For example, the xunit option allows all results to be logged to an xml file for integration with CI servers, but this file is overwritten with the results of the last executed test.

This new option async: 'none' allows all tests to be executed in a single casperjs command. Using the same example, all test results would be included in the xml file when using the xunit option.

This is backwards compatible in two ways:

  • By default, tests are run using async series
  • The old option format is still supported: { async: { parallel: true } }

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant