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

Multiple assertions per test #37

Closed
edouard-lopez opened this issue Jan 31, 2019 · 1 comment
Closed

Multiple assertions per test #37

edouard-lopez opened this issue Jan 31, 2019 · 1 comment

Comments

@edouard-lopez
Copy link
Contributor

Sorry to open an issue but #33 is locked, I can't comment there.

I've been playing with PowerShell and it's test framework Pester:

The convention is to assert a single expectation for each It block.

Adding support for multiple assertions might not be worth the time and complexity it will add. Sure it can be annoying when you repeat context between tests but does it happens that often?

@jorgebucaran
Copy link
Owner

jorgebucaran commented Feb 1, 2019

@edouard-lopez I'm still experimenting, we'll see. I'll check Pester.

I'm tracking everything related to Fishtape 2 in #31. You can write your feedback there.

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