Square's Burst library for JUnit 4 parameterized testing is being deprecated in favor of Google's TestParameterInjector. The migration is straightforward: replace the @RunWith(BurstJUnit4::class) runner with @RunWith(TestParameterInjector::class) and add @TestParameter annotations to enum parameters in constructors, fields, or test methods. TestParameterInjector supports more types and dynamic parameter generation. Android users should note that instrumentation tests currently require API 26 or newer.

2m read timeFrom code.cash.app
Post cover image