Commit Graph

490 Commits

Author SHA1 Message Date
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
chris9408 77d442b02f updated test names 2019-12-27 15:22:38 +02:00
chris9408 d137de913b Merge branch 'master' of https://github.com/chris9408/tutorials into feature/selenium-cookies 2019-12-25 01:15:19 +02:00
chris9408 030c763425 [BAEL-2948] Using cookies with Selenium WebDriver 2019-12-24 21:20:23 +02:00
Loredana Crusoveanu 8914469671 Merge pull request #8403 from johnA1331/master
BAEL-19551
2019-12-20 23:05:44 +02:00
Krzysztof Woyke a8ae650304 BAEL-19988: Migrate rest-testing module to the com.baeldung package 2019-12-19 14:13:18 +01:00
Krzysztof Woyke 5c0f7d09f0 BAEL-19988: Migrate easy-random module to the com.baeldung package 2019-12-19 11:59:44 +01:00
Krzysztof Woyke 40d51fea78 BAEL-19988: Rename org.baeldung package to com.baeldung package 2019-12-19 11:55:26 +01:00
johnA1331 82013334a5 Update README.md 2019-12-19 18:40:58 +08:00
johnA1331 bf1359bda7 Update README.md 2019-12-19 18:39:19 +08:00
johnA1331 78a368dbcb Update README.md 2019-12-19 18:34:18 +08:00
Krzysztof Woyke aca11c38f9 BAEL-19988: Migrate mocks module to the com.baeldung package 2019-12-19 11:17:45 +01:00
Krzysztof Woyke f84ff448c5 BAEL-19988: Migrate spring-testing module to the com.baeldung package 2019-12-19 11:02:46 +01:00
mikr a44e7ad4d6 remove article from readme file as it's already in another modeule 2019-12-15 18:28:40 +01:00
Eric Martin 0e70140e25 Merge pull request #8332 from Maiklins/BAEL-3586
BAEL-3586
2019-12-13 21:35:30 -06:00
François Dupire c8cafe8cd2 dupirefr/dupire.francois+pro@gmail.com [BAEL-3445] Cucumber Backgrounds (Moved package) (#8350)
* [BAEL-3445] Added Background examples to Cucumber examples

* [BAEL-3445] Copied code to have a package dedicated to the article

* [BAEL-3445] Removed code from other package
2019-12-11 10:25:03 -08:00
mikr ff77450cee http://jira.baeldung.com/browse/BAEL-3586 2019-12-08 19:22:06 +01:00
Josh Cummings dda3ef2ae1 Merge pull request #8311 from catalin-burcea/BAEL-18783
[BAEL-18783] - Fix formatting of POMs
2019-12-06 21:53:54 -07:00
Josh Cummings ce9a76e7d5 Merge pull request #8313 from kwoyke/BAEL-19798
BAEL-19798: Make PORT_NUMBER private
2019-12-06 20:19:19 -07:00
catalin-burcea 153a3923f0 [BAEL-18783] - Fix formatting of POMs 2019-12-06 11:40:56 +02:00
François Dupire 8121161b36 [BAEL-3445] Added Background examples to Cucumber examples (#8319) 2019-12-05 23:17:53 -08:00
Krzysiek 9bd4707f44 BAEL-19798: Make PORT_NUMBER private 2019-12-05 19:34:53 +01:00
kwoyke 2dcfc0efb7 BAEL-3231: Add usage example for MockitoJUnit.rule() (#8304) 2019-12-05 23:19:46 +07:00
Loredana Crusoveanu 592d3e27d7 Merge pull request #8295 from kwoyke/BAEL-19798
BAEL-19798: Change port number for KarateIntegrationTest
2019-12-04 21:09:04 +02:00
Josh Cummings dceea7f068 Merge pull request #8127 from amit2103/BAEL-17317-2
[BAEL-17317] - Check article code - https://www.baeldung.com/junit-be
2019-12-03 18:11:03 -07:00
Krzysiek c98b090586 BAEL-19798: Change port number for KarateIntegrationTest 2019-12-02 21:00:02 +01:00
Justin Albano f67a990ce9 BAEL-3444: Fixed calculator unit tests due to incorrect Cucumber glue directory. 2019-12-01 06:51:22 -05:00
Eric Martin 442d82ac66 Merge pull request #8195 from albanoj2/BAEL-3444
BAEL-3444: Cucumber Data Table
2019-11-23 22:42:43 -06:00
johnA1331 9e284972fe Update README.md 2019-11-22 00:10:28 +08:00
Justin Albano 03a1413465 BAEL-3444: Corrected line continuation formatting 2019-11-19 09:11:25 -05:00
Jonathan Cook b4e12c3cbf BAEL-3416 - Mockito and Fluent APIs (#8201)
* BAEL-3416 - Mockito and Fluent APIs
- stage changes

* staging changes

* BAEL-3416 - Mockito and Fluent APIs
2019-11-17 08:44:14 -08:00
Matteo Rossi 6067f9cc3c Add Jenkinsfile & update gatling version (#8198) 2019-11-17 08:39:40 -08:00
Justin Albano 4910f5879a BAEL-3444: Updated Maven Cucumber version 2019-11-15 10:50:33 -05:00
Justin Albano 530507243a BAEL-3444: Corrected typo of test method name 2019-11-15 10:24:27 -05:00
Justin Albano 423a529f56 BAEL-3444: Simplified example steps 2019-11-14 20:50:45 -05:00
Justin Albano b51f276b2c BAEL-3444: Renamed parsing logic variables for improved clarity in the context of article. 2019-11-14 15:12:35 -05:00
Justin Albano 2319130043 BAEL-3444: Added Cucumber data table test cases. 2019-11-14 10:05:44 -05:00
dev-chirag 0451f008be BAEL-3236 Determine the execution time of JUnit Tests (#7985)
* BAEL3236 Execution time Junit

* BAEL3236 Execution time Junit

* BAEL3236 Added more test cases

* BAEL3236 Added more test cases

* BAEL3236 Renaming to integration test

* BAEL3236 Temporary enabling

* BAEL3236 Reverting Integration tests

* BAEL3236 Refactoring TCs

* BAEL3236 Refactoring TCs

* BAEL3236 Removing now unused spring and http client deps

* BAEL3236 Fixing test cases and updating the missed version in pom.xml

* BAEL3236 throwing Exception in TCs
2019-11-13 21:36:39 +00:00
Martin van Wingerden 7f9bfe5cf9 Some README rendering corrections
Corrected sections without spaces
Best practice: add newline after section header
2019-11-07 21:04:14 +01:00
Josh Cummings 6a6b58a280 Merge pull request #8038 from sjmillington/rest-move-1
[BAEL-18364] move spring-rest-*** articles - 1
2019-11-05 21:37:55 -07:00
Loredana Crusoveanu 26e6d89a48 Merge branch 'master' into master 2019-11-02 23:34:32 +02:00
Sjmillington 4350c939eb [BAEL-18364] - moved the findBugs link to testing-modules/testing-libraries, and copied over the sample code from the article 2019-11-02 13:10:11 +00:00
Sjmillington 65cfa6ab2b Fixed conflict 2019-11-02 12:51:10 +00:00
amit2103 c0bab017f9 [BAEL-17317] - Check article code - https://www.baeldung.com/junit-before-beforeclass-beforeeach-beforeall 2019-11-02 16:15:38 +05:30
Eric Martin 3225470df5 Merge pull request #8125 from eugenp/revert-8119-BAEL-3275-2
Revert "BAEL-3275: Using blocking queue for pub-sub"
2019-10-31 20:43:47 -05:00
johnA1331 33998bdac8 Update README.md 2019-10-30 22:12:05 +08:00
Sjmillington f1673ce653 [BAEL-18364] move spring-rest-*** articles - 1 2019-10-17 17:17:31 +01:00