0
我想驗證testng中@Test的「組」屬性的值。這基本上是爲了避免任何人爲錯誤。例如,如何確保如果測試具有組屬性,則其值必須僅來自已知列表。驗證testng組中的值屬性
在開始testng測試之前,可以驗證這個嗎?
我想驗證testng中@Test的「組」屬性的值。這基本上是爲了避免任何人爲錯誤。例如,如何確保如果測試具有組屬性,則其值必須僅來自已知列表。驗證testng組中的值屬性
在開始testng測試之前,可以驗證這個嗎?
期待通過IMethodInterceptor或IAnnotationTransformer接口 這裏是回答類似的問題 Is it possible to put a condition to TestNG to run the test if that is member of two groups?