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

Make separate steps default behaviour #49

Open
albertjan opened this issue Aug 29, 2017 · 1 comment
Open

Make separate steps default behaviour #49

albertjan opened this issue Aug 29, 2017 · 1 comment

Comments

@albertjan
Copy link
Collaborator

Coming back to this after a few months the default behaviour for the mocha test runner to do all the steps in one test seems a bit awkward. I suggest we make separateSteps: true the default behaviour.

@adamjmcgrath what do you think.

@adamjmcgrath
Copy link
Contributor

TBH am thinking of reverting back to separateSteps: false on our app, because tests timing out while your debugging steps can be a nuisance. eg.

Step A
Step B // Paused on breakpoint for > 5 secs (mocha timeout)
Step C // test times out and fails before this step is run

Rather than:

Step A, Step B, Step C // spend as long as you like on a breakpoint on Step B, you can still jump into Step C without the test stopping.

This might be a poorly configured mocha thing though, separateSteps: true does look nicer 😄

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

No branches or pull requests

2 participants