bendgk / effekt

Kotlin reactive library (inspired by Vue.js)

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Needs proper testing

bendgk opened this issue · comments

EffeKt needs two things to be robustly tested.

  1. A proper testing framework so that we can easily run all the tests and add hooks for testing PRs
  2. More tests. Tests should be written to test the resilience of the library, but to also provide interesting example usage

I will currently be looking at Kotlin testing frameworks, but I'm all ears for what the community recommends to use.

for testing, you could either use JUnit or Kotest. JUnit is more traditional, but Kotest is more modern, and looks a bit like Javascript tests, if you're familiar with those.

Along with that, to check whether you tested everything (every path) in your app, I recommend the Kover gradle plugin

I just decided to go with JUnit 5 as a lot of people are familiar with it and it is mature.