org.junit.platform.engine.support.descriptor.EngineDescriptor Java Examples
The following examples show how to use
org.junit.platform.engine.support.descriptor.EngineDescriptor.
You can vote up the ones you like or vote down the ones you don't like,
and go to the original project or source file by following the links above each example. You may check out the related API usage on the sidebar.
Example #1
Source File: MyCustomEngine.java From mastering-junit5 with Apache License 2.0 | 5 votes |
@Override public TestDescriptor discover(EngineDiscoveryRequest discoveryRequest, UniqueId uniqueId) { // Discover test(s) and return a TestDescriptor object TestDescriptor testDescriptor = new EngineDescriptor(uniqueId, "My test"); return testDescriptor; }
Example #2
Source File: MyCustomEngine.java From Mastering-Software-Testing-with-JUnit-5 with MIT License | 5 votes |
@Override public TestDescriptor discover(EngineDiscoveryRequest discoveryRequest, UniqueId uniqueId) { // Discover test(s) and return a TestDescriptor object TestDescriptor testDescriptor = new EngineDescriptor(uniqueId, "My test"); return testDescriptor; }