Commit Graph

322 Commits

Author SHA1 Message Date
kwoyke c0a0247cf7 Merge branch 'master' into JAVA-3592 2021-11-25 09:03:54 +01:00
kwoyke cd51ebdcc7 Merge pull request #11497 from freelansam/JAVA-3592
Fix integration build
2021-11-24 19:27:30 +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
sampadawagde 2d142da809 Fix integration build 2021-11-24 09:06:52 +05:30
kwoyke 1871d1a89c 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 1ee2327ab3 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 ffacd9b9ae 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 592376bf09 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 848fa01e47 JAVA-3592: Upgrade h2 dependency in the main pom.xml 2021-11-19 23:17:22 +05:30
Loredana Crusoveanu ee70035562 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 d3de4302f2 Merge pull request #11401 from azhwani/BAEL-5113
BAEL-5113: Improve the Test Order Article
2021-11-19 16:41:28 +02:00
Azhwani a257d47c6c + Remove junit versions to use those of the main pom 2021-11-19 12:48:29 +01:00
chaos2418 58e6087b3d JAVA-8405: reducing logging for tutorials-build-job 2021-11-19 13:39:00 +05:30
Krzysiek 5b541fa524 JAVA-8436: Upgrade AssertJ Guava to 3.4.0 2021-11-18 23:17:00 +01:00
Krzysiek 1d8f5ee7eb JAVA-8436: Fix unit tests in assertion-libraries 2021-11-18 19:29:30 +01:00
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
Krzysiek d7caae1c24 JAVA-7783: POM properties cleanup 2021-11-16 11:25:14 +01:00
lucaCambi77 157d7ee61c [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 151753d3ac BAEL-5209 add to modules sdk9 and above 2021-11-10 09:38:31 +00:00
freelansam 77e3e6a419 Merge branch 'master' into JAVA-8204 2021-11-09 18:20:05 +05:30
sampadawagde b984a4b618 JAVA-8204: Fix formatting of POMs 2021-11-09 16:27:03 +05:30
chaos2418 b0176d85cf JAVA-1672: removing surefire configurations from parents 2021-11-07 19:14:37 +05:30
chaos2418 0f8560ed36 JAVA-1672: removing redundant junit-platform-commons declarations 2021-11-05 16:04:59 +05:30
Trixi Turny 86ab50684b BAEL-5209 example with JUnit5, Hamcrest and AssertJ 2021-11-04 19:13:11 +00:00
chaos2418 af4b37592b JAVA-8267: updating testing-modules's junit and surefire configurations 2021-11-04 16:56:08 +05:30
Loredana Crusoveanu 903ca563ad 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 64a134f05e JAVA-1665: updated parent-java's junit and surefire configurations 2021-11-03 09:03:23 +05:30
Azhwani 54e7d312dc init commit 2021-11-02 20:27:58 +01:00
Azhwani 1f6c74ecab conflits resolution 2021-11-02 20:25:06 +01:00
chaos2418 9bbd34d45f JAVA-1664: upgrading parent-boot-2 junit and surefire configurations 2021-11-02 14:51:24 +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
johnA1331 06afc4c7b6 Update README.md 2021-10-21 22:08:29 +08:00
johnA1331 3d58e691a4 Update README.md 2021-10-21 21:58:48 +08:00
Mladen Savic b2c4765cc3 Parallel Test Execution for JUnit 5 - refactoring 2021-10-18 18:44:47 +02:00
andresluzu 8dce57b64f 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 214c1c385f Update README.md 2021-09-29 23:40:27 +08:00
lucaCambi77 8235298f5b [ 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 0a56fa4bf9e29473d04091408c5ce381f2f55f42.

* 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 e027dc1150 Update README.md 2021-09-24 13:27:24 +08:00
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
johnA1331 8e19ae1195 Update README.md 2021-08-25 21:53:25 +08:00
nishitgoyal17 22e6245c81 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 b180037cdc Merge pull request #11038 from GoossensMichael/patch-1
Also consider string interpolation
2021-08-22 19:13:08 +03:00
freelansam 32dde5b5d1 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 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
johnA1331 f02fba02a0 Update README.md 2021-07-07 23:31:00 +08:00
johnA1331 3cca2f8716 Update README.md 2021-07-02 05:32:00 +08:00
kwoyke eb1f4e1e90 JAVA-5875: Upgrade Spring Boot to 2.5.1 (#10956)
* JAVA-5875: Upgrade Spring Boot to 2.5.1

* JAVA-5875: Leave jta module on Spring Boot 2.4.7

* JAVA-5875: Update spring-boot-persistence-mongodb to use embedded Mongo 3.0

* JAVA-5875: Leave spring-data-dynamodb on Spring Boot 2.4.7

* JAVA-5875: ErrorController#getErrorPath has been removed

* JAVA-5875: Fix SQL Script DataSource Initialization

* JAVA-5875: ErrorController#getErrorPath has been removed

* JAVA-5875: Fix RepositoryRestConfigurer

* JAVA-5875: Fix issues caused by rest-assured upgrade

* JAVA-5875: Upgrade spring-cloud-dependencies to 2020.0.3

* JAVA-5875: Leave spring-boot-keycloak on Spring Boot 2.4.7

* JAVA-5875: Fix data.sql script initialization

* JAVA-5875: Leave spring-security-legacy-oidc on Spring Boot 2.4.7

* JAVA-5875: Fix data.sql script initialization

* JAVA-5875: Fix data.sql script initialization

* JAVA-5875: Update de.flapdoodle.embed.mongo dependency

* JAVA-5875: Upgrade spring-cloud-dependencies to 2020.0.3

* JAVA-5875: Update Spring Cloud dependencies

* JAVA-5875: Update cloud dependencies

* JAVA-5875: Defer datasource initialization

* JAVA-5875: Fix rest assured version

* JAVA-5875: Fix Spring Batch serialization issue

* JAVA-5875: Update Spring Cloud Stream version

* JAVA-5875: Update Spring Kafka version

* JAVA-5875: Leave spring-zuul-rate-limiting on Spring Boot 2.4.7

Co-authored-by: Krzysztof Woyke <krzysztof.woyke.sp@lhsystems.com>
2021-06-26 01:20:37 +05:30
shilpsgithub d0d0f71518 Create ThreadGroup.jmx (#10936)
Added file ThreadGroup.jmx for BAEL-4671
2021-06-21 10:10:19 -07:00
johnA1331 bcbb70cbc9 Update README.md 2021-06-09 16:40:11 +08:00
uzma khan 6ab67e6968 [BAEL-4406] Move maven code to testing-libraries-2 2021-06-03 10:11:38 +01:00
KevinGilmore 8ee60907ea BAEL-4636: add link back to article (#10787) 2021-05-19 20:27:34 -05:00
freelansam 8cc6444700 Merge branch 'master' into JAVA-5223 2021-05-17 22:37:02 +05:30
sampadawagde d9db0949cb JAVA-5223: Fix formatting of POMs (Testing Modules) 2021-05-17 20:23:43 +05:30
akhil90s b744d8e6ee Code Coverage with SonarQube and Jacoco (#10674)
* Code Coverage with SonarQube and Jacoco

* SonarQube and Jacoco

* Delete SonarQube and Jacoco From the Root directory

* SonarQube and JaCoCo

* SonarQube And JaCoCo

* BAEL-4636 : Code Coverage with SonarQube and Jacoco

* Shifted to testing-modules/testing-libraries-2

* Removing this project to make a single project

* Code Coverage with SonarQube and Jacoco

* Formatting in pom.xml file

* Delete Directory

* Delete unused directory

* SonarQube And JaCoCo

* SonarQube And JaCoCo
2021-05-16 11:42:35 -05:00
johnA1331 83722371e1 Create README.md 2021-04-29 05:36:53 +08:00
Trixi Turny 5f045808f9 BAEL-4783 run cucumber test as part of acceptance profile 2021-04-26 11:33:20 +01:00
Trixi Turny 7df0ace15e BAEL-4783 use failsave to run integration tests 2021-04-23 13:31:58 +01:00
Trixi Turny b31a927e4e BAEL-4783 fix package name 2021-04-23 09:50:59 +01:00
Loredana Crusoveanu c3b985584b Merge branch 'master' into BAEL-4783-cucumber-tags-junit5 2021-04-21 11:33:56 +03:00
Trixi Turny 61a2ad8d91 BAEL-4783 fix module name 2021-04-19 20:46:13 +01:00
Trixi Turny febcc44ea8 BAEL-4783 remove old dir 2021-04-19 20:46:06 +01:00
Trixi Turny af9cc0deb9 BAEL-4783 rename module and fix indents 2021-04-19 20:45:56 +01:00
Trixi Turny c49ffcc3cd BAEL-4783 remove unused declarations 2021-04-19 20:30:23 +01:00
Krzysztof Woyke a23b752f75 JAVA-3596: Fix exec-maven-plugin config in the testing-modules 2021-04-06 22:31:47 +02:00
Krzysztof Woyke 63e5a2dad0 JAVA-3596: Clean up exec-maven-plugin config 2021-04-02 15:43:27 +02:00
Loredana Crusoveanu 53eedb7ad5 Merge pull request #10614 from kwoyke/JAVA-3578
JAVA-3578: Sub-modules cleanup (pom.xml)
2021-04-01 18:46:22 +03:00
Krzysztof Woyke 28d103508f JAVA-3578: Verify sub-modules - testing-modules 2021-03-31 20:13:00 +02:00
johnA1331 4f0e4e808a Create README.md 2021-04-01 00:18:51 +08:00
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
Krzysztof Woyke df93a6b9e6 JAVA-3295: Use project.build.sourceEncoding and project.reporting.outputEncoding from the main pom.xml 2021-03-24 09:37:43 +01:00
Jonathan Cook f8e9839390 BAEL-4836 - Mocking Static Methods with Mockito (#10580)
* BAEL-4706 - Spring Boot with Spring Batch

* BAEL-3948 - Fix test(s) in spring-batch which leaves repository.sqlite
changed

* BAEL-4736 - Convert JSONArray to List of Object using camel-jackson

* BAEL-4756 - Mockito MockSettings

* BAEL-4756 - Mockito MockSettings - fix spelling

* BAEL-2674 - Upgrade the Okhttp article

* BAEL-4204 - Adding Interceptors in OkHTTP

* BAEL-4836 - Mocking Static Methods with Mockito

Co-authored-by: Jonathan Cook <jcook@sciops.esa.int>
2021-03-23 08:09:39 -07:00
kwoyke 224c569ac3 JAVA-4241: Upgrade Spring Boot to 2.4.3 (#10569)
* JAVA-4241: Upgrade Spring Boot to 2.4.3

* JAVA-4241: Fix CharEncodingCheckControllerUnitTest

* JAVA-4241: Upgrade Spring Framework to 5.3.4 in spring-testing

* JAVA-4241: Fix spring-data-commons version setup in spring-caching

* JAVA-4241: Upgrade jetty-reactive-httpclient in spring-5-reactive-client

* JAVA-4241: Disable failing test
2021-03-19 22:37:39 +05:30
Maiklins 8df2f0f841 Java 4278 update override properties article (#10555)
* JAVA-4278 Update "Override Properties" article

* JAVA-4278 Update override properties article (use JUnit 5)

Co-authored-by: mikr <michael.krimgen@ximedes.com>
2021-03-17 00:20:06 +05:30
johnA1331 f788bcd6c7 Create README.md 2021-03-03 20:50:02 +08:00
Otto Dvalishvili dc650c014c Bael 4781: Introduction to ZeroCode (#10482)
* small example of hexagonal architecture in java

* Bael-4781: Introduction to ZeroCode

* add readme

* Revert "small example of hexagonal architecture in java"

This reverts commit c0f96441

* refactoring

* refactoring
2021-02-25 22:00:21 -06:00
johnA1331 b6570de637 Update README.md 2021-01-28 01:11:32 +08:00
Jonathan Cook 9144660a72 BAEL-4756 - Mockito MockSettings - fix spelling (#10438)
* BAEL-4706 - Spring Boot with Spring Batch

* BAEL-3948 - Fix test(s) in spring-batch which leaves repository.sqlite
changed

* BAEL-4736 - Convert JSONArray to List of Object using camel-jackson

* BAEL-4756 - Mockito MockSettings

* BAEL-4756 - Mockito MockSettings - fix spelling

Co-authored-by: Jonathan Cook <jcook@sciops.esa.int>
2021-01-23 07:08:50 +01:00
Jonathan Cook b9c81b0ced BAEL-4756 - Mockito MockSettings (#10423)
* BAEL-4706 - Spring Boot with Spring Batch

* BAEL-3948 - Fix test(s) in spring-batch which leaves repository.sqlite
changed

* BAEL-4736 - Convert JSONArray to List of Object using camel-jackson

* BAEL-4756 - Mockito MockSettings

Co-authored-by: Jonathan Cook <jcook@sciops.esa.int>
2021-01-17 11:39:53 +01:00
Loredana Crusoveanu 119af2bcb9 Merge pull request #10421 from rozagerardo/rozagerardo/JAVA-3717_Update-articles-for-2.4.0--other-properties-modules
[JAVA-3717] Update articles for 2.4.0 - other properties-related articles
2021-01-16 10:32:10 +02:00
Gerardo Roza 1a0655a189 added junit-vintage-engine dependency to avoid issues with existing JUnit4 tests
These are potential issues, since the dependency is included in the root pom
2021-01-13 10:26:38 -03:00
sampadawagde 013902b253 JAVA-4013: README changes 2021-01-12 19:14:50 +05:30
sampadawagde 6052fd6bc8 JAVA-4013: Moved 2 articles to spring-testing-2 2021-01-12 19:14:11 +05:30
Krzysztof Woyke 962e8839d6 Merge remote-tracking branch 'upstream/master' into JAVA-3570 2020-12-29 15:11:31 +01:00
Krzysztof Woyke e5bb567405 Rename finalize methods 2020-12-22 21:27:18 +01:00
Krzysztof Woyke 07276b1aaa JAVA-3570: Upgrade Spring framework to version compatible with Spring Boot 2.4 in spring-testing 2020-12-14 10:59:45 +01:00
johnA1331 623a13b0a9 Update README.md 2020-12-02 19:14:12 +08:00
Eric Martin 10ba4efce6 Merge pull request #10278 from ashleyfrieze/BAEL-4742-Guide-to-System-Stubs
BAEL-4742 guide to system stubs
2020-11-26 20:24:23 -06:00
Ashley Frieze 3c01b8f9f8 BAEL-4742 System Stubs example tests 2020-11-24 23:38:20 +00:00
Ashley Frieze 390b864ff3 BAEL-4742-Guide-To-System-Stubs 2020-11-20 17:44:42 +00:00
Krzysztof Woyke 58750bce50 JAVA-3580: Migrate spring-testing to the parent-boot-2 2020-11-20 16:31:01 +01:00
Loredana Crusoveanu 696f2d80af Merge pull request #10109 from danieltaylor/patch-1
change "Aborted" to "Failed" under testFailed()
2020-10-16 19:15:49 +03:00
Loredana 43feef5b42 add indexes to jpa entities 2020-10-15 19:03:52 +03:00
Stephane Landelle 84d2b3a0f5 Fix JSON payloads in the Gatling script
Motivation:

Ids are numbers (Integers), not Strings.

Modifications:

Remove wrong wrapping double quotes.

Result:

Less parsing overhead on the server side.
2020-10-15 16:26:35 +02:00
Loredana 450614d511 update loops count JAVA-2603 2020-10-13 16:44:18 +03:00
Loredana Crusoveanu 6cccdbd485 Merge pull request #10157 from slandelle/master
Upgrade Gatling versions and remove extra headers
2020-10-13 10:58:45 +03:00
Stephane Landelle 024da8003b Remove RNG upper bound like in Grinder test to avoid race condition in application under test 2020-10-12 18:51:09 +02:00
Stephane Landelle c608c133f6 Remove extra headers as the other tools don't set them and that's extra traffic 2020-10-12 18:50:26 +02:00