Commit Graph

501 Commits

Author SHA1 Message Date
panos-kakos 237893ed94 Java 20625 (#14213)
* [JAVA-20625] Opened packages + disabled karate integration until upgrade

* [JAVA-20625] Formatting
2023-06-11 13:13:39 +05:30
thibault.faure d928abe033 BAEL-6482 Code for the Matching Null With Mockito article 2023-06-10 16:30:05 +02:00
edizor a31023faa9 Update README.md
[skip ci]
2023-06-08 22:58:45 +08:00
edizor 0ce665956e Update README.md
[skip ci]
2023-06-08 21:45:22 +08:00
panos-kakos a66251654d Task 20625 (#14164)
* [TASK-20625] Upgraded testing-modules to jdk9-and-above profile

* [TASK-20625] Fixed failing modules

* [TASK-20625] Removed ninja submodule from build

* Update pom.xml

---------

Co-authored-by: Dhawal Kapil <dhawalkapil@gmail.com>
2023-06-06 14:51:21 +05:30
thibault.faure 1e4c42c6d1 BAEL-6587 Code for the Mockito Exception article 2023-06-05 20:19:07 +02:00
Abhinav Pandey 104df66ef8 BAEL-5734 - Mocking private fields (#14085)
* BAEL-5734 - Mocking private fields

* BAEL-5734 - reducing spring version to make it compatible
2023-06-05 09:12:47 +05:30
Michael Olayemi 3ddf5fa6a4 How to Display a Full HTTP Response Body with Gatling (#14148) 2023-06-03 09:12:18 +05:30
Loredana Crusoveanu 2c0482c409 Merge branch 'master' into master 2023-06-02 16:23:25 +03:00
edizor bfd7a0ecf9 Update README.md
[skip ci]
2023-06-02 09:15:32 +08:00
Pedro Lopes dfa2ef7a8e BAEL 6249: Gray Box Testing (#13610)
* test implementation and sut class

* finishing up unit tests

* format

* fix test name

* changing method source name

* creating new module testing-techniques

* fix package name

---------

Co-authored-by: Ashley Frieze <ashley@incredible.org.uk>
2023-05-31 20:32:16 +01:00
Dhawal Kapil 492ff5b888 JAVA-13721 Removed mockmaker file, not needed with mockito v5+ 2023-05-31 23:38:48 +05:30
collaboratewithakash f3ef8b2f85 backlink updated 2023-05-31 16:16:15 +05:30
collaboratewithakash bd37791f56 backlink updated 2023-05-27 16:39:31 +05:30
edizor aac4faa5fe Update README.md
[skip ci]
2023-05-25 23:31:28 +08:00
Bipin kumar 1cdf7489ee JAVA-21189: changes made for formatting modules starting from TVWX (#14107) 2023-05-24 19:38:09 +05:30
Loredana Crusoveanu b688f123db Merge pull request #13922 from dkapil/task/JAVA-13721
JAVA-13721 Format, Fix Package, Upgrade version of all the articles
2023-05-18 11:31:42 +03:00
thibaultfaure 934390aaef BAEL-6246 Fix AppControllerIntegrationTest (#14039)
Co-authored-by: thibault.faure <thibault.faure@mimacom.com>
2023-05-18 07:32:35 +05:30
edizor f96add5372 Update README.md
[skip ci]
2023-05-17 21:08:27 +08:00
thibaultfaure 00ca91bd58 BAEL-6246 Code for the article Send MultipartFile Request with RestAs… (#13803)
* BAEL-6246 Code for the article Send MultipartFile Request with RestAssured

* Fix code style in rest assured integration tests

---------

Co-authored-by: thibault.faure <thibault.faure@mimacom.com>
2023-05-16 19:59:16 +01:00
Dhawal Kapil c3767c3a91 Merge branch 'master' of https://github.com/eugenp/tutorials into
task/JAVA-13721

# Conflicts:
#	testing-modules/mockito-simple/pom.xml
2023-05-16 23:10:40 +05:30
Dhawal Kapil 585d1e1575 JAVA-13721 Further formatting of files 2023-05-16 23:06:58 +05:30
Dhawal Kapil 7b8fad5dc9 JAVA-13721 Fixing the formatting 2023-05-16 22:56:17 +05:30
Dmytro Budym f07f239d8d fix SeleniumOpenNewTabLiveTest (#14019) 2023-05-15 23:13:53 +05:30
Dmytro Budym 0a634dfa03 Add code examples for "Opening a New Tab Using Selenium WebDriver in Java" (#14001)
Add code examples for "Opening a New Tab Using Selenium WebDriver in Java"
2023-05-13 19:59:37 -07:00
edizor 4d1d7e01bf Update README.md
[skip ci]
2023-05-11 23:54:53 +08:00
cesarevalenti90 b3b69272fa BAEL-6197 - Execute Tests Based on Active Profile with JUnit 5 (#13776)
* BAEL-6255 - Run a Spring Boot application in AWS Lambda

* BAEL-6255 - Run a Spring Boot application in AWS Lambda

* fix on template.yaml

* fix on template.yaml

* removed log from test

* resolved issues reported on PR

* BAEL-6277 - A Guide To Spring Cloud Azure

First commit

* BAEL-6277 - A Guide To Spring Cloud Azure

Added to README.md the steps to create the secrets

* BAEL-6277 - A Guide To Spring Cloud Azure

Added the integration Azure Key Vault Properties

* BAEL-6277 - A Guide To Spring Cloud Azure

Added the integration Azure Key Vault Properties

* BAEL-6277 - A Guide To Spring Cloud Azure Key Vault

Added one level package keyvault

* BAEL-6277 - A Guide To Spring Cloud Azure Key Vault

removed target release version

* BAEL-6277 - A Guide To Spring Cloud Azure Key Vault

fix compilation of NoSuchElementException

* BAEL-6277 - A Guide To Spring Cloud Azure Key Vault

fix pom.xml

* Revert "BAEL-6277 - A Guide To Spring Cloud Azure Key Vault"

This reverts commit 1cca1d0d692646001a6d7de106f3a37fb22839ce.

* BAEL-6277 - A Guide To Spring Cloud Azure Key Vault

fix pom.xml

* BAEL-6277 - A Guide To Spring Cloud Azure Key Vault

downgrade version to fix jenkins pipeline error

* BAEL-6277 - A Guide To Spring Cloud Azure Key Vault

comment run on main class

* Revert "reset last commit"

This reverts commit c557fad67f1c15bb384f0af5781430a45121a838.

* BAEL 6197 - Execute Tests Based on Active Profile with JUnit 5

#First push

* BAEL-6277 - A Guide To Spring Cloud Azure Key Vault

Revert for new pr

* reset last commit

* reset last commit

* BAEL 6197 - Execute Tests Based on Active Profile with JUnit 5

#Remove redundant test

* BAEL 6197 - Execute Tests Based on Active Profile with JUnit 5

#Format fix

* BAEL 6197 - Execute Tests Based on Active Profile with JUnit 5

#fix from review

* BAEL 6197 - Execute Tests Based on Active Profile with JUnit 5

#fix from review

* BAEL 6197 - Execute Tests Based on Active Profile with JUnit 5

#fix test name

---------

Co-authored-by: Cesare <cesare.valenti@hotmail.com>
2023-05-10 17:09:10 -05:00
Michael Olayemi 7f15d46d00 Uploading File using Selenium WebDriver in Java (#13947)
* Uploading File using Selenium WebDriver in Java

* Uploading File using Selenium WebDriver in Java

* Uploading File using Selenium WebDriver in Java

* Uploading File using Selenium WebDriver in Java
2023-05-08 09:08:08 +05:30
edizor e47d956d5e Update README.md
[skip ci]
2023-05-05 23:48:25 +08:00
Bipin kumar 87e4bc434f JAVA-16612: Mock Final Classes and Methods with Mockito article; MockMaker improvement (#13890) 2023-05-03 12:36:25 +03:00
Loredana Crusoveanu 2d2c842d2f Merge pull request #13920 from edizor/master
Update README
2023-04-30 11:23:00 +03:00
Michael Olayemi 1770c64f3a BAEL-6194 Retrieve the Value of an HTML Input Using Selenium WebDriver in Java (#13898)
* Retrieve the Value of an HTML Input Using Selenium WebDriver in Java

* Retrieve the Value of an HTML Input Using Selenium WebDriver in Java

* Retrieve the Value of an HTML Input Using Selenium WebDriver in Java
2023-04-30 08:10:16 +05:30
Dhawal Kapil e5985b3739 JAVA-13721 Moved mockito-simple to JDK9+ profiles 2023-04-28 22:03:51 +05:30
Dhawal Kapil 005c68e0a6 JAVA-13721 Format, Fix Package, Upgrade version of all the articles 2023-04-28 20:24:19 +05:30
edizor 7f393b610d Update README.md
[skip ci]
2023-04-28 21:28:24 +08:00
edizor 059c8d71b8 Update README.md
[skip ci]
2023-04-28 21:26:18 +08:00
edizor a50cb65db3 Update README.md
[skip ci]
2023-04-28 20:15:06 +08:00
davidmartinezbarua bf3b038daa Merge pull request #13850 from AndiCover/BAEL-5739_2
BAEL-5739 Avoiding the StaleElementReferenceException in Selenium
2023-04-25 17:24:15 -03:00
Mateusz Szablak 5b6d81ff3d BAEL-6283 Creating a Test Suite with JUnit (#13873) 2023-04-25 18:38:24 +05:30
anuragkumawat 90f2d165bf JAVA-20496 Non-article code: rawtypes and sandbox packages (#13886)
* JAVA-14232 Dissolving core-java module completed
2023-04-24 10:40:47 +03:00
AndiCover 0ea86e69d9 BAEL-5739 Avoiding the StaleElementReferenceException in Selenium 2023-04-16 11:53:41 +02:00
edizor 4a32317897 Update README.md
[skip ci]
2023-04-14 17:27:27 +08:00
edizor c01d45b74e Update README.md
[skip ci]
2023-04-14 17:04:35 +08:00
AndiCover 725deaa8d5 BAEL-6117 Explicit Wait vs Implicit Wait in Selenium Webdriver (#13799) 2023-04-12 19:39:41 -05:00
etrandafir93 4a1641a7c7 BAEL-6285: added code support for JUnit5's @Timeout (#13784) 2023-04-08 19:28:06 -07:00
Kai Yuan d0d58509e2 [BAEL-6284_tmpDir] add tests for the cleanup option (#13752) 2023-04-04 20:16:46 -05:00
Eugene Kovko 7f6930e864 BAEL-6282 Add Native Image Condition (#13739) 2023-03-31 14:27:40 -07:00
edizor b02e225c00 Update README.md
[skip ci]
2023-03-24 16:12:11 +08:00
uzma 734709cd47 [BAEL-5894] fix artifact name in parent pom 2023-03-17 11:49:32 +00:00
uzma abc99812cf [BAEL-5894] Add Java code for Gatling perf test 2023-03-14 11:28:54 +00:00
Loredana Crusoveanu 8278e57e78 Merge pull request #13512 from panos-kakos/JAVA-18603
[JAVA-18603] Upgraded junit-jupiter.version to 5.9.2
2023-02-23 17:35:26 +02:00
Loredana Crusoveanu f4d680a8d8 Merge pull request #13442 from armandino/updated-version
Updated Instancio version
2023-02-21 23:19:57 +02:00
panos-kakos 0a60389b76 [JAVA-18603] Upgraded junit-platform version at parent pom 2023-02-21 17:23:18 +02:00
panos-kakos d4419b6bf1 [JAVA-18603] Upgraded junit-platform version 2023-02-21 06:31:23 +02:00
edizor 532494be75 Update README.md
[skip ci]
2023-02-17 18:32:41 +08:00
Arman Sharif 0f1c11f9b2 Updated Instancio version 2023-02-16 00:07:17 -08:00
davidmartinezbarua 570e3bc1ca Merge pull request #13424 from etrandafir93/features/BAEL-6198-junit5_nested_annotation
BAEL-6198: junit5 @Nested tests
2023-02-11 12:21:45 -03:00
emanueltrandafir1993 79cb26d04f BAEL-6198: fixed spacing for line continuation 2023-02-11 13:40:09 +01:00
edizor bc0ecd5118 Update README.md
[skip ci]
2023-02-09 07:26:39 +08:00
Kai Yuan 0e1a3beb99 [x-asserts-in-one] Single Assert Call for Multiple Properties in JUnit5 (#13413) 2023-02-04 10:19:19 -06:00
emanueltrandafir1993 b12a58d375 BAEL-6198: renaming 2023-02-04 16:49:19 +01:00
emanueltrandafir1993 fecb0722ee BAEL-6198: junit5 @Nested tests 2023-02-04 16:40:35 +01:00
edizor b5c8b3a080 Update README.md
[skip ci]
2023-02-02 23:25:16 +08:00
Loredana Crusoveanu 51058e940b match boot version, update path 2023-02-02 14:25:53 +02:00
timis1 848ae207b7 JAVA-16890 GitHub Issue: FindBugs should be SpotBugs (#13388)
Co-authored-by: timis1 <noreplay@yahoo.com>
2023-01-31 18:27:08 +05:30
Arman Sharif 7f3f707077 BAEL-6164: Generate unit test data with Instancio (#13350) 2023-01-26 16:29:47 -08:00
panos-kakos 9d4f599a1a [JAVA-16834] Added test case (#13192)
Co-authored-by: panagiotiskakos <panagiotis.kakos@libra-is.com>
2023-01-04 20:59:16 +05:30
collaboratewithakash c67ef1932c backlink fixed 2022-12-24 17:12:50 +05:30
edizor 769406aa32 Update README.md
[skip ci]
2022-12-22 22:06:38 +08:00
freelansam 456652e02b JAVA-16563: Fix formatting of POMs (#13175) 2022-12-20 22:37:54 +05:30
edizor 7fdb06b40e Update README.md
[skip ci]
2022-12-15 15:49:49 +08:00
Carlos Chacin 78124d60dd [BAEL-5976]: Extract Values using AssertJ in Java (#13105)
JIRA: https://jira.baeldung.com/browse/BAEL-5976
2022-12-13 16:55:12 -08:00
panos-kakos 0264bb82c8 Java 13914 (#13083)
* [JAVA-13914] Replaced Junit4 annotations with Junit5

* [JAVA-13914] Replaced Junit4 annotations with Junit5

* [JAVA-13914] Fixed test

* [JAVA-13914] Clean up

Co-authored-by: panagiotiskakos <panagiotis.kakos@libra-is.com>
2022-12-08 19:47:51 +05:30
kwoyke 85fded9b10 Merge pull request #13118 from freelansam/JAVA-16260
JAVA-16301: Check Article Code Matches GitHub
2022-12-07 20:59:38 +01:00
AndiCover 2ea3448efa Bael 4555 selenium tab switching (#13131)
* BAEL-4555 Added Selenium TabHelper and tab switching live tests

* BAEL-4555 Upgraded Selenium to 4.6.0

* BAEL-4555 fixed naming

Co-authored-by: andicover <w&j3$d9NEcfAQTXfxju9>
2022-12-05 16:08:01 -08:00
collaboratewithakash bcfa1ee452 Update README.md 2022-12-03 16:50:12 +05:30
freelansam 998415cd47 JAVA-16301: Check Article Code Matches GitHub 2022-12-02 18:45:30 +05:30
Haroon Khan cbacca44c9 [JAVA-15774] Update JUnit code 2022-11-26 22:21:37 +00:00
edizor d6a3dd20f3 Update README.md
[skip ci]
2022-11-25 15:41:11 +08:00
edizor c9d99174bb Update README.md
[skip ci]
2022-11-25 14:29:53 +08:00
freelansam 5bfbf38f59 JAVA-15409: Fix formatting of POMs (#12992) 2022-11-18 00:26:06 +05:30
Mateusz Szablak b55616cdb8 BAEL-5778 @RunWith(SpringRunner.class) vs @RunWith(MockitoJUnitRunner.class) (#12991) 2022-11-14 18:03:34 +05:30
Loredana Crusoveanu 926d7d2da8 JAVA-15810 add clarification about deleted files 2022-11-14 12:40:46 +02:00
edizor 1ab08e2bc7 Update README.md
[skip ci]
2022-11-11 09:58:17 +08:00
edizor 2987e954fe Update README.md
[skip ci]
2022-11-11 09:35:38 +08:00
edizor ec240863d7 Update README.md
[skip ci]
2022-11-11 09:10:03 +08:00
AndiCover 50f2c39544 Selenium error (#12924)
* BAEL-5010 added manual and automated selenium setup tests

* BAEL-5010 added manual and automated selenium setup tests

Co-authored-by: aschoeng <andreas.schoengruber@mic-cust.com>
2022-11-09 09:31:14 +05:30
Abhinav Pandey 113c42199a BAEL-5777 - Mocking a singleton with Mockito (#12977)
* BAEL-5777 - Mocking a singleton with Mockito

* BAEL-5777 - Mocking a singleton with Mockito - changing test class name

* BAEL-5777 - Mocking a singleton with Mockito - moving to new module
2022-11-07 10:17:03 +05:30
Abhinav Pandey aeac3c1d3c BAEL-5846 - Testing methods that call System.exit (#12952)
* BAEL-5846 - Testing methods that call System.exit

* BAEL-5846 - Testing methods that call System.exit - JMockit implementation

* BAEL-5846 - Testing methods that call System.exit - Changing test case names

* BAEL-5846 - Testing methods that call System.exit - changing test names

* BAEL-5777 - Mocking a singleton with Mockito - review incorporation
2022-11-06 15:39:05 +05:30
edizor 448a318036 Update README.md
[skip ci]
2022-11-02 21:12:34 +08:00
panos-kakos c97bebc822 [JAVA-15438] Added example to showcase @Generated on constructors (#12946)
Co-authored-by: panagiotiskakos <panagiotis.kakos@libra-is.com>
2022-10-29 21:18:12 +05:30
Mahn00rMalik fad70d5b4e BAEL-5779: assertAll vs Multiple Assertions in JUnit5 (#12819)
* Deep vs Shallow copy of an object in java

* update indentaions

* Create a BMI Caclualtor in Java

* Create a BMI Caclualtor in Java

* Delete unused packages

* BAEL-5708: Create a BMI Calculator in Java

* BAEL-5708: Create a BMI Calculator in Java

* BAEL-5767:Writing an ArrayList of Strings into a Text File

* BAEL-5767:Writing an ArrayList of Strings into a Text File

* Deleting files from core-java-io

* BAEL-5767: Writing an ArrayList of Strings into a Text File

* Removed files from core-java-11-2

* BAEL-5767:Writing an ArrayList of Strings into a Text File

* BAEL-5767:Writing an ArrayList of Strings into a Text File

* BAEL-5767:Writing an ArrayList of Strings into a Text File

* BAEL-5779:assertAll vs Multiple Assertions in JUnit5

* BAEL-5779:assertAll vs Multiple Assertions in JUnit5

* BAEL-5779:assertAll vs Multiple Assertions in JUnit5

* BAEL-5779:assertAll vs Multiple Assertions in JUnit5
2022-10-29 11:42:46 +01:00
edizor 4945fbb68d Update README.md 2022-10-26 22:23:02 +08:00
Eugene Kovko 06ee77d7df fix: Typo in the version property (#12884) 2022-10-18 14:36:35 -07:00
Eugene Kovko 6da922c20a BAEL-5760: Creating a separate mocks-2 module (#12882) 2022-10-16 15:10:50 -07:00
Eugene Kovko 88c31bab42 BAEL-5760: Change test names to BDD format (#12856)
Co-authored-by: Loredana Crusoveanu <lore.crusoveanu@gmail.com>
2022-10-13 12:47:24 -07:00
collaboratewithakash b2eabb8250 Update README.md 2022-09-23 14:23:53 +05:30
collaboratewithakash ef904c707a Update README.md 2022-09-23 14:19:13 +05:30
freelansam dc1815c10c JAVA-14673 - Fix formatting of POMs (#12722)
* JAVA-14673 - Fix formatting of POMs

* cleanup
2022-09-13 21:22:49 +05:30
panos-kakos cb8e969f17 [JAVA-13964] Upgrade javax-servlet-api to 4.0.1 (#12683)
Co-authored-by: panagiotiskakos <panagiotis.kakos@libra-is.com>
Co-authored-by: Dhawal Kapil <dhawalkapil@gmail.com>
2022-09-10 00:01:01 +05:30