Commit Graph

805 Commits

Author SHA1 Message Date
Jonathan Cook
5289ea242b BAEL-4437 - System Rules (#10047)
Co-authored-by: Jonathan Cook <jcook@sciops.esa.int>
2020-09-17 14:22:49 -07:00
johnA1331
b207abc099 Update README.md 2020-09-16 23:48:50 +08:00
johnA1331
4eb645eb1b Update README.md 2020-09-16 23:01:10 +08:00
johnA1331
bbbf0c609c Update README.md 2020-09-16 22:57:59 +08:00
mikr
688bc54bce Java-2136 Use Jackson version from main pom in all other applicable modules 2020-09-14 13:11:59 +02:00
kwoyke
11a77301c0 JAVA-2563: Upgrade Spring Boot version to 2.3.3.RELEASE (#9985)
* JAVA-2563: Upgrade Spring Boot version to 2.3.3.RELEASE

* JAVA-2563: Downgrade spring-cloud-connectors-heroku to Spring Boot 2.2.6.RELEASE

* JAVA-2563: Add joda-time version

* JAVA-2563: Add spring-boot-starter-validation dependency

* JAVA-2563: Add spring-boot-starter-validation dependency

* JAVA-2563: Add spring-boot-starter-validation dependency

* JAVA-2563: Add spring-boot-starter-validation dependency

* JAVA-2563: Add spring-boot-starter-validation dependency

* JAVA-2563: Use MongoClients factory instead of MongoClient directly

* JAVA-2563: Downgrade spring-5-data-reactive to Spring Boot 2.2.6.RELEASE

* JAVA-2563: Switch back to default bootstrap mode for JPA

* JAVA-2563: Add spring-boot-starter-validation dependency

* JAVA-2563: Switch from ServerHttpRequest to ServerWebExchange interface

* JAVA-2563: Use OutputCaptureRule instead of OutputCapture

* JAVA-2563: Add spring-boot-starter-validation dependency

* JAVA-2563: Add spring-boot-starter-validation dependency

* JAVA-2563: Add spring-boot-starter-validation dependency

* JAVA-2563: Fix Jackson dependency

* JAVA-2563: Fix ManualEmbeddedMongoDbIntegrationTest

* JAVA-2563: Replace validation-api with spring-boot-starter-validation

* JAVA-2563: Fix usage of deprecated getErrorAttributes method

* JAVA-2563: Downgrade spring-data-cassandra-reactive to Spring Boot 2.2.6.RELEASE

* JAVA-2563: Set spring.datasource.generate-unique-name to false in spring-session-jdbc
2020-09-11 18:19:02 +05:30
bfontana
cda86e09d2 Merge pull request #9948 from meysam/master
BAEL-4336 @BeforeAll and @AfterAll Methods as a non-static
2020-09-10 20:06:11 -03:00
Meysam Tamkin
891b5fa121 Fix it some changes 2020-09-07 13:35:07 +04:30
fanatixan
4c07727da9 added code snippets for bael-4554 (#9979) 2020-09-06 19:13:25 -07:00
Stephane Landelle
232ed7167c Remove the unfair 1 second pauses between requests
Those pauses don't exist in the JMeter test. They just artificially reduce the Gatling test's throughput.
2020-09-06 23:37:51 +02:00
Stephane Landelle
88487fad9f Add missing optional option on the check that captures the reward
This shouldn't be an error, it's an expected situation as described in the article.
2020-09-06 23:34:37 +02:00
Stephane Landelle
392ca3717d Use ThreadLocalRandom instead of Random which is synchronized 2020-09-06 23:33:17 +02:00
Stephane Landelle
316af150f2 Fix random cust id generation to reduce collisions
The current range causes lots of collisions and the application doesn't handle them gracefully, causing lots of exceptions to get logged and hamerring performance.

Use 100,000 like the JMeter test, see https://github.com/slandelle/tutorials/blob/master/testing-modules/load-testing-comparison/src/main/resources/scripts/JMeter/Test%20Plan.jmx#L203
2020-09-06 23:32:19 +02:00
Stephane Landelle
7020fdbfcd Fix dynamic parameter
Wrong Gatling usage: randCustId() was only called once. One needs to pass a function.
2020-09-06 23:29:31 +02:00
Meysam Tamkin
c7d8bfea19 Fix it some changes 2020-09-03 10:16:45 +04:30
Mona Mohamadinia
c5d622875a BAEL-4530: A Guide to @DynamicPropertySource in Spring (#9877)
* A Guide to @DynamicPropertySource in Spring

* Moving to a new module

* Reverting the Changes in the original module
2020-08-31 16:43:13 +01:00
Jonathan Cook
0abf0d2d4e Merge pull request #9854 from vishal1023/master
AssertEquals 2 Lists ignore order
2020-08-30 21:48:51 +02:00
Meysam Tamkin
769e35c0fc Add some changes 2020-08-30 19:59:24 +04:30
Vishal
99ac49130c Add tests for AssertJ example and update assertj-core dependency version. 2020-08-23 10:35:43 +05:30
johnA1331
3a75b23357 Update README.md 2020-08-20 13:07:18 +08:00
Vishal
f621693bdd 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
Loredana Crusoveanu
5b2f78ae65 Merge pull request #9773 from eugenp/BAEL-16668-v2
Bael 16668 v2
2020-08-13 17:13:32 +03:00
Jonathan Cook
b34af1db74 BAEL-4341 - Add AfterEach annotation instead of BeforeEach on tearDown
method
2020-08-13 09:12:53 +02:00
Vishal
e3d787a3c8 Add unit test to assert two list equality without considering order of elements in it. 2020-08-12 09:57:39 +05:30
kwoyke
c59b4cf94d BAEL-3415: Get rid of the MockitoAnnotations.initMocks (#9787) 2020-07-30 07:50:21 +02:00
davidmartinezbarua
656ca6eae1 Merge pull request #9729 from developerDiv/argumentcaptor
BAEL-4261 - ArgumentMatcher with Stubbing
2020-07-29 23:56:33 -03:00
Loredana
0c0dbe8750 article was moved to mockito-2; remove duplicate methods from mockito module 2020-07-27 12:01:55 +03:00
developerDiv
888926fe73 Rename DeliveryPlatform send method to 'deliver' to aid readability and avoiding confusion with EmailService.send method
Re-arrange order of mocks and inject mocks

Rename argument matcher and captor tests
2020-07-26 17:08:44 +01:00
johnA1331
9922d9d297 Update README.md 2020-07-23 22:11:49 +08:00
johnA1331
e9960f2846 Update README.md 2020-07-23 21:06:51 +08:00
developerDiv
445d0ecf61 Add static class to 'eq' and 'when' for greater readability. 2020-07-21 21:32:40 +01:00
developerDiv
8b2fe7b8a8 Rename tests 2020-07-19 15:44:48 +01:00
developerDiv
c9a65c76e2 Initial commit of ArgumentCaptor 2020-07-19 09:35:35 +01:00
bfontana
573fa1c3fa Merge pull request #9648 from dpgarrett/danielg/conditionally-ignoring-tests-in-junit
BAEL-4337 Conditionalling ignoring tests in JUnit 4
2020-07-16 21:09:58 -03:00
Jonathan Cook
be823263dd BAEL-4341 - JUnit test for System.out.println() (#9694)
* BAEL-4198 - Fix Selenium Live Tests

* BAEL-4198

* BAEL-4024 - Taking Screenshots with Selenium WebDriver

* BAEL-4341 - JUnit test for System.out.println()

Co-authored-by: Jonathan Cook <jcook@sciops.esa.int>
2020-07-13 18:46:32 -07:00
Daniel Garrett
0e82be2587 fix: replace * imports with single imports: 2020-07-13 10:07:50 +01:00
Josh Cummings
177cd880a7 Merge pull request #9685 from amit2103/JAVA-2119
removed RC versions from pom dependency
2020-07-11 18:12:34 -06:00
amit.pandey
7485edccba removed RC versions from pom dependency 2020-07-12 03:00:28 +05:30
amit.pandey
c03b88763e used properties defined in parent pom 2020-07-12 00:06:27 +05:30
Daniel Garrett
6a3a2a2fdc feat: add test for assumeFalse 2020-07-07 16:14:30 +01:00
Loredana Crusoveanu
485b4e3e99 Revert "BAEL-4134" 2020-07-07 14:18:10 +03:00
Daniel Garrett
b296241de6 fix: rename test 2020-07-06 11:15:35 +01:00
Daniel Garrett
8b38a2f28c feat: add class to conditionally ignore unit tests 2020-07-06 11:07:36 +01:00
Jonathan Cook
11190fd901 BAEL-4198 - Fix Selenium Testing module (#9611)
* BAEL-4198 - Fix Selenium Live Tests

* BAEL-4198

Co-authored-by: Jonathan Cook <jcook@sciops.esa.int>
2020-06-29 14:13:26 -07:00
johnA1331
45f4c1c750 Update README.md 2020-06-23 16:51:32 +08:00
Chirag Dewan
eebb1d0da9 BAEL3923 Upgrading Powermock version to 2.0,7 2020-06-20 14:11:44 +05:30
johnA1331
5181994569 Merge branch 'master' into master 2020-06-14 10:42:24 +08:00
johnA1331
29775c7d04 Update README.md 2020-06-09 19:29:55 +08:00
johnA1331
a26c882e70 Create README.md 2020-06-09 19:09:05 +08:00
KevinGilmore
e08abd7238 Bael 4026 (#9433)
* BAEL-3336 BAEL-3058 add links

* BAEL-3319: add link

* BAEL-3284: add link

* BAEL-3198: add link to article

* BAEL-3479: add link to article

* BAEL-3485: add article link

* SCALA-38: move to new package and add link back to article

* SCALA-38: add imports back into unit test

* BAEL-3908: add link back to article

* BAEL-2893 BAEL-3927 add link back to article

* BAEL-4026: update README.md
2020-06-03 22:20:43 -05:00