Skip to content

Raj2020Github/mockito_assessment

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

mockito_assessment

Problem statement:

Create a simple maven project with group id com.in28mins. Write a Junit test for the truncateAInFirst2Positions method by passing a string & add test case & assertEquals run the test without failure & run successful Junit.

Run a test method that includes before, after, before class & after class methods.

Write a mocks example ToDo service management system & create a unit test using a stub to implement the ToDo service.

Write a test mock list get using BDD in a Given, When & Then style add a delete Todo method in the service interface.

Add the hamcrest library dependency to porm.xml & use the assert that method & do ham crest matchers test.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Java 100.0%