Our great sponsors
-
WorkOS
The modern identity platform for B2B SaaS. The APIs are flexible and easy-to-use, supporting authentication, user identity, and complex enterprise features like SSO and SCIM provisioning.
The official suggests using dagger/hilt to inject them. However, they could be static based on the static ApplicationContext. Although Dagger/hilt aids in unit testing, mockk can accomplish this easily as well by modifying bytecode during run time. As for the stability, `mockk` has 5000+ stars on GitHub and keeps renewing.
NOTE:
The number of mentions on this list indicates mentions on common posts plus user suggested alternatives.
Hence, a higher number means a more popular project.
Related posts
- LocalDateTime.now() mockk
- reflective-mockk: Stub methods programmatically using kotlin-reflect
-
mockk VS mockative - a user suggested alternative
2 projects | 9 Nov 2022
- What is the current recommended technical stack when starting a new Android application from scratch?
- Unit testing with Mockk tweaks and tricks part1