Skip to content
This repository has been archived by the owner on Mar 13, 2024. It is now read-only.

Add tests discovered at runtime to test hierarchy #53

Closed
rossknudsen opened this issue May 4, 2020 · 1 comment · Fixed by #68
Closed

Add tests discovered at runtime to test hierarchy #53

rossknudsen opened this issue May 4, 2020 · 1 comment · Fixed by #68

Comments

@rossknudsen
Copy link

Some tests cannot be discovered at parse time. This could be due to limitations of the parser or because the tests are produced dynamically as the test file executes. The host extension allows us to add suites and tests at test execution time by including them in the suite event.

It may be challenging to handle the ids, labels and line numbers for these tests.

Affects #48 #44 and #43

@patroza
Copy link

patroza commented May 27, 2020

This would be great. we're trying to use the test explorer with matechs effects Jest test framework;
https://github.com/Matechs-Garage/matechs-effect/blob/master/packages/test-jest/test/root.test.ts

which doesn't define the usual describe/it/test in the test files. Wallaby picks up on them, but not the test adapter.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants