Create a nested structure to explicit the tests steps in AAA pattern #3105
marcopollivier
started this conversation in
Ideas
Replies: 2 comments 2 replies
-
That's not offered by AVA itself. There's https://www.npmjs.com/package/ava-describe which may still do what you want. I've thought about ways to build custom |
Beta Was this translation helpful? Give feedback.
0 replies
-
I liked this lib but my concern is about the last update. 6y-ago 😱 |
Beta Was this translation helpful? Give feedback.
2 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hi guys.
I'm starting to use Ava as my default testing framework, and a feature that I'm missing a lot is the possibility of separating my test steps (BDD-like).
I love to use AAA-pattern and define a specific and clear sentence for each step.
it helps a lot to design my tests and to find some errors during the development.
Is there a way to do it? If not, do you think makes sense to implement something like that?
A Jest example to illustrate it
Beta Was this translation helpful? Give feedback.
All reactions