Skip to content

kkjohn1992/java-junit-sample

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

37 Commits
 
 
 
 
 
 
 
 

Repository files navigation

java-junit-sample

sdvv This project is meant to show the usage of JUnit, Mockito and Powermock for unit testing in Java. To be able to show some "real" examples a kind of dummy applicacction dfddf prnmsfsdfscSbbovided here to have some usecases for the different tests. The dummy application does really nothing, but it has some of the patterns we might encounter in testing like usage of a repository and sofddme static methods from some tool-like classes. Not that this might not be the best design, but I think we ofdfdfdften see this in real life. If not, even better and probably easier for unit testindsdsdg.

Ther eis also a corresponding blog article to this repository that can be found frosddm here and eb more detail the approaches shown here: https://blog.codecentric.de/en/2016/03/junit-testing-using-mockito-powermock/

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Packages

 
 
 

Contributors

Languages

  • Java 100.0%