Commit Graph

754 Commits

Author SHA1 Message Date
Asjad J
9b45e1511d Update README.md
changed the expired link https://www.baeldung.com/mockito-2-java-8 to correct link https://www.baeldung.com/mockito-java-8
2022-09-04 06:11:07 +05:00
Asjad J
7109290225 Update README.md
changed the expired link https://www.baeldung.com/mockito-2-lazy-verification to correct link https://www.baeldung.com/mockito-lazy-verification
2022-09-04 06:07:40 +05:00
Loredana Crusoveanu
b796b95334 Merge pull request #12661 from dkapil/task/JAVA-13636
Task/java 13636
2022-08-31 10:17:27 +03:00
Dhawal Kapil
743d4aa2e6 JAVA-13636 Minor cleanup 2022-08-28 20:42:59 +05:30
Dhawal Kapil
fb39b219e7 JAVA-13636 Updated Junit5 article 2022-08-28 19:29:37 +05:30
anuragkumawat
911471d8dd JAVA-13746 testing-modules parallel-tests-junit not running in parallel (#12655) 2022-08-28 18:42:36 +05:30
Haroon Khan
bea0209f39 [JAVA-13976] Upgrade Spring Boot to 2.7.2 (#12603)
* [JAVA-13976] Upgrade Spring Boot to 2.7.2

* [JAVA-13976] Fix failing test due to incorrect Jackson version
2022-08-22 22:47:32 +05:30
Dhawal Kapil
b4c7469fcf Merge branch 'master' of https://github.com/eugenp/tutorials into
task/JAVA-13630

# Conflicts:
#	persistence-modules/fauna/pom.xml
2022-08-11 00:03:03 +05:30
Dhawal Kapil
d4f06c9498 JAVA-13634 Cleanup 2022-08-10 23:47:50 +05:30
Dhawal Kapil
cee0b1446b JAVA-13630 Fixed/Clean Imports 2022-08-10 23:08:14 +05:30
Dhawal Kapil
4448627da8 JAVA-13632 Updated code for Mocking Void Methods with Mockito 2022-08-09 22:41:27 +05:30
anuragkumawat
75abf5a2d0 JAVA-13606 Remove mention of Mockito 2 as a separate library (#12571) 2022-08-06 18:35:30 +05:30
Dhawal Kapil
16c395d695 JAVA-13629 More fixes and updates (#12566) 2022-08-05 01:19:05 +05:30
kwoyke
ca0748794d Merge pull request #12538 from dkapil/task/JAVA-13629
Task/java 13629
2022-07-31 22:15:33 +02:00
kwoyke
629500bd8e Merge pull request #12536 from dkapil/task/JAVA-13628
Task/java 13628
2022-07-31 22:13:25 +02:00
Dhawal Kapil
a358751614 JAVA-13630 Updated code for Mockito - Using Spies Article 2022-07-31 23:26:36 +05:30
Dhawal Kapil
c75fb84a22 JAVA-13627 Updated code to use assertThatThrownBy instead of assertThrows 2022-07-31 21:57:45 +05:30
Dhawal Kapil
0d03cade4e JAVA-13629 Added missing tests from Mockito ArgumentMatchers article 2022-07-26 23:31:25 +05:30
Dhawal Kapil
e0eaadb180 JAVA-13628 Minor upgrades 2022-07-26 18:38:10 +05:30
Dhawal Kapil
c7f661b366 JAVA-13627 Removed MockitoMockIntegrationTest as it was a duplicate, other cleanup and API upgrades 2022-07-26 18:23:50 +05:30
Dhawal Kapil
1ba4351902 JAVA-12033 Upgraded assertion libraries and minor cleanup 2022-07-26 12:58:41 +05:30
Dhawal Kapil
bf70fa3fc6 JAVA-13625 Updated/upgraded Mockito Annotations Code 2022-07-26 12:41:56 +05:30
anuragkumawat
976e355b1f JAVA-13336 Refactor mockito modules (#12517)
* JAVA-13336 Refactor mockito modules

* JAVA-13336 Fix Jenkins build
2022-07-21 23:10:50 +05:30
Dhawal Kapil
be1a779d3e JAVA-12032 Added mockito-simple to testing-modules list 2022-07-15 17:54:12 +05:30
Dhawal Kapil
8c27a25ae1 JAVA-12032 Move Mockito ebook articles code to common module - mockito-simple- Delete mockito-3 since it had only 1 article which was moved to mockito-simple 2022-07-15 17:52:21 +05:30
panos-kakos
98e1ded02a Moved spring-mockito to testing-modules (#12476)
Co-authored-by: panagiotiskakos <panagiotis.kakos@libra-is.com>
2022-07-11 20:59:42 +05:30
Loredana Crusoveanu
a2148f2550 Merge pull request #12292 from eugenp/lor6-patch-2
Update ConditionalExecutionUnitTest.java
2022-06-30 16:53:13 +03:00
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
a037e8008e Update ConditionalExecutionUnitTest.java 2022-06-01 16:34:10 +03: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