Azhwani
bc0f290d0e
BAEL-4469: Update Introduction to Mockito AdditionalAnswers ( #12267 )
...
* init commit
* improve test cases
2022-06-05 17:26:59 +02:00
Loredana Crusoveanu
95e8ee82ec
Merge pull request #12114 from Alex-Golub/study/test-order
...
The Order of Tests in JUnit
2022-05-27 21:41:39 +03:00
Loredana Crusoveanu
3c409920ff
Merge pull request #12100 from Alex-Golub/study/junit5-intro
...
JUnit5 writing test conventions, reformatting and import optimization
2022-05-27 21:21:51 +03:00
Loredana Crusoveanu
080d38525e
Merge pull request #12106 from Alex-Golub/study/junit4vs5
...
Assertions in JUnit 4 and JUnit 5 suggestions
2022-05-27 21:21:16 +03:00
Loredana Crusoveanu
d94cd0351a
Merge pull request #12105 from Alex-Golub/study/assert-exception
...
JUnit5 conventions + code rearrangement
2022-05-27 21:18:24 +03:00
Loredana Crusoveanu
60674f2b14
Merge branch 'master' into study/junit5-intro
2022-05-27 21:16:59 +03:00
kwoyke
a4f670805f
Merge pull request #12185 from freelansam/JAVA-11792
...
JAVA-11792: Fix formatting of POMs
2022-05-09 11:04:26 +02:00
kwoyke
dc8bc783a6
Merge pull request #12149 from anuragkumawat/JAVA-11776
...
JAVA-11776 Remove usage of deprecated JUnitPlatform.class in junit5 module
2022-05-09 10:55:14 +02:00
sampadawagde
aeeedb6fe6
JAVA-11792: Fix formatting of POMs
2022-05-08 16:36:25 +05:30
kwoyke
79296aaa66
Merge pull request #12150 from anuragkumawat/JAVA-11777
...
JAVA-11777 Remove usage of deprecated JUnitPlatform.class in junit5-migration module
2022-05-06 13:44:58 +02:00
anuragkumawat
3fb782e9c6
JAVA-11777 Remove usage of deprecated JUnitPlatform.class in junit5-migration module
2022-04-30 22:18:43 +05:30
anuragkumawat
c6e29902d8
JAVA-11775 Remove usage of deprecated JUnitPlatform.class in junit-5-basics module
2022-04-30 21:49:57 +05:30
anuragkumawat
b74c2f1db4
JAVA-11775 Remove usage of deprecated JUnitPlatform.class in junit-5-basics module
2022-04-30 14:09:10 +05:30
Alex Golub
2842bfcf0c
Swap these 2 arguments, so they are in the correct order: expected value, actual value
2022-04-22 21:50:24 +03:00
Alex Golub
b14ffd302a
Junit4 'assertEquals()' from 'Assert' should be replaced with JUnit5 call to method from 'org.junit.jupiter.api.Assertions'
2022-04-22 21:49:00 +03:00
Alex Golub
cea3dac6ee
JUnit5 test classes and methods should have default package visibility
2022-04-22 21:27:02 +03:00
Alex Golub
4342e78377
Simplify to assertNull(Object, String)
2022-04-21 11:50:34 +03:00
Alex Golub
afe41ad0da
Add an explanation about why this test is skipped as value of @Disabled
2022-04-21 11:50:34 +03:00
Alex Golub
019df79222
Typos
2022-04-21 11:50:33 +03:00
Alex Golub
69bf5c8017
Explicitly create Supplier<String> to demonstrate use of assertNull(Object, Supplier<String>) method
2022-04-21 11:26:51 +03:00
Alex Golub
3057730a4d
Code reformat
2022-04-21 11:07:21 +03:00
Alex Golub
182e938651
JUnit5 test classes and methods should have default package visibility
2022-04-21 11:06:23 +03:00
Alex Golub
34030c810a
assertThat(T, Matcher<? super T>) Deprecated. Use org.hamcrest.MatcherAssert.assertThat()
2022-04-21 11:05:26 +03:00
Alex Golub
ebec80562c
Method name typo
2022-04-21 10:30:44 +03:00
Alex Golub
cb11de0f0c
Delete redundant curly braces when using single lambda statement
2022-04-21 10:30:28 +03:00
Alex Golub
79d31ebc1d
JUnit5 test classes and methods should have default package visibility
2022-04-21 10:29:26 +03:00
Alex Golub
4b3b447695
Method name typo
2022-04-20 14:51:58 +03:00
Alex Golub
488631d4ba
Statement lambda can be replaced with expression lambda
2022-04-20 14:51:58 +03:00
Alex Golub
a538beb16c
Assertion arguments should be passed in the correct order
2022-04-20 14:51:58 +03:00
Alex Golub
429a713811
JUnit5 test classes and methods should have default package visibility
2022-04-20 14:51:58 +03:00
Alex Golub
c6ef576ef3
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
8bafc81847
Use the default package visibility and optimize imports
2022-04-20 13:50:30 +03:00
sampadawagde
6fa2fde296
fixed typo
2022-04-03 16:54:01 +05:30
kwoyke
3921fdbdb3
Merge pull request #11920 from freelansam/JAVA-10138
...
JAVA-10138 - Fix formatting of POMs
2022-03-14 15:00:17 +01:00
sampadawagde
338bfbe537
resolve conflicts
2022-03-13 14:53:36 +05:30
sampadawagde
6b1dd1563d
JAVA-10138 - Fix formatting of POMs
2022-03-13 14:48:44 +05:30
Haroon Khan
2bdc9bf90d
[JAVA-10432] Rename and enable testng-command-line module
2022-03-04 21:17:23 +00:00
sampadawagde
2c235f232a
JAVA-9825: Upgrade log4j version for modules that use log4j-core library
...
directly
2022-02-09 16:09:44 +05:30
Asjad J
6577089f7d
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
cb69709259
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
4d818c4eb1
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
1d0a4c95c8
JAVA-9486: Use guava.version defined in the parent pom
2022-01-18 09:42:21 +01:00
kwoyke
0b629590de
Merge pull request #11670 from freelansam/JAVA-9022
...
JAVA-9022: Fix formatting of POMs
2022-01-13 09:50:07 +01:00
victorsempere
1fcb2199c7
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
150dbd10e7
JAVA-9022: Fix formatting of POMs
2022-01-10 22:05:47 +05:30
chaos2418
df63ff7344
JAVA-3591: updating mockito version in parent-boot-2
2021-12-23 14:58:50 +05:30
chaos2418
35ee789731
JAVA-3591: updating mockito-core to 4.1.0
2021-12-18 13:40:53 +05:30
Haroon Khan
ae9d1fcd8e
[JAVA-8703] Fix Live test to allow isolated execution
2021-12-01 22:41:31 +00:00
Krzysiek
6a2f78d4ab
JAVA-8709: Extract commons-collections4.version property to the main pom.xml
2021-11-26 13:17:01 +01:00
Haroon Khan
6d5ae33f5b
[JAVA-8355] Move article code to spring-testing-2 module
2021-11-25 19:51:32 +00:00