Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Needs proper testing #5

Open
bendgk opened this issue Feb 21, 2023 · 2 comments
Open

Needs proper testing #5

bendgk opened this issue Feb 21, 2023 · 2 comments
Assignees
Labels
enhancement New feature or request help wanted Extra attention is needed

Comments

@bendgk
Copy link
Owner

bendgk commented Feb 21, 2023

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.

@bendgk bendgk added enhancement New feature or request help wanted Extra attention is needed labels Feb 21, 2023
@bendgk bendgk self-assigned this Feb 21, 2023
@bendgk bendgk moved this to Todo in EffeKt Feb 21, 2023
@bendgk bendgk added this to EffeKt Feb 21, 2023
@bendgk bendgk changed the title Needs proper testings Needs proper testing Feb 21, 2023
@notKamui
Copy link

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

@bendgk
Copy link
Owner Author

bendgk commented Feb 23, 2023

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request help wanted Extra attention is needed
Projects
Status: Todo
Development

No branches or pull requests

2 participants