I wrote a lot of tests and know I must spend approximately one hour on it. And also I have another little problem is I use selenide for tests and sometimes some parts of them can crash.
I configure JUnit 5 for parallel execute tests and it's work nicely but I also have a problem sometimes test failed but they passed if rerun them.
I've found two libraries (rerunner-jupiter, junit-pioneer) but they don't start tests parallel. Also, I found a way with custom TestTemplateInvocationContextProvider but use @ExtendWith(SpringExtension.class) because of Spring.
Are there ready-made solutions for solving this problem? p.s. I know that the best way it's debugging with frontend developer but unfortunately, I don't have this opportunity.
Aucun commentaire:
Enregistrer un commentaire