Commit Graph

33 Commits

Author SHA1 Message Date
edizor 9d20500b64 Update README.md
[skip ci]
2023-11-24 21:38:30 +08:00
parthiv39731 f12328011b BAEL-7091
reverted Java 9 snippets
2023-11-16 20:10:00 +05:30
parthiv39731 6a7e63795d BAEL-7091
removed Java 9 snippets
2023-11-15 11:15:27 +05:30
parthiv39731 cd9ab90fc8 BAEL-7091
Moved to new module
2023-11-10 20:51:43 +05:30
edizor ed5c1ca1da Update README.md
[skip ci]
2023-09-21 20:25:05 +08:00
Kai Yuan fc1a1520e4 [assert-regex-match] Assert Regex Matches in JUnit ()
* [assert-regex-match] Assert Regex Matches in JUnit

* [assert-regex-match] remove java version
2023-09-15 16:21:48 -05:00
edizor 313840045d Update README.md
[skip ci]
2023-06-21 17:47:03 +08:00
Ana Peterlić dc80d66ef0 BAEL-6432 - Asserting Equality on Two Classes without an Equals Method () 2023-06-15 21:13:10 +05:30
collaboratewithakash bd37791f56 backlink updated 2023-05-27 16:39:31 +05:30
panos-kakos 9d4f599a1a [JAVA-16834] Added test case ()
Co-authored-by: panagiotiskakos <panagiotis.kakos@libra-is.com>
2023-01-04 20:59:16 +05:30
Krzysiek f9f37ac4e6 JAVA-8709: Extract commons-collections4.version property to the main pom.xml 2021-11-26 13:17:01 +01:00
Krzysiek 8b280e689a JAVA-8667: Remove hamcrest dependency declarations from the child modules 2021-11-24 13:20:20 +01:00
johnA1331 cadb1a1cd0 Update README.md 2021-11-24 14:23:37 +08:00
kwoyke 1871d1a89c Merge pull request from chaos2418/JAVA-8405
JAVA-8405: reducing logging for tutorials-build-job
2021-11-23 13:43:19 +01:00
davidmartinezbarua ffacd9b9ae Merge pull request 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
Loredana Crusoveanu ee70035562 Merge pull request from kwoyke/JAVA-8436
JAVA-8436: Manage AssertJ dependency in the main pom.xml
2021-11-19 16:56:22 +02:00
chaos2418 58e6087b3d JAVA-8405: reducing logging for tutorials-build-job 2021-11-19 13:39:00 +05:30
Krzysiek 997b3c5fbf JAVA-8436: Remove AssertJ depenendency from the child modules - part 1 2021-11-18 10:36:49 +01:00
johnA1331 dd9eb450fd Update README.md 2021-11-18 01:09:16 +08:00
lucaCambi77 157d7ee61c [BAEL-5211] - How to test a Java Optional ()
* 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 86ab50684b BAEL-5209 example with JUnit5, Hamcrest and AssertJ 2021-11-04 19:13:11 +00:00
chaos2418 64a134f05e JAVA-1665: updated parent-java's junit and surefire configurations 2021-11-03 09:03:23 +05:30
Dhawal Kapil 1ab0a19d25 Java 3590 () ()
* Java 3590 ()

* 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 ()

* 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
Michaël Goossens b9fd869c02 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
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 5e3e710e84 JAVA-3295: Fix pom properties in testing-modules 2021-03-24 10:31:09 +01:00
johnA1331 1d9cf597d8 Update README.md 2020-09-16 22:57:59 +08:00
Vishal aa223e69ea Add tests for AssertJ example and update assertj-core dependency version. 2020-08-23 10:35:43 +05:30
Vishal 3cbfd383ed Refactor | Add common formatting, remove comments, update test class name,follow test method naming convention and use Junit5 2020-08-17 18:06:30 +05:30
Vishal 6a2fcd54c3 Add unit test to assert two list equality without considering order of elements in it. 2020-08-12 09:57:39 +05:30
Loredana Crusoveanu 7ab2f437ee Revert "BAEL-4134" 2020-07-07 14:18:10 +03:00
marc06210 b3f1413445 BAEL-3960 ()
Bael-3960, asserting log messages with junit code.
2020-05-04 17:03:21 +01:00