IntelliJ: rerun intermittently failing random test with previos run's data
问题 I have a JUnit test class with a number of tests. To increase scenario coverage some data in our tests is randomized, meaning it may take a range of values between individual test runs, for example: protected MonthlyAmountWithRemainder getMonetaryAmountMultipleOf(int multiplier) { BigDecimal monthly = randomBigDecimal(1000); BigDecimal multiply = new BigDecimal(multiplier); BigDecimal total = monthly.multiply(multiply); return new MonthlyAmountWithRemainder(total, monthly, ZERO); } Do you see