testng-team/testng
Test Smell: it is not a good practice to write a return statement in the test case
Aperta
#2797 aperta il 29 ago 2022
good first issuelogging
Metriche repository
- Star
- (2059 stelle)
- Metriche merge PR
- (Merge medio 17h 43m) (7 PR mergiate in 30 g)
Descrizione
Hi! I notice that you write a test case with a return statement. For example,
It is not a good idea to write the return statement in your test case based on the definition of the test case. So I would like to know if is it really a useful test case? And no assertion is in this test case. Maybe I think you should remove this test case from your test code. Thanks.