Commit Graph

677 Commits

Author SHA1 Message Date
Haroon Khan
6d5ae33f5b [JAVA-8355] Move article code to spring-testing-2 module 2021-11-25 19:51:32 +00:00
kwoyke
97cce4d5e3 Merge pull request #11506 from eugenp/JAVA-3592
JAVA-3592: Upgrade h2 dependency in the main pom.xml
2021-11-25 13:31:47 +01:00
kwoyke
964d1fd161 Merge branch 'master' into JAVA-3592 2021-11-25 09:03:54 +01:00
kwoyke
0ba2f322ce Merge pull request #11497 from freelansam/JAVA-3592
Fix integration build
2021-11-24 19:27:30 +01:00
Krzysiek
15a103b4f8 JAVA-8667: Remove hamcrest dependency declarations from the child modules 2021-11-24 13:20:20 +01:00
johnA1331
d7a99fe9aa Update README.md 2021-11-24 14:23:37 +08:00
sampadawagde
18d9b86fe2 Fix integration build 2021-11-24 09:06:52 +05:30
kwoyke
2c3a18da18 Merge pull request #11468 from chaos2418/JAVA-8405
JAVA-8405: reducing logging for tutorials-build-job
2021-11-23 13:43:19 +01:00
kwoyke
566c5e5b44 BAEL-5242: Add surefire config for TestNG (#11471)
* BAEL-5242: Add surefire config for TestNG

* BAEL-5242: Configure surefire to run unit and integration tests
2021-11-23 08:26:31 +03:00
davidmartinezbarua
6d1defcb1b Merge pull request #11413 from Trixi-Turny/BAEL-5209-assert-type-of-object
BAEL-5209 example with JUnit5, Hamcrest and AssertJ
2021-11-22 16:11:16 -03:00
kwoyke
c9b9593d4b Merge pull request #11477 from freelansam/JAVA-3592
JAVA-3592: Upgrade h2 dependency in the main pom.xml
2021-11-22 09:22:17 +01:00
sampadawagde
629d093fd4 JAVA-3592: Upgrade h2 dependency in the main pom.xml 2021-11-19 23:17:22 +05:30
Loredana Crusoveanu
a0dbe854b7 Merge pull request #11470 from kwoyke/JAVA-8436
JAVA-8436: Manage AssertJ dependency in the main pom.xml
2021-11-19 16:56:22 +02:00
Loredana Crusoveanu
b559c5834f Merge pull request #11401 from azhwani/BAEL-5113
BAEL-5113: Improve the Test Order Article
2021-11-19 16:41:28 +02:00
Azhwani
fd2ae3452e + Remove junit versions to use those of the main pom 2021-11-19 12:48:29 +01:00
chaos2418
a62c0f3c8b JAVA-8405: reducing logging for tutorials-build-job 2021-11-19 13:39:00 +05:30
Krzysiek
662d474478 JAVA-8436: Upgrade AssertJ Guava to 3.4.0 2021-11-18 23:17:00 +01:00
Krzysiek
cc76ff3464 JAVA-8436: Fix unit tests in assertion-libraries 2021-11-18 19:29:30 +01:00
Krzysiek
ce43aac971 JAVA-8436: Remove AssertJ depenendency from the child modules - part 1 2021-11-18 10:36:49 +01:00
johnA1331
bbb18bea71 Update README.md 2021-11-18 01:09:16 +08:00
Krzysiek
15a50b8fe2 JAVA-7783: POM properties cleanup 2021-11-16 11:25:14 +01:00
lucaCambi77
4ca8e7ef23 [BAEL-5211] - How to test a Java Optional (#11417)
* feat: add how to test an optional

* fix: review comments

* fix: static final naming convention

* fix: optional equals assertion
2021-11-14 10:09:48 +00:00
Trixi Turny
124385e952 BAEL-5209 add to modules sdk9 and above 2021-11-10 09:38:31 +00:00
freelansam
2dd519f647 Merge branch 'master' into JAVA-8204 2021-11-09 18:20:05 +05:30
sampadawagde
2982c91e7d JAVA-8204: Fix formatting of POMs 2021-11-09 16:27:03 +05:30
chaos2418
bc2b3014dd JAVA-1672: removing surefire configurations from parents 2021-11-07 19:14:37 +05:30
chaos2418
9f409146f8 JAVA-1672: removing redundant junit-platform-commons declarations 2021-11-05 16:04:59 +05:30
Trixi Turny
f6ef8e6dc3 BAEL-5209 example with JUnit5, Hamcrest and AssertJ 2021-11-04 19:13:11 +00:00
chaos2418
fcd8ed7c4f JAVA-8267: updating testing-modules's junit and surefire configurations 2021-11-04 16:56:08 +05:30
Loredana Crusoveanu
e2f8c963db Merge pull request #11397 from chaos2418/JAVA-1665
JAVA-1665: updated parent-java's junit and surefire configurations
2021-11-03 11:54:45 +02:00
chaos2418
e29458d406 JAVA-1665: updated parent-java's junit and surefire configurations 2021-11-03 09:03:23 +05:30
Azhwani
910e6945dc init commit 2021-11-02 20:27:58 +01:00
Azhwani
b846f1039e conflits resolution 2021-11-02 20:25:06 +01:00
chaos2418
da4027424e JAVA-1664: upgrading parent-boot-2 junit and surefire configurations 2021-11-02 14:51:24 +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
johnA1331
59ff204713 Update README.md 2021-10-21 22:08:29 +08:00
johnA1331
b22258ff63 Update README.md 2021-10-21 21:58:48 +08:00
Mladen Savic
cea46595dd Parallel Test Execution for JUnit 5 - refactoring 2021-10-18 18:44:47 +02:00
andresluzu
4c7a276fa0 BAEL-5210 JUnit fail assertions use cases (#11314)
Co-authored-by: Andres Luzuriaga <aluzuriaga@proofpoint.com>
2021-10-11 17:00:54 -07:00
johnA1331
ad79ee01f4 Update README.md 2021-09-29 23:40:27 +08:00
lucaCambi77
ae97b1e69c [ BAEL-4339 ] - How to get Junit 4 to ignore a Base Test Class? #11203 (#11204)
* feat: add ignored tests and update run from java

* Revert "feat: add ignored tests and update run from java"

This reverts commit 0a56fa4bf9.

* add ignore package

* fix: remove abstract from rename and ignore

* fix: removes run with and add missing tests
2021-09-28 22:49:28 -05:00
johnA1331
ac23fe32ed Update README.md 2021-09-24 13:27:24 +08:00
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
kwoyke
abc3b0e326 Merge pull request #11172 from freelansam/JAVA-5953
JAVA-5953: Reduce size of selenium-junit-testng
2021-08-26 21:21:55 +02:00
sampadawagde
bd23b0f3f1 JAVA-5953: Reduce size of selenium-junit-testng 2021-08-26 21:51:30 +05:30
johnA1331
16a190e233 Update README.md 2021-08-25 21:53:25 +08:00
nishitgoyal17
53937d8bd6 Nishit/BAEL-4340 executing junit via command line (#11096)
* executing junit via command line

* incorporating review comments

* incorporating review comments
2021-08-23 19:24:13 -05:00
Loredana Crusoveanu
4039208fac Merge pull request #11038 from GoossensMichael/patch-1
Also consider string interpolation
2021-08-22 19:13:08 +03:00
freelansam
69a1db0eb0 JAVA-6475: Fix formatting of POMs (#11087)
* JAVA-6475: Fix formatting of POMs

* correct build error
2021-08-03 00:27:15 +05:30
Michaël Goossens
03474274ef Also consider string interpolation
The above example only works when logging a string without using string interpolation. For example the following log statement: log.debug("This is a log from {}", "David"). This would result in event.getMessage() returning "This is a log from {}" while you would like to see the processed form "This is a log from David". The getMessage().toString() only returns the former while toString() on the event will return the latter. Furthermore the toString() method is redundant on getMessage() as it already is a string.
2021-07-15 23:26:49 +02:00