#kotlin #JUnit #Mockk #OkHttpMockServer #WireMock # Tamil
In this video we are discussing about the different mock frameworks available for JUnit test cases. Especially we are discussing about mockk for koltin functional test cases, okhttpserver for mocking the server response while running the Junit test cases and wiremock to mock the whole response with different scenario for various app or clients until the original server is available.
00:02:26 Mock:
https://mockk.io/
00:08:10 OKHttpMockServer:
https://github.com/square/okhttp/tree...
00:10:31 OKHttpMockServer Integration
00:16:39 WireMock (MokingJay)
To download wiremock Jar
https://repo1.maven.org/maven2/com/gi...
Admin predefined end points for wiremock
To see all scenario
http://localhost:9900/__admin/scenarios
To see all mappings:
http://localhost:9900/__admin/mappings
Request matching
http://wiremock.org/docs/request-matc...
PiLibrary Network layer development:
• Code With Me: Retrofit Integration|MVVM+Re...
Android Playlist: (Tamil)
• Let's learn Android in Tamil