* feat: add ignored tests and update run from java
* Revert "feat: add ignored tests and update run from java"
This reverts commit 0a56fa4bf9.
* add ignore package
* fix: remove abstract from rename and ignore
* fix: removes run with and add missing tests
This commit is contained in:
@@ -0,0 +1,8 @@
|
||||
package com.baeldung.ignore;
|
||||
|
||||
public abstract class BaseUnitTest {
|
||||
|
||||
public void helperMethod() {
|
||||
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,8 @@
|
||||
package com.baeldung.ignore;
|
||||
|
||||
public class BaseUnitTestHelper {
|
||||
|
||||
public void helperMethod() {
|
||||
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,11 @@
|
||||
package com.baeldung.ignore;
|
||||
|
||||
import org.junit.Test;
|
||||
|
||||
public class ExtendedBaseUnitTest extends BaseUnitTest {
|
||||
|
||||
@Test
|
||||
public void whenDoTest_thenAssert() {
|
||||
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,13 @@
|
||||
package com.baeldung.ignore;
|
||||
|
||||
import org.junit.Ignore;
|
||||
import org.junit.Test;
|
||||
|
||||
@Ignore("Class not ready for tests")
|
||||
public class IgnoreClassUnitTest {
|
||||
|
||||
@Test
|
||||
public void whenDoTest_thenAssert() {
|
||||
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,13 @@
|
||||
package com.baeldung.ignore;
|
||||
|
||||
import org.junit.Ignore;
|
||||
import org.junit.Test;
|
||||
|
||||
public class IgnoreMethodUnitTest {
|
||||
|
||||
@Ignore("This test method not ready yet")
|
||||
@Test
|
||||
public void whenMethodIsIgnored_thenTestsDoNotRun() {
|
||||
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user