Commit Graph

27 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
sampadawagde
150dbd10e7 JAVA-9022: Fix formatting of POMs 2022-01-10 22:05:47 +05:30
chaos2418
fcd8ed7c4f JAVA-8267: updating testing-modules's junit and surefire configurations 2021-11-04 16:56:08 +05:30
Dhawal Kapil
5f9befd0c4 Java 3590 (#11367) (#11380)
* Java 3590 (#11367)

* JAVA-3590: updating junit-jupiter dependency in the main pom.xml

* resolving unnecessary mockito stubbings exception

* adding junit-bom in dependency management

* fixing tests which were not getting discovered

* Revert "fixing tests which were not getting discovered"

This reverts commit 2e9ed8df42.

* fixing tests in ninja, open-liberty and spring-ejb

* removing junit4 dependency and replacing it with junit-vintage-engine

* removing junit4 dependency and replacing it with junit-vintage-engine in testing-modules, maven-modules and aws-lambda

* removing junit dependency and replacing it with junit-vintage-engine

* removing junit and replacing it with junit-vintage-engine

* fixing tests that were not getting discovered due to old version of junit:junit

* updated failsafe plugin configuration to skip integration tests in blade

* fixing tests that were not getting discovered due to old version of junit:junit

* fixing tests in libraries and libraries-2 modules

Co-authored-by: chaos2418 <>

* Java 3590 - fixing integration tests in restx and spring-5-webflux (#11382)

* JAVA-3590: updating junit-jupiter dependency in the main pom.xml

* resolving unnecessary mockito stubbings exception

* adding junit-bom in dependency management

* fixing tests which were not getting discovered

* Revert "fixing tests which were not getting discovered"

This reverts commit 2e9ed8df42.

* fixing tests in ninja, open-liberty and spring-ejb

* removing junit4 dependency and replacing it with junit-vintage-engine

* removing junit4 dependency and replacing it with junit-vintage-engine in testing-modules, maven-modules and aws-lambda

* removing junit dependency and replacing it with junit-vintage-engine

* removing junit and replacing it with junit-vintage-engine

* fixing tests that were not getting discovered due to old version of junit:junit

* updated failsafe plugin configuration to skip integration tests in blade

* fixing tests that were not getting discovered due to old version of junit:junit

* fixing tests in libraries and libraries-2 modules

* fixing integration tests in restx and spring-5-webflux

Co-authored-by: chaos2418 <>

Co-authored-by: chaos2418 <92030908+chaos2418@users.noreply.github.com>
2021-10-29 09:37:04 +05:30
sampadawagde
bbc0f4f86f JAVA-5223: Fix formatting of POMs (Testing Modules) 2021-05-17 20:23:43 +05:30
Krzysztof Woyke
333ffc771b JAVA-3596: Clean up exec-maven-plugin config 2021-04-02 15:43:27 +02:00
Krzysztof Woyke
232d9bcd05 JAVA-4931: Cleanup surefire config 2021-03-29 15:22:10 +02:00
johnA1331
f3474da059 Update README.md 2020-03-23 18:32:12 +08:00
Krzysztof Woyke
262ae155f3 BAEL-19988: Rename org.baeldung package to com.baeldung package 2019-12-19 11:55:26 +01:00
catalin-burcea
2f7e94bc92 [BAEL-18783] - Fix formatting of POMs 2019-12-06 11:40:56 +02:00
catalin-burcea
c138b81fa4 Split or move testing-modules/junit-5 module - update readmes 2019-10-03 10:57:18 +03:00
Catalin Burcea
160fd28fdd Split or move testing-modules/junit-5 module (#7879) 2019-10-02 21:33:18 -06:00
Loredana Crusoveanu
980b18f438 Create README.md 2019-07-17 11:30:29 +03:00
Ali Dehghani
7fa34da4eb Fixed the failed compilation. 2019-05-13 18:36:23 +04:30
charlesgonzales
e681a5447a Delete README.md 2019-03-14 03:44:44 +08:00
amit2103
97f8a0c46c [BAEL-12091] - Fix formatting of POMs 2019-02-10 01:47:19 +05:30
Dhawal Kapil
e7485a1813 Task/bael 8020 (#4919)
* BAEL-8020 Fix surefire configs of spring-5 projects

-Removed surefire configurations from spring-5 projects

* BAEL-8020 Fix surefire configs of spring-5 projects

-Fixed surefire and junit configuration of spring-5-** projects
-Fixed mavensurefire plugin to execute JUnit5 tests BAEL-8125

* BAEL-8020 Fix sure fire configs in spring5 project

-Fixed dependency for junit-5

* BAEL-8020 Fix sure fire configs in spring5 project

-Fixed dependency for junit5-migration

* BAEL-8020 Fix surefire configs

-Updated maven war plugin to 3.0.0

* BAEL-8020 Fix surefire configs

-Upgraded surefire custom logger api version to 2.21.0 for all child projects

* BAEL-8020

-Deleted empty test SpringBootMvcApplicationTests.java in spring-boot-mvc.
-Renamed SpringBootMvcApplicationTests.java correct in spring-boot-vue

* BAEL-8020 Fix surfire configs

-Added junit vintage dependency to run junit4 tests
2018-08-09 19:13:44 +03:00
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