spek
A specification framework for Kotlin (by spekframework)
aspen
Aspen is a simple test runner for Kotlin that allows you to write tests using your own DSL. (by dam5s)
spek | aspen | |
---|---|---|
2 | - | |
2,222 | 33 | |
-0.2% | - | |
0.0 | 0.0 | |
5 months ago | almost 3 years ago | |
Kotlin | Kotlin | |
GNU General Public License v3.0 or later | MIT License |
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.
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.
aspen
Posts with mentions or reviews of aspen.
We have used some of these posts to build our list of alternatives
and similar projects.
We haven't tracked posts mentioning aspen yet.
Tracking mentions began in Dec 2020.
What are some alternatives?
When comparing spek and aspen you can also consider the following projects:
Kotest - Powerful, elegant and flexible test framework for Kotlin with additional assertions, property testing and data driven testing
hamkrest - Hamcrest for Kotlin
mockk - mocking library for Kotlin
kwik - Property-based testing library for Kotlin
expekt - BDD assertion library for Kotlin
balin - Balin is an automation library for Kotlin. It's basically a Selenium-WebDriver wrapper inspired by Geb.
mockito-kotlin - Using Mockito with Kotlin
mock-fuel - JUnit 5 extension to easily test with the http client Fuel for Kotlin
konsent - An acceptance test library for Kotlin
kspec - Kotlin Specification Framework