Christoph Sturm
06/25/2024, 10:40 AMVampire
06/25/2024, 10:50 AMChristoph Sturm
06/25/2024, 10:52 AMChristoph Sturm
06/25/2024, 10:54 AMTestFramework?Vampire
06/25/2024, 10:59 AMwhat is a junit Platform BridgeNot an official term. I meant like vintage engine that can run JUnit 4 tests, or testng engine that can run TestNG tests. If your framework already is a JUnit 5 engine, forget that part. 🙂
can I implement my ownAs far as I know, no, only the built-in frameworks, but through having a JUnit platform engine, practically any framework is supported. What is it, that you do not like with using the platform integration??TestFramework
Christoph Sturm
06/25/2024, 11:02 AMChristoph Sturm
06/25/2024, 11:02 AMChristoph Sturm
06/25/2024, 11:04 AMVampire
06/25/2024, 11:08 AMTest task and runs a JUnit 5 platform that does not actually execute the tests, but just parses the result files of your custom task and reports the test results.Christoph Sturm
06/25/2024, 11:09 AMChristoph Sturm
06/25/2024, 11:11 AMVampire
06/25/2024, 11:12 AMTest and also want things like tasks.withType<Test>().confiugreEach { ... } to match it, you could of course also inherit from thatChristoph Sturm
06/25/2024, 11:14 AMTestVampire
06/25/2024, 11:25 AMTest without overwriting those methods, I'd guess it is ok, especially if that class does not have such a note. But this is really just educated guessing by me.Christoph Sturm
06/25/2024, 12:06 PMVampire
06/25/2024, 12:10 PMChristoph Sturm
06/25/2024, 12:17 PMVampire
06/25/2024, 12:18 PMChristoph Sturm
06/25/2024, 12:18 PMtasks.withType<Test>().confiugreEach { ... } without inhertiting from the test task implVampire
06/25/2024, 12:31 PMChristoph Sturm
06/25/2024, 8:03 PMopen I have seen that claim in some open source plugins but i can’t find docs that say it.Vampire
06/26/2024, 6:43 AM..._Decorated subclass where it did is magic. This also includes that all such classes automatically implement ExtensionAware even if not declared explicitly, which imho is reason enough to declare it explicitly, then someone wanting to use it does not need to cast unsafely. (Of course not for tasks, they already declare it, but for example for extensions and anything else Gradle instantiates for you.Vampire
06/26/2024, 6:49 AMChristoph Sturm
06/26/2024, 7:49 AM