-
Bug
-
Resolution: Unresolved
-
Critical
The test-class is having only one method for data driven framework.
@ParameterizedTest(name = "{1}")
@CsvFileSource(resources = "/inputs.csv", numLinesToSkip = 1, maxCharsPerColumn = 999999999)
@Test
void attributeTest(String ip, String type) {
if (type != null)
}
here, the @Test annotation is not used, this piece of code works in IDE, but while running in Jenkins it is not identifying it as a test method.
[INFO] -------------------------------------------------------
[INFO] T E S T S
[INFO] -------------------------------------------------------
[INFO]
[INFO] Results:
[INFO]
[INFO] Tests run: 0, Failures: 0, Errors: 0, Skipped: 0
[INFO]
[JENKINS] Recording test results