551 Commits

Author SHA1 Message Date
Alex Golub
7d343f7674 assertThat(T, Matcher<? super T>) Deprecated. Use org.hamcrest.MatcherAssert.assertThat() 2022-04-21 11:05:26 +03:00
Alex Golub
95aff67d58 Method name typo 2022-04-21 10:30:44 +03:00
Alex Golub
0af6112abf Delete redundant curly braces when using single lambda statement 2022-04-21 10:30:28 +03:00
Alex Golub
f1801bbd6f JUnit5 test classes and methods should have default package visibility 2022-04-21 10:29:26 +03:00
Alex Golub
7ef7265dce Method name typo 2022-04-20 14:51:58 +03:00
Alex Golub
37b5df83c5 Statement lambda can be replaced with expression lambda 2022-04-20 14:51:58 +03:00
Alex Golub
2327a11eca Assertion arguments should be passed in the correct order 2022-04-20 14:51:58 +03:00
Alex Golub
efaf789e71 JUnit5 test classes and methods should have default package visibility 2022-04-20 14:51:58 +03:00
Alex Golub
d722c0d1d1 Reformat
Put each assertion on separate line to improve readability
Explain why test is marked @Disabled
2022-04-20 13:57:15 +03:00
Alex Golub
73e2047689 Use the default package visibility and optimize imports 2022-04-20 13:50:30 +03:00
sampadawagde
e6bbac2a78 fixed typo 2022-04-03 16:54:01 +05:30
kwoyke
cdc6380359 Merge pull request #11920 from freelansam/JAVA-10138
JAVA-10138 - Fix formatting of POMs
2022-03-14 15:00:17 +01:00
sampadawagde
d2cea2ef06 resolve conflicts 2022-03-13 14:53:36 +05:30
sampadawagde
b8176a265a JAVA-10138 - Fix formatting of POMs 2022-03-13 14:48:44 +05:30
Haroon Khan
ef88a1803f [JAVA-10432] Rename and enable testng-command-line module 2022-03-04 21:17:23 +00:00
sampadawagde
34aa920593 JAVA-9825: Upgrade log4j version for modules that use log4j-core library
directly
2022-02-09 16:09:44 +05:30
Asjad J
856f101dc8 Update README.md
added link back to article: Running a TestNG Project From the Command Line

[skip ci]
2022-01-24 11:10:50 +05:00
Asjad J
4bebebad69 Update README.md
added link back to article: Get the Name of the Currently Executing Test in JUnit
2022-01-23 10:22:06 +05:00
Yashasvii
efcef3152a BAEL-5208: Get the name of the currently executing test in JUnit (#11462)
* Hexagonal Architecture in Java

* Refactor Hexagonal Architecture in Java

* Refactor Hexagonal Architecture in Java

* BAEL-5163: HashMap - keySet vs entrySet vs values methods

* BAEL-5163: HashMap - keySet vs entrySet vs values methods

* Revert "Hexagonal Architecture in Java"

This reverts commit 1add21c1

* BAEL-5163: HashMap - keySet vs entrySet vs values methods

* BAEL-5163: HashMap - keySet vs entrySet vs values methods"

* BAEL-5208: Get the name of the currently executing test in JUnit

* BAEL-5208: Get the name of the currently executing test in JUnit

* BAEL-5208: Get the name of the currently executing test in JUnit

* BAEL-5208: Get the name of the currently executing test in JUnit

* BAEL-5208: Get the name of the currently executing test in JUnit

* BAEL-5208: Get the name of the currently executing test in JUnit
2022-01-19 09:20:19 +00:00
Krzysiek
5242966787 JAVA-9486: Use guava.version defined in the parent pom 2022-01-18 09:42:21 +01:00
kwoyke
4eb04dc0bc Merge pull request #11670 from freelansam/JAVA-9022
JAVA-9022: Fix formatting of POMs
2022-01-13 09:50:07 +01:00
victorsempere
29ebe5e849 BAEL-4631 (#11644)
* BAEL-4631

First code example draft

* BAEL-4631

Removed unnecesary constructors
Removed unnecessary comments
Removed unnecessary test

* BAEL-4631

Fixed xml files format

* BAEL-4631

Fixing pom.xml and testng.xml indentation
2022-01-12 23:51:07 +00:00
sampadawagde
65f643262d JAVA-9022: Fix formatting of POMs 2022-01-10 22:05:47 +05:30
chaos2418
1227c38388 JAVA-3591: updating mockito version in parent-boot-2 2021-12-23 14:58:50 +05:30
chaos2418
000dcdf966 JAVA-3591: updating mockito-core to 4.1.0 2021-12-18 13:40:53 +05:30
Haroon Khan
1ff29cf596 [JAVA-8703] Fix Live test to allow isolated execution 2021-12-01 22:41:31 +00:00
Krzysiek
f9f37ac4e6 JAVA-8709: Extract commons-collections4.version property to the main pom.xml 2021-11-26 13:17:01 +01:00
Haroon Khan
805500140f [JAVA-8355] Move article code to spring-testing-2 module 2021-11-25 19:51:32 +00:00
kwoyke
f5c35ffe97 Merge pull request #11506 from eugenp/JAVA-3592
JAVA-3592: Upgrade h2 dependency in the main pom.xml
2021-11-25 13:31:47 +01:00
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