Skip to content

Unit testing

Sridhar edited this page Aug 29, 2023 · 3 revisions

Unit testing usually refers testing a particular units of code totally in isolation with other component to ensure their correctness and functionality. To bring the isolation we need to seek help on framework like Mockito to create stubs, mock, and test doubles.

Example:

File under test

Test file

Todo:

  • Add more example from repo and write a breif
Clone this wiki locally