TestSmell
TestSmell
Hi! I notice that in your test code, you try to use reflection to assess and test the private method. For example, the test methods named ''public void testSQLString()' in...
Hi! We notice that the random number generator (RNG) is used to produce test code in your project. For example, a random generator in the test method named ''testTimesWithSparseVectorPerformance() ''...
Hi! I notice that in your test code, you try to use reflection to assess and test the private method. For example, 1. the test method named ''readJsonForHideItemTest()' in ''JsonReaderTest.java''...
Hi! We notice that the random number generator (RNG) is used to produce test code in your project. For example, a random generator in the test method named ''concurrentScopeAdditionsAndRemovals_shouldNotCrash()'' in...
Hi! I notice that in your test code, you try to use reflection to assess and test the private method. For example, the fixture method named ''readSaturnJobReturn()'' in '''JsonParseObjectTest.java'' uses...
Hi! description: Referring to the API document of ''org.junit.Test'' , the correct API of ''AssertEquals'' is ''assertEquals(Object expected, Object actual)''. However, we detect that some assertions in your test code...
Hi! Description: we detect that some assertions in your test code have the wrong parameter orders. For example, the test case named ''testPathParams()'' in ''DefaultUriMatcherTest.java'' writes the ''assertEquals'' assertion as...
Hi! I notice that in your test code, you try to use reflection to assess and test the private method. For example, the test methods named ''checkTime1-17()' in ''JSONScannerTest.java'' uses...
Hi! We notice that you use the loop structure in your test cases. For example, testQualityScoresIntArray() in FastqToolsTest.java However, using the loop in test cases is not a good test...
Hi! Description: we detect that some assertions in your test code have the wrong parameter orders. For example, the test case named ''testExternalIdentifier()'' in ''SecurityTest.java'' wrties the ''assertEquals'' as ...