You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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 ''testInvalidTransaction() '' in ''PendingStateTest.java''
But generating random data in test code is not a good test practice. Since Using randomized data may lead to unexpected unit test failure and once the test case fails, it is hard to trace what test data causes it.
Solution:
There are two solutions:
set a random seed number for your random generator
using a hash method to generate random data
The text was updated successfully, but these errors were encountered:
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 ''testInvalidTransaction() '' in ''PendingStateTest.java''
But generating random data in test code is not a good test practice. Since Using randomized data may lead to unexpected unit test failure and once the test case fails, it is hard to trace what test data causes it.
Solution:
There are two solutions:
The text was updated successfully, but these errors were encountered: