Commit Graph

29 Commits

Author SHA1 Message Date
Loredana Crusoveanu 98d8db1b11 Merge pull request #12100 from Alex-Golub/study/junit5-intro
JUnit5 writing test conventions, reformatting and import optimization
2022-05-27 21:21:51 +03:00
Loredana Crusoveanu f1dfbfe5b8 Merge pull request #12105 from Alex-Golub/study/assert-exception
JUnit5 conventions + code rearrangement
2022-05-27 21:18:24 +03:00
Loredana Crusoveanu 89f51ac391 Merge branch 'master' into study/junit5-intro 2022-05-27 21:16:59 +03:00
sampadawagde aed8f9100b JAVA-11792: Fix formatting of POMs 2022-05-08 16:36:25 +05:30
anuragkumawat a9eba4ed49 JAVA-11775 Remove usage of deprecated JUnitPlatform.class in junit-5-basics module 2022-04-30 14:09:10 +05:30
Alex Golub 95aff67d58 Method name typo 2022-04-21 10:30:44 +03:00
Alex Golub 0af6112abf Delete redundant curly braces when using single lambda statement 2022-04-21 10:30:28 +03:00
Alex Golub f1801bbd6f JUnit5 test classes and methods should have default package visibility 2022-04-21 10:29:26 +03:00
Alex Golub 7ef7265dce Method name typo 2022-04-20 14:51:58 +03:00
Alex Golub 37b5df83c5 Statement lambda can be replaced with expression lambda 2022-04-20 14:51:58 +03:00
Alex Golub 2327a11eca Assertion arguments should be passed in the correct order 2022-04-20 14:51:58 +03:00
Alex Golub efaf789e71 JUnit5 test classes and methods should have default package visibility 2022-04-20 14:51:58 +03:00
Alex Golub d722c0d1d1 Reformat
Put each assertion on separate line to improve readability
Explain why test is marked @Disabled
2022-04-20 13:57:15 +03:00
Alex Golub 73e2047689 Use the default package visibility and optimize imports 2022-04-20 13:50:30 +03:00
sampadawagde 65f643262d JAVA-9022: Fix formatting of POMs 2022-01-10 22:05:47 +05:30
kwoyke c0a0247cf7 Merge branch 'master' into JAVA-3592 2021-11-25 09:03:54 +01:00
sampadawagde 2d142da809 Fix integration build 2021-11-24 09:06:52 +05:30
chaos2418 58e6087b3d JAVA-8405: reducing logging for tutorials-build-job 2021-11-19 13:39:00 +05:30
chaos2418 af4b37592b JAVA-8267: updating testing-modules's junit and surefire configurations 2021-11-04 16:56:08 +05:30
Dhawal Kapil 1ab0a19d25 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 2e9ed8df42eb96f7e0929167aabbc2ddd374a263.

* 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 2e9ed8df42eb96f7e0929167aabbc2ddd374a263.

* 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
freelansam fe7d2af8c0 JAVA-7178: Fix formatting of POMs (#11236)
* JAVA-7178: Fix formatting of POMs

* JAVA-7178: fix failing build
2021-09-20 00:04:26 +05:30
sampadawagde d9db0949cb JAVA-5223: Fix formatting of POMs (Testing Modules) 2021-05-17 20:23:43 +05:30
Krzysztof Woyke 089da70fb0 JAVA-4931: Cleanup surefire config 2021-03-29 15:22:10 +02:00
Krzysztof Woyke e5bb567405 Rename finalize methods 2020-12-22 21:27:18 +01:00
Eric Martin 0e70140e25 Merge pull request #8332 from Maiklins/BAEL-3586
BAEL-3586
2019-12-13 21:35:30 -06:00
mikr ff77450cee http://jira.baeldung.com/browse/BAEL-3586 2019-12-08 19:22:06 +01:00
catalin-burcea 153a3923f0 [BAEL-18783] - Fix formatting of POMs 2019-12-06 11:40:56 +02:00
amit2103 c0bab017f9 [BAEL-17317] - Check article code - https://www.baeldung.com/junit-before-beforeclass-beforeeach-beforeall 2019-11-02 16:15:38 +05:30
Eric Martin 3225470df5 Merge pull request #8125 from eugenp/revert-8119-BAEL-3275-2
Revert "BAEL-3275: Using blocking queue for pub-sub"
2019-10-31 20:43:47 -05:00