Skip to content

Application describing Mockito Framework that is used for effective unit testing in JAVA applications.

Notifications You must be signed in to change notification settings

abdulwaheed18/MockitoApplication

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 

Repository files navigation

Unit test cases with Mockito - Tutorial

Mockito Application will covers the integration of Mockito into JAVA application and it's usage in a very simple and easy manner.

Tutorials

Series of Test classes to understand the implemenetaion of Mockito with/without Annotation and its usage.

1. EmployeeServiceTest_Annotation

Check the https://github.com/abdulwaheed18/MockitoApplication/blob/master/src/test/java/in/waheedtechblog/mocikto/test/EmployeeServiceTest_Annotation.java JUNIT test cases to understand the usage of Mockito object and its implementation using Annotation.

2. EmployeeServiceTest_WithoutAnnotation

Check the https://github.com/abdulwaheed18/MockitoApplication/blob/master/src/test/java/in/waheedtechblog/mocikto/test/EmployeeServiceTest_WithoutAnnotation.java JUNIT test cases to understand the usage of Mockito object and and its implementation without using Annotation.

3. EmployeeServiceTest_Spy.java

Check the https://github.com/abdulwaheed18/MockitoApplication/blob/master/src/test/java/in/waheedtechblog/mocikto/test/EmployeeServiceTest_Spy.java JUNIT test cases to understand the usage of Spy object in Mockito.

Copyright (c) 2017, Waheedtechblog.

About

Application describing Mockito Framework that is used for effective unit testing in JAVA applications.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages