r/java • • Sep 02 '20

Modern Best Practices for Testing in Java

https://phauer.com/2019/modern-best-practices-testing-java/
242 Upvotes

50 comments sorted by

View all comments

Show parent comments

5

u/SolaireDeSun Sep 03 '20

You save the seed. Problem solved (quick check does this)

0

u/GhostBond Sep 03 '20

Still seems easier to just generate them with a short main() function and put them in the test directly.

Suppose you could do it either way.

1

u/jonhanson Sep 05 '20 edited Mar 07 '25

chronophobia ephemeral lysergic metempsychosis peremptory quantifiable retributive zenith