Skip to content

Commit

Permalink
Merge pull request #1610 from MarcusDunn/patch-1
Browse files Browse the repository at this point in the history
Pointed to correct dependancy for koin-test-junit5 in docs
  • Loading branch information
arnaudgiuliani committed Aug 4, 2023
2 parents 31af085 + 77dc8ec commit 7f1c977
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/reference/koin-test/testing.md
Original file line number Diff line number Diff line change
Expand Up @@ -164,7 +164,7 @@ Take attention to stop your koin instance (if you use `startKoin` in your tests)
JUnit 5 support provides [Extensions]([url](https://junit.org/junit5/docs/current/user-guide/#extensions)) that will handle the starting and stopping of Koin context. This means that if you are using the extension you don't need to use the `AutoCloseKoinTest`.

### Dependency
For testing with JUnit5 you need to use `koin-junit5` dependency.
For testing with JUnit5 you need to use `koin-test-junit5` dependency.

### Writing tests
You need to Register the `KoinTestExtension` and provide your module configuration. After this is done
Expand Down

0 comments on commit 7f1c977

Please sign in to comment.