shared-preferences-mock
Library for unit testing shared preferences classes on Android (by IvanShafran)
spek
A specification framework for Kotlin (by spekframework)
shared-preferences-mock | spek | |
---|---|---|
1 | 2 | |
32 | 2,223 | |
- | -0.2% | |
2.7 | 0.0 | |
7 months ago | 5 months ago | |
Java | Kotlin | |
MIT License | GNU General Public License v3.0 or later |
The number of mentions indicates the total number of mentions that we've tracked plus the number of user suggested alternatives.
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
shared-preferences-mock
Posts with mentions or reviews of shared-preferences-mock.
We have used some of these posts to build our list of alternatives
and similar projects. The last one was on 2023-10-22.
-
Evolution of unit tests in Android
Shared preferences mock
spek
Posts with mentions or reviews of spek.
We have used some of these posts to build our list of alternatives
and similar projects. The last one was on 2023-10-22.
-
Evolution of unit tests in Android
Spek is a unit testing framework for Kotlin which supports Specification and Gherkin style.
-
Best practices for Unit Testing Android Apps with Mockk, Kotest and others
The describe-it style is mainly used to write Spek tests. describe structure allows us to create a group of tests describing a specific method, and, in it, a specific scenario for the method is written. But it is also possible to use the GivenWhenThen style. Unfortunately, the framework doesn’t have embedded coroutine support, so we have to always use runBlockingTest { } for suspended functions. There is a ticket with this feature request on Github, but it seems it was never completed.