elvyssoares

Conditional Test Execution - Original

Dec 9th, 2021 (edited)
188
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Java 0.23 KB | None | 0 0
  1. @Test
  2. void returnsASetOfErrorsForAnObject() throws Exception {
  3.   if ("en".equals(Locale.getDefault().getLanguage())) {
  4.     ...
  5.     assertThat(errors)
  6.       .containsOnly("outOfRange must be between 10 and 30 MINUTES");
  7.   }
  8. }
Add Comment
Please, Sign In to add comment