kspec
spek
kspec | spek | |
---|---|---|
- | 2 | |
18 | 2,223 | |
- | 0.0% | |
0.0 | 0.0 | |
over 7 years ago | 5 months ago | |
Kotlin | Kotlin | |
MIT License | GNU General Public License v3.0 or later |
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.
kspec
We haven't tracked posts mentioning kspec yet.
Tracking mentions began in Dec 2020.
spek
-
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.
What are some alternatives?
expekt - BDD assertion library for Kotlin
Kotest - Powerful, elegant and flexible test framework for Kotlin with additional assertions, property testing and data driven testing
atrium - A multiplatform expectation library for Kotlin
mockk - mocking library for Kotlin
aspen - Aspen is a simple test runner for Kotlin that allows you to write tests using your own DSL.
hamkrest - Hamcrest for Kotlin
mockito-kotlin - Using Mockito with Kotlin
SeleniumBuilder - Kotlin DSL for Selenium. Provide a possibility to write tests in Kotlin type-safe builders style
balin - Balin is an automation library for Kotlin. It's basically a Selenium-WebDriver wrapper inspired by Geb.