You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi. Thanks for submitting an issue and providing some info on your setup.This was also raised in #16.
I coincidentally implemented parametric tests (as I know this feature by) for another neotest adapter which required me to study the neotest-jest implementation so I now have some knowledge about how it works.
Usually, adapters will invoke the test runner (mocha in this case) to list all tests, including parametric tests so implementing this feature hinges on what data is output by the --dry-run option.
I'm currently on vacation and won't have access to a computer for a while but I'll have a go at this when I return. If you're up for it, you are welcome to submit a PR 🙂
@brianfiszman I'm back from vacation now and have played a bit around with the --dry-run option but it seems that it doesn't work as intended. Running either of the two commands on a small test repo just executes the tests as normal without listing them. It doesn't matter if I select the json reporter.
Hi! I'm trying to handle "Data Driven Tests", this is achieved by creating an array of test cases and iterate them for running them individually.
This is an example of that done using
Jest
andneotest-jest
adapter.I want to achieve the same result using mocha but I'm not being able to and my current job is forcing me to use Mocha. Could you add this feature?
Its also throwing me False Negatives.
Mocha's version is
10.7.3
Neovim Version
The text was updated successfully, but these errors were encountered: