hamcrest / JavaHamcrest

Java (and original) version of Hamcrest
http://hamcrest.org/
BSD 3-Clause "New" or "Revised" License
2.11k stars 379 forks source link

AssumptionViolatedException is not serializable #210

Open BrynCooke opened 6 years ago

BrynCooke commented 6 years ago

When using hamcrest via remote junit runners there may be issues because AssumptionViolatedException stores fields that may not be serializable.

If the the message was created in the constructor rather than in getMessage then this could be avoided.

brownian-motion commented 4 years ago

Hi @BrynCooke , that does seem like a significant barrier to running tests remotely. That class is part of the junit repository - would you please consider opening this issue there instead?

https://github.com/junit-team/junit5/