You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This issue addresses that the project uses the Junit assert in their kotlin test but they want to upgrade
22
+
it to use appropriate AssertThat which comes from the (hamcrest dependency). The project has a lot of
23
+
test cases, roughly 1500 to be exact, which means that to make this work many test cases has to be
22
24
rewritten.
23
25
24
-
The way we plan to do this is that we divide the work so that each person takes a separate folder of
25
-
closely related test and convert the test cases to use assertThat instead. The result of the test
26
-
cases should not change a they should still succeed after the changethis is the only requirement and
27
-
that the new test uses assertThat.
26
+
The way we plan to do this is by using `grep` and pattern matching to change the common assert patterns. This will minimize the amout of manual work, though some will still need to be done for less common patterns.
27
+
28
+
The result of the test cases should not change a they should still succeed after the change, and this is the only
29
+
requirement in addition to changing the tests to assertThat.
28
30
29
-
the team should use the following [link](https://hamcrest.org/JavaHamcrest/tutorial) to use get more
30
-
familiar with assertThat
31
+
Guide to assertThat [link](https://hamcrest.org/JavaHamcrest/tutorial)
0 commit comments