We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents d5d9274 + db34b7e commit 9b93646Copy full SHA for 9b93646
1 file changed
RealTimeReport/src/report/realtime/datahandler/DataPreparator.java
@@ -161,10 +161,12 @@ synchronized public static List<ExMethodResultDTO> prepareExcludedTestMethod(ISu
161
List<ExMethodResultDTO> resultDTOs = new ArrayList<ExMethodResultDTO>();
162
ExMethodResultDTO dto;
163
for (ITestNGMethod iTestNGMethod : suite.getExcludedMethods()) {
164
- dto = new ExMethodResultDTO();
165
- dto.setDataProvider(getDataProvider(iTestNGMethod));
166
- dto.setExcludedMethod(iTestNGMethod.getMethodName());
167
- resultDTOs.add(dto);
+ if(iTestNGMethod.isTest()){
+ dto = new ExMethodResultDTO();
+ dto.setDataProvider(getDataProvider(iTestNGMethod));
+ dto.setExcludedMethod(iTestNGMethod.getMethodName());
168
+ resultDTOs.add(dto);
169
+ }
170
}
171
return resultDTOs;
172
0 commit comments