Commit Graph

42 Commits

Author SHA1 Message Date
Haroon Khan
f226f7dc63 [JAVA-15774] Update JUnit code 2022-11-26 22:21:37 +00:00
Loredana Crusoveanu
3c409920ff 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
d94cd0351a Merge pull request #12105 from Alex-Golub/study/assert-exception
JUnit5 conventions + code rearrangement
2022-05-27 21:18:24 +03:00
Loredana Crusoveanu
60674f2b14 Merge branch 'master' into study/junit5-intro 2022-05-27 21:16:59 +03:00
sampadawagde
aeeedb6fe6 JAVA-11792: Fix formatting of POMs 2022-05-08 16:36:25 +05:30
anuragkumawat
b74c2f1db4 JAVA-11775 Remove usage of deprecated JUnitPlatform.class in junit-5-basics module 2022-04-30 14:09:10 +05:30
Alex Golub
ebec80562c Method name typo 2022-04-21 10:30:44 +03:00
Alex Golub
cb11de0f0c Delete redundant curly braces when using single lambda statement 2022-04-21 10:30:28 +03:00
Alex Golub
79d31ebc1d JUnit5 test classes and methods should have default package visibility 2022-04-21 10:29:26 +03:00
Alex Golub
4b3b447695 Method name typo 2022-04-20 14:51:58 +03:00
Alex Golub
488631d4ba Statement lambda can be replaced with expression lambda 2022-04-20 14:51:58 +03:00
Alex Golub
a538beb16c Assertion arguments should be passed in the correct order 2022-04-20 14:51:58 +03:00
Alex Golub
429a713811 JUnit5 test classes and methods should have default package visibility 2022-04-20 14:51:58 +03:00
Alex Golub
c6ef576ef3 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
8bafc81847 Use the default package visibility and optimize imports 2022-04-20 13:50:30 +03:00
sampadawagde
150dbd10e7 JAVA-9022: Fix formatting of POMs 2022-01-10 22:05:47 +05:30
kwoyke
964d1fd161 Merge branch 'master' into JAVA-3592 2021-11-25 09:03:54 +01:00
sampadawagde
18d9b86fe2 Fix integration build 2021-11-24 09:06:52 +05:30
chaos2418
a62c0f3c8b JAVA-8405: reducing logging for tutorials-build-job 2021-11-19 13:39:00 +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
freelansam
23fec3d8a7 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
bbc0f4f86f JAVA-5223: Fix formatting of POMs (Testing Modules) 2021-05-17 20:23:43 +05:30
Krzysztof Woyke
232d9bcd05 JAVA-4931: Cleanup surefire config 2021-03-29 15:22:10 +02:00
Krzysztof Woyke
9b0b08425a Rename finalize methods 2020-12-22 21:27:18 +01:00
Eric Martin
cb17175fbe Merge pull request #8332 from Maiklins/BAEL-3586
BAEL-3586
2019-12-13 21:35:30 -06:00
mikr
d8d424adb3 http://jira.baeldung.com/browse/BAEL-3586 2019-12-08 19:22:06 +01:00
catalin-burcea
2f7e94bc92 [BAEL-18783] - Fix formatting of POMs 2019-12-06 11:40:56 +02:00
amit2103
d97b074239 [BAEL-17317] - Check article code - https://www.baeldung.com/junit-before-beforeclass-beforeeach-beforeall 2019-11-02 16:15:38 +05:30
Dhawal Kapil
7da66ebd84 BAEL-16977 Week 38 | go through the integration test results and see what NEW failing tests we have (#7837)
- Minor fixes for integration tests
2019-09-23 17:15:10 +03:00
Dhawal Kapil
ac96aca6f8 BAEL-17342 Slice 9 | The top 100 articles should have their own packa… (#7671)
* BAEL-17342 Slice 9 | The top 100 articles should have their own package in the module

* BAEL-17342 Slice 9 | The top 100 articles should have their own package in the module

-Updated for junit-assert-exception
2019-08-31 13:28:28 -06:00
collaboratewithakash
5cc5966346 Back-link added 2019-08-13 17:25:43 +05:30
Paul Latzelsperger
8f5bb3c6a9 Bael 3082 (#7446)
* added example code for BAEL-3082

* added another test case, refactored method names

* moved to basics module
2019-07-29 22:38:42 +02:00
Loredana Crusoveanu
d7fb226f30 Update README.md 2019-07-15 15:23:51 +03:00
Loredana Crusoveanu
9572af2804 Merge pull request #7298 from amit2103/BAEL-12826
[BAEL-12826] - Let's break the junit-5 module
2019-07-15 15:19:59 +03:00
amit2103
f4a0913e79 [BAEL-15942] - POM Properties Cleanup 2019-07-14 18:40:26 +05:30
amit2103
f021581f3c [BAEL-12826] - Let's break the junit-5 module 2019-07-13 12:27:26 +05:30
collaboratewithakash
8b7ad99af9 Back-link added 2019-07-03 12:06:59 +05:30
Jon Cook
bcfd520643 BAEL-2913 - TempDir Support 2019-06-12 18:25:28 +02:00
Jon Cook
2d6aeee195 BAEL-2913 - TempDir Support 2019-06-04 19:27:52 +02:00
Loredana Crusoveanu
b0c8a84732 Update README.md 2019-05-24 22:06:10 +03:00
Loredana
e877597d9d rename junit module 2019-05-11 09:30:45 +03:00