fanatixan
74efd2530e
added code snippets for bael-4554 ( #9979 )
2020-09-06 19:13:25 -07:00
Stephane Landelle
7c41e37829
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
a3626ba16c
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
b2643fc0dd
Use ThreadLocalRandom instead of Random which is synchronized
2020-09-06 23:33:17 +02:00
Stephane Landelle
bbdce526c7
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
eed6c93543
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
3146226399
Fix it some changes
2020-09-03 10:16:45 +04:30
Mona Mohamadinia
25b1749308
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
50563c7f63
Merge pull request #9854 from vishal1023/master
...
AssertEquals 2 Lists ignore order
2020-08-30 21:48:51 +02:00
Meysam Tamkin
d8d2ecc4b4
Add some changes
2020-08-30 19:59:24 +04:30
Vishal
aa223e69ea
Add tests for AssertJ example and update assertj-core dependency version.
2020-08-23 10:35:43 +05:30
johnA1331
308bd8998b
Update README.md
2020-08-20 13:07:18 +08:00
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
Loredana Crusoveanu
db4c926b1a
Merge pull request #9773 from eugenp/BAEL-16668-v2
...
Bael 16668 v2
2020-08-13 17:13:32 +03:00
Jonathan Cook
bc2352684a
BAEL-4341 - Add AfterEach annotation instead of BeforeEach on tearDown
...
method
2020-08-13 09:12:53 +02:00
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
kwoyke
6889e238ff
BAEL-3415: Get rid of the MockitoAnnotations.initMocks ( #9787 )
2020-07-30 07:50:21 +02:00
davidmartinezbarua
7e22f6a1bb
Merge pull request #9729 from developerDiv/argumentcaptor
...
BAEL-4261 - ArgumentMatcher with Stubbing
2020-07-29 23:56:33 -03:00
Loredana
2dbb667128
article was moved to mockito-2; remove duplicate methods from mockito module
2020-07-27 12:01:55 +03:00
developerDiv
55d15037c0
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
cb9e7920a0
Update README.md
2020-07-23 22:11:49 +08:00
johnA1331
2bc4c93e7b
Update README.md
2020-07-23 21:06:51 +08:00
developerDiv
ab755bf098
Add static class to 'eq' and 'when' for greater readability.
2020-07-21 21:32:40 +01:00
developerDiv
8309e56268
Rename tests
2020-07-19 15:44:48 +01:00
developerDiv
2a88d24386
Initial commit of ArgumentCaptor
2020-07-19 09:35:35 +01:00
bfontana
2d8bc57689
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
a8dac80752
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
1145918e22
fix: replace * imports with single imports:
2020-07-13 10:07:50 +01:00
Josh Cummings
8d5e33fae6
Merge pull request #9685 from amit2103/JAVA-2119
...
removed RC versions from pom dependency
2020-07-11 18:12:34 -06:00
amit.pandey
c78d9c867d
removed RC versions from pom dependency
2020-07-12 03:00:28 +05:30
amit.pandey
0716abb5e7
used properties defined in parent pom
2020-07-12 00:06:27 +05:30
Daniel Garrett
ecff38abf6
feat: add test for assumeFalse
2020-07-07 16:14:30 +01:00
Loredana Crusoveanu
7ab2f437ee
Revert "BAEL-4134"
2020-07-07 14:18:10 +03:00
Daniel Garrett
278b5f8efa
fix: rename test
2020-07-06 11:15:35 +01:00
Daniel Garrett
e955c836ad
feat: add class to conditionally ignore unit tests
2020-07-06 11:07:36 +01:00
Jonathan Cook
eb75cf11fc
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
2e7d6c9341
Update README.md
2020-06-23 16:51:32 +08:00
Chirag Dewan
6cfecc10eb
BAEL3923 Upgrading Powermock version to 2.0,7
2020-06-20 14:11:44 +05:30
johnA1331
5ba1cd0b0f
Merge branch 'master' into master
2020-06-14 10:42:24 +08:00
johnA1331
d7f3c730c6
Update README.md
2020-06-09 19:29:55 +08:00
johnA1331
2e2496fb93
Create README.md
2020-06-09 19:09:05 +08:00
KevinGilmore
c122add13e
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
Loredana Crusoveanu
5d8b4614c4
Merge pull request #9122 from sureshnath/master
...
tested the code with latest testng version 7.1.0
2020-05-24 15:24:34 +03:00
Loredana Crusoveanu
b482fdf9a6
Merge pull request #9026 from atanasg/patch-1
...
Fix palindrome unit test
2020-05-24 15:03:02 +03:00
rpvilao
c395a43472
Merge pull request #9252 from MajewskiKrzysztof/BAEL-3916
...
BAEL-3916
2020-05-19 16:54:25 +02:00
Krzysztof Majewski
93809a3441
update package name
2020-05-19 08:17:45 +02:00
johnA1331
7eab1879e3
Update README.md
2020-05-12 16:42:44 +08:00
Krzysztof Majewski
973cd24906
update test name
2020-05-08 14:07:07 +02:00
Krzysztof Majewski
d27bcf564f
update test name
2020-05-08 14:02:17 +02:00
Krzysztof Majewski
6b28cb46d0
BAEL-3916
2020-05-06 13:54:59 +02:00
johnA1331
424fecc7d9
Update README.md
2020-05-05 17:23:23 +08:00
johnA1331
e232346eb9
Update README.md
2020-05-05 17:08:45 +08:00
marc06210
b3f1413445
BAEL-3960 ( #9070 )
...
Bael-3960, asserting log messages with junit code.
2020-05-04 17:03:21 +01:00
KevinGilmore
d090c9b059
BAEL-2893 BAEL-3927 update README files ( #9171 )
...
* 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
2020-04-24 22:28:04 -05:00
Gergo Petrik
b31b84d475
Mockint objectmapper with mockito ( #9017 )
...
* Mockint objectmapper with mockito
* enforcing naming convention for test classes
* removed Spring
* removed unattended changes
* modified example
* simplified call stack in flower validator
2020-04-24 09:00:30 -05:00
Josh Cummings
43c715d949
Merge pull request #9133 from amit2103/JAVA-1278-1
...
Java 1278 1
2020-04-18 22:58:12 -06:00
amit.pandey
0f851a1d84
update source code to sync with article
2020-04-18 20:57:13 +05:30
Suresh Jaganathan
9105107048
tested the code with latest testng version 7.1.0
2020-04-17 12:47:32 +01:00
Belma Jakupovic
86c4eea3dd
additional answers mockito change repository method ( #9082 )
2020-04-15 21:15:59 +02:00
Jonathan Cook
6b21f217ed
Merge pull request #8953 from rdevarakonda/BAEL-3769
...
BAEL-3769 | Writing templates for test cases using JUnit 5
2020-04-12 15:37:11 +02:00
ramprasad.devarakonda@gmail.com
f154a17239
BAEL-3769 | Writing templates for test cases using JUnit 5
2020-04-11 00:33:05 +01:00
Jonathan Cook
ab6fee6012
BAEL-3868 - Fix the integrations tests in mocks ( #9039 )
...
* BAEL-3491 - Check for null before calling parse in the
Double.parseDouble
* BAEL-3491 - Check for null before calling parse in the
Double.parseDouble
- Return to indentation with spaces.
* BAEL-3854 - Pattern Matching for instanceof in Java 14
* BAEL-3854 - Pattern Matching for instanceof in Java 14 - add unit test
* BAEL-3868 - Fix the integrations tests in mocks
Co-authored-by: Jonathan Cook <jcook@sciops.esa.int>
2020-04-06 13:21:24 -07:00
Belma Jakupovic
b30ee62805
Belma Jakupovic - Mockito additional answers ( #9041 )
2020-04-06 20:22:28 +02:00
Atanas Gegov
1cca64cc70
Fix palindrome unit test
...
One of the test cases was not as described in the test method name. Also corrected formatting in another test case.
2020-04-04 00:57:04 +03:00
johnA1331
4cb7ca6472
Update README.md
2020-03-23 18:50:53 +08:00
johnA1331
df6fd3681d
Update README.md
2020-03-23 18:50:03 +08:00
johnA1331
2a65df46db
Update README.md
2020-03-23 18:32:12 +08:00
dupirefr
27620bb3e7
[JAVA-134] Actually renamed that module since IntelliJ didn't do it right the first time
2020-03-19 20:31:18 +01:00
dupirefr
a2c7348831
[JAVA-134] Renamed powermockito module to powermock
2020-03-19 20:31:17 +01:00
dupirefr
fb8f9f1f62
[JAVA-134] Creating README.md in new powermockito module
2020-03-19 20:31:16 +01:00
dupirefr
08e93e8da5
[JAVA-134] Created a powermockito module that uses version 2.21.0 version of Mockito
2020-03-19 20:31:14 +01:00
Krzysiek
48dc1f0db0
JAVA-966: Use randomly generated and available port
2020-03-12 20:28:11 +01:00
Eric Martin
335127f269
Merge pull request #8808 from johnA1331/master
...
github-related test fix - 18-02-2020
2020-03-09 20:49:51 -05:00
Josh Cummings
3cd2cf7cd1
Merge pull request #8784 from dupirefr/team/JAVA-131-hamcrest_version_update
...
[JAVA-131] Updated hamcrest version from 1.3 to 2.2
2020-03-07 14:12:21 -07:00
johnA1331
9693040b38
Update README.md
2020-03-07 11:01:02 +08:00
kwoyke
decc6825ec
Merge pull request #8562 from kwoyke/BAEL-3694
...
BAEL-3694: Refactor Mockito unit tests
2020-03-06 13:43:24 +01:00
dupirefr
892ec576a2
[JAVA-131] Updated java-hamcrest version property in spring-testing module
2020-03-05 07:51:27 +01:00
dupirefr
1cac276528
[JAVA-131] Renaming java-hamcrest version property to avoid conflict with other hamcrest libraries
2020-03-05 07:51:26 +01:00
dupirefr
4d5e21b991
[JAVA-131] Removed unused version of java-hamcrest from mockito module
2020-03-05 07:51:24 +01:00
dupirefr
fa4898356b
[JAVA-131] Fixed hamcrest-all version in selenium module
2020-03-05 07:51:23 +01:00
dupirefr
0a6ee0c797
[JAVA-131] Kept difference between hamcrest and hamcrest-all
2020-03-05 07:51:22 +01:00
Mona Mohamadinia
80b7fed6e1
Bael 3850: EnabledForJRERange and DisabledForJRERange JUnit Annotations ( #8724 )
...
* Upgraded to Jupiter 5.6.0
Also removed some deprecated stuff!
* Added a new test
* Resotre Delete Tests
2020-02-22 10:46:52 +00:00
johnA1331
530d08c5dc
Update README.md
2020-02-10 15:12:42 +08:00
johnA1331
077224fce8
Update README.md
2020-02-10 15:02:46 +08:00
johnA1331
07aa3ad9fc
Update README.md
2020-02-05 16:08:11 +08:00
kwoyke
8047fc333a
BAEL-3805: Fix project's dependencies ( #8662 )
2020-02-05 07:42:43 +01:00
Eric Martin
07a2624110
Merge pull request #8567 from johnA1331/master
...
Bi-monthly test fix - BAEL-20909
2020-01-31 20:24:34 -06:00
Krzysiek
8d663f4ccc
BAEL-21543: Downgrade Spring Boot to version 2.1.9 in rest-assured
2020-01-27 20:56:17 +01:00
mikr
511c21976d
BAEL-3590 Fix Cucumber Hooks Integration Tests
2020-01-24 09:26:40 +01:00
johnA1331
fd86392ea3
Update README.md
2020-01-23 14:43:14 +08:00
Krzysiek
2d1aca64e1
BAEL-3694: Refactor Mockito unit tests
2020-01-21 20:41:44 +01:00
m.raheem
1beacb0ce8
first review round changes
2020-01-08 21:07:33 +02:00
m.raheem
9873c70dc4
modifying partialMocking()
2020-01-07 21:28:46 +02:00
Josh Cummings
c06eb23d11
Merge pull request #8461 from kwoyke/BAEL-3700
...
BAEL-3700: Add example of uninitialized Mockito annotations
2020-01-04 14:10:11 -07:00
Eric Martin
69b655dcf8
Merge pull request #8449 from Maiklins/BAEL-3590-cucumber-hooks
...
BAEL-3590 cucumber hooks
2020-01-04 14:44:37 -06:00
Maiklins
09e800e605
Update testing-modules/testing-libraries/src/test/java/com/baeldung/cucumberhooks/books/BookStoreWithHooksIntegrationTest.java
...
Co-Authored-By: KevinGilmore <kpg102@gmail.com>
2020-01-03 18:56:41 +01:00
Krzysiek
163a80fd0a
BAEL-3700: Add example of uninitialized Mockito annotations
2020-01-01 21:42:43 +01:00
chris9408
be63275455
[BAEL-2948] requested PR changes
2020-01-01 18:12:54 +02:00
mikr
a58ac8eb3c
Cucumber hooks - http://jira.baeldung.com/browse/BAEL-3590
2019-12-29 15:41:23 +01:00
mikr
21b8a4b067
Cucumber hooks - http://jira.baeldung.com/browse/BAEL-3590
2019-12-29 15:40:04 +01:00