Open eduardbosch opened 6 years ago
Iโm afraid the easiest thing to say is this is unsupported. Itโs more of a Quick limitation where Quick makes the assumption a given test will never be run more than once in a process which is exactly what youโre seeing. That said if you could prepare a small example project showing the problem I can see if there is something injection can do.
Here there is a simple Quick test that crashes when a test is injected: https://github.com/eduardbosch/QuickInjectionCrash
Thanks @johnno1962 ๐๐ป
I first reported this problem to https://github.com/polac24/InjectionTDD/issues/11 but I copy it here as @polac24 told me it is the right place ๐๐ป
Hi,
Thanks for this lib. It looks promising, but when used with Quick tests, it crashes the second time the test is executed. Probably to the Quick test generation.
This is the log that explains that there was a problem creating the tests:
Would be great to use this with Quick ๐