Free

JUnit5 and Mockito

Mocking… Arrange: Mocking makes entire functionality lost. It is training your mock by stubbing all the external dependencies with a given dummy input/expected output; when():thenReturns; throws exceptions. What remains are lines of code in the if/else branches that are executed by the type of input. Action: Calling the class under test’s (CUT) actual method in …

JUnit5 and Mockito Read More »

Working with Git

Pre-requisites: git is installed on your machine having admin rights. Git – Downloads (git-scm.com) Exercise Caution: Understand the git commands and their outcomes; before running them on your machine Quick setup steps: Identifying yourself for the codes you modify git config –global user.name “John doe”git config–global user.email jdoe@example.comgit config –list 4. git status 5. git add …

Working with Git Read More »