Pass metadata options to descibe() or it() blocks #15045
Unanswered
devhazem
asked this question in
Questions and Help
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
I would like to pass a describe() / it() block a metadata object, to store metadata regarding that suite or test. I would like to generate a JSON during or after execution containing this data. Child blocks (whether it() or describe()) should inherit their parent metadata as already happens with testcase names. I have tried to bind this library https://github.com/devhazem/mocha-test-options that works fine with mocha, but then the Cypress runner fails to execute the testcases.
Beta Was this translation helpful? Give feedback.
All reactions