Get real-time insights from all types of time series data with InfluxDB. Ingest, query, and analyze billions of data points in real-time with unbounded cardinality. Learn more โ
Top 23 Kotlin Testing Projects
-
Kotest
Powerful, elegant and flexible test framework for Kotlin with additional assertions, property testing and data driven testing
-
InfluxDB
Power Real-Time Data Analytics at Scale. Get real-time insights from all types of time series data with InfluxDB. Ingest, query, and analyze billions of data points in real-time with unbounded cardinality.
-
kotlin-sample-app
๐ Sample Android Components Architecture on a modular word focused on the scalability, testability and maintainability written in Kotlin, following best practices using Jetpack.
-
NotyKT ๐๏ธ
๐ NotyKT is a complete ๐Kotlin-stack (Backend + Android) ๐ฑ application built to demonstrate the use of Modern development tools with best practices implementation๐ฆธ.
-
WorkOS
The modern identity platform for B2B SaaS. The APIs are flexible and easy-to-use, supporting authentication, user identity, and complex enterprise features like SSO and SCIM provisioning.
-
Pact JVM
JVM version of Pact. Enables consumer driven contract testing, providing a mock service and DSL for the consumer project, and interaction playback and verification for the service provider project.
-
skrape.it
A Kotlin-based testing/scraping/parsing library providing the ability to analyze and extract data from HTML (server & client-side rendered). It places particular emphasis on ease of use and a high level of readability by providing an intuitive DSL. It aims to be a testing lib, but can also be used to scrape websites in a convenient fashion.
-
kotlin-compile-testing
A library for testing Kotlin and Java annotation processors, compiler plugins and code generation
-
kotlin-power-assert
Kotlin compiler plugin to enable diagrammed function calls in the Kotlin programming language
-
EvoMaster
The first open-source AI-driven tool for automatically generating system-level test cases (also known as fuzzing) for web/enterprise applications. Currently targeting whitebox and blackbox testing of Web APIs, like REST, GraphQL and RPC (e.g., gRPC and Thrift).
-
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.
-
Android-screenshot-testing-playground
A sample repo to introduce screenshot testing in Android with different libraries
-
SaaSHub
SaaSHub - Software Alternatives and Reviews. SaaSHub helps you find the best software and product alternatives
Project mention: For those DAO, Services, how about using static objects with mockk for test | /r/u_Fun_Indication4997 | 2023-12-08The official suggests using dagger/hilt to inject them. However, they could be static based on the static ApplicationContext. Although Dagger/hilt aids in unit testing, mockk can accomplish this easily as well by modifying bytecode during run time. As for the stability, `mockk` has 5000+ stars on GitHub and keeps renewing.
As you might know, Advent of Code will begin this Friday! If, like me, you want to have a go at solving the puzzles in Kotlin, I would like to share with you a little library I've developed to reduce boilerplate and solve the puzzles in a test-driven approach. It is based on Kotest, a modern and Kotlin-first test framework.
Spek is a unit testing framework for Kotlin which supports Specification and Gherkin style.
API Contract Testing might be worth exploring. Gives you the ability to run it quickly locally or in CI/CD. A centralized way to validate if your changes broke another service might also be interesting. That series of videos from the same team is gold: https://docs.pact.io
What is wrong with skrape.it?
Project mention: EvoMaster 2.0: A Fuzzer for generating JUnit tests for REST, GraphQL and RPC APIs | /r/java | 2023-10-13Open-source on GitHub at: https://github.com/EMResearch/EvoMaster
What's even better is either https://github.com/YarikSOffice/venom or adb shell am kill [packagename] (when backgrounded)
Kotlin Testing related posts
- Tests Everywhere - Kotlin
- Evolution of unit tests in Android
- EvoMaster 2.0: A Fuzzer for generating JUnit tests for REST, GraphQL and RPC APIs
- ๐งช **Demystifying Kotlin Unit Testing**: Your Odyssey to Code Confidence! ๐
- Database Testing with Testcontainers and Kotlin Exposed ORM
- Running tests against a different repository (CI/CD)
- Best practices for Unit Testing Android Apps with Mockk, Kotest and others
-
A note from our sponsor - InfluxDB
www.influxdata.com | 26 Apr 2024
Index
What are some of the best open-source Testing projects in Kotlin? This list will help you:
Project | Stars | |
---|---|---|
1 | mockk | 5,280 |
2 | Kotest | 4,282 |
3 | kotlin-sample-app | 2,377 |
4 | spek | 2,223 |
5 | Barista | 1,695 |
6 | NotyKT ๐๏ธ | 1,648 |
7 | Shot | 1,160 |
8 | Pact JVM | 1,056 |
9 | Kluent | 862 |
10 | skrape.it | 752 |
11 | kotlin-compile-testing | 631 |
12 | roborazzi | 580 |
13 | android-template | 565 |
14 | marathon | 553 |
15 | kotlin-power-assert | 552 |
16 | strikt | 528 |
17 | EvoMaster | 428 |
18 | kotlin-faker | 426 |
19 | hamkrest | 341 |
20 | venom | 273 |
21 | Android-screenshot-testing-playground | 255 |
22 | dropshots | 255 |
23 | kotlinfixture | 246 |
Sponsored