testng-team/testng
Test Smell: it is not a good practice to write a return statement in the test case
オープン
#2,797 opened on 2022/08/29
good first issuelogging
Repository metrics
- Stars
- (2,059 個のスター)
- PR merge metrics
- (平均マージ 17h 43m) (30d で 7 merged PRs)
説明
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.