Commit Graph

14 Commits

Author SHA1 Message Date
Loredana Crusoveanu
a037e8008e Update ConditionalExecutionUnitTest.java 2022-06-01 16:34:10 +03:00
Loredana Crusoveanu
080d38525e Merge pull request #12106 from Alex-Golub/study/junit4vs5
Assertions in JUnit 4 and JUnit 5 suggestions
2022-05-27 21:21:16 +03:00
anuragkumawat
3fb782e9c6 JAVA-11777 Remove usage of deprecated JUnitPlatform.class in junit5-migration module 2022-04-30 22:18:43 +05:30
Alex Golub
4342e78377 Simplify to assertNull(Object, String) 2022-04-21 11:50:34 +03:00
Alex Golub
afe41ad0da Add an explanation about why this test is skipped as value of @Disabled 2022-04-21 11:50:34 +03:00
Alex Golub
019df79222 Typos 2022-04-21 11:50:33 +03:00
Alex Golub
69bf5c8017 Explicitly create Supplier<String> to demonstrate use of assertNull(Object, Supplier<String>) method 2022-04-21 11:26:51 +03:00
Alex Golub
3057730a4d Code reformat 2022-04-21 11:07:21 +03:00
Alex Golub
182e938651 JUnit5 test classes and methods should have default package visibility 2022-04-21 11:06:23 +03:00
Alex Golub
34030c810a assertThat(T, Matcher<? super T>) Deprecated. Use org.hamcrest.MatcherAssert.assertThat() 2022-04-21 11:05:26 +03:00
Krzysztof Woyke
262ae155f3 BAEL-19988: Rename org.baeldung package to com.baeldung package 2019-12-19 11:55:26 +01:00
Catalin Burcea
160fd28fdd Split or move testing-modules/junit-5 module (#7879) 2019-10-02 21:33:18 -06:00
Ali Dehghani
7fa34da4eb Fixed the failed compilation. 2019-05-13 18:36:23 +04:30
Carlo Corti
b7355cbab0 BAEL-1843 - JUnit4 -> JUnit5 migration guide (#4816)
* Added code for the migration from JUnit 4 to JUnit 5

* Add example for Rule migration support

* Add fix to access modifiers to test methods

* Remove wrong header

* Add junit5-migration module and its code snippets

* Add module configuration to pom

* Remove test classes that were added for the migration from JUnit 4 to JUnit 5 article (moved under correct module)
2018-08-06 23:38:54 +02:00