Parametrized tests with Spek
![](https://androidpro.io/wp-content/uploads/2023/09/distractedjpg-1024x512.jpg)
Using Spek to generate test cases
Building Unit Tests for ViewModel in TDD style
![](https://androidpro.io/wp-content/uploads/2023/09/construction-1024x682.jpg)
In this example we will try to implement VenueDetailsViewModel in TDD style. TDD (Test Driven Development) is development technique, where developer relies on unit tests created before actual implementation.