rybalkinsd / kohttp

Kotlin DSL http client
https://kohttp.gitbook.io
Apache License 2.0
478 stars 42 forks source link

[kohttp][test] Split tests into unit and integration groups #165

Open rybalkinsd opened 4 years ago

rybalkinsd commented 4 years ago
  1. Introduce a way to group tests into unit and integration
  2. Run unit first during build stage, and integration only after successful run of units.
  3. Many of existing integration tests could be replaced with unit + mocks, it will improve test time
rybalkinsd commented 4 years ago

cc @GolovPavel

GolovPavel commented 4 years ago

Hi! I found, that we have tests in both gradle modules: kohttp and kohttp-test. By what principle are tests divided into modules?

rybalkinsd commented 4 years ago

Hi! I found, that we have tests in both gradle modules: kohttp and kohttp-test. By what principle are tests divided into modules?

https://github.com/rybalkinsd/kohttp/pull/193#issuecomment-632172277