spek
A specification framework for Kotlin (by spekframework)
expekt
BDD assertion library for Kotlin (by winterbe)
spek | expekt | |
---|---|---|
2 | - | |
2,222 | 172 | |
-0.2% | - | |
0.0 | 0.0 | |
5 months ago | almost 2 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.
expekt
Posts with mentions or reviews of expekt.
We have used some of these posts to build our list of alternatives
and similar projects.
We haven't tracked posts mentioning expekt yet.
Tracking mentions began in Dec 2020.
What are some alternatives?
When comparing spek and expekt 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
mockk - mocking library for Kotlin
Kluent - Fluent Assertion-Library for Kotlin
mockito-kotlin - Using Mockito with Kotlin
aspen - Aspen is a simple test runner for Kotlin that allows you to write tests using your own DSL.
hamkrest - Hamcrest for Kotlin
balin - Balin is an automation library for Kotlin. It's basically a Selenium-WebDriver wrapper inspired by Geb.
kspec - Kotlin Specification Framework
atrium - A multiplatform expectation library for Kotlin