stephanenicolas / toothpick

A scope tree based Dependency Injection (DI) library for Java / Kotlin / Android.
Apache License 2.0
1.12k stars 115 forks source link

The sample doesn't contain any test. #353

Open stephanenicolas opened 5 years ago

stephanenicolas commented 5 years ago

Ideally we should have a unit tests or 2 (junit 4, junit 5??) @dlemures . We have a link in the README that fails, about testing because we removed old tests.

And also an instrumented test, and finish the doc about them. @chenthorne

stephanenicolas commented 5 years ago

1 PR has been merged with some tests for graph validation, but we should add more, especially regarding field injection, constructor injections, whether to promote annotations for tests of entry points, etc.