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

Implement error handling #55

Closed
janschaefer opened this issue Oct 1, 2016 · 4 comments
Closed

Implement error handling #55

janschaefer opened this issue Oct 1, 2016 · 4 comments
Milestone

Comments

@janschaefer
Copy link
Member

In particular, if one step method fails, the rest of the scenario should still appear in the report,

@flegall
Copy link
Member

flegall commented Oct 1, 2016

How is it implemented in JGiven ?

Is the scenario execution fully asynchronous ? This way you have the scenario plan already at startup from the DSL execution? Or is the rest of the scenario executed silently and the error is thrown at the end of the scenario execution ?

@flegall flegall added this to the v0.2.0 milestone Oct 1, 2016
@janschaefer
Copy link
Member Author

In JGiven it is the former one. Exceptions are caught and the scenario is continued by skipping the excecution of the method bodies. But as you already said in #12 recording seems to be the better approach for jsgiven.

@flegall
Copy link
Member

flegall commented Aug 13, 2017

Finally implemented on master, it will be available in 0.1.5 !

@flegall
Copy link
Member

flegall commented Aug 13, 2017

Implemented in 0.1.5 !

@flegall flegall closed this as completed Aug 13, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants