-
Notifications
You must be signed in to change notification settings - Fork 16
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
Support for "given", "when" and so on #15
Comments
Thanks for your kind words! Unfortunately I've never used these tools, so I don't have any ideas on how acquit might surface these. How do you imagine the acquit output for |
I imagine that acquit can analyse the results of some functions (like
could be even the same as in the case of:
At this moment it is Of course having an access to the additional information about the context would be useful - eg.
But such rich approach is not required from my point of view. |
This would also be very useful for those of us using the mocha-steps plugin to split up deep nested callback tests into promise based steps. |
Hello,
first of all - thanks for the nice tool, which "acquit" is.
Let me notice that there exist some BDD extensions allowing to declare additional behavior of the tests - eg. "given" or "when" ( jasmine-rowtests or jasmine-given ). Currently acquit completely ignores such clauses eg.:
Though it nicely supports:
> parser.parse('describe("test", function() { for(i=1; i<10; i++) { it("bla", function() {} ); } }); ');
Would you like to add to acquit support for such cases ?
Kind regards,
The text was updated successfully, but these errors were encountered: