Multiplying_the_quality_of_unit_tests
kwik
Multiplying_the_quality_of_unit_tests | kwik | |
---|---|---|
2 | - | |
6 | 22 | |
- | - | |
1.0 | 7.2 | |
about 1 year ago | almost 3 years 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.
Multiplying_the_quality_of_unit_tests
-
Better Unit Tests with Property-Based Tests
You can see the code snippet of this broken validator here
-
Better Unit Tests with Parameterized Tests
Contains at least 6 digits. Show "contains less than 6 chars" otherwise Although you can take another approach to implement it, I've used a Composite pattern: PasswordValidator (Composite) and Validators (Leaves) that accepts a vararg of Validators (Leaves) as argument in its constructor, each value validating one single requirement.
kwik
We haven't tracked posts mentioning kwik yet.
Tracking mentions began in Dec 2020.
What are some alternatives?
aspen - Aspen is a simple test runner for Kotlin that allows you to write tests using your own DSL.
kotlin-faker - Port of a popular ruby faker gem written in kotlin. Generate realistically looking fake data such as names, addresses, banking details, and many more, that can be used for testing and data anonymization purposes.
mockito-kotlin - Using Mockito with Kotlin
PlotAssert - Test the shape of your functions!
Kotest - Powerful, elegant and flexible test framework for Kotlin with additional assertions, property testing and data driven testing
mockk - mocking library for Kotlin
hikaku - A library that tests if the implementation of a REST-API meets its specification.
Kluent - Fluent Assertion-Library for Kotlin
Elmyr - A utility to make Kotlin/Java tests random yet reproducible
k-sera - A JMock wrapper for Kotlin
atrium - A multiplatform expectation library for Kotlin
kiwi - Fluent assertions for Kotlin