Issue#41 Make sharedTests abstract so they won't be run in themself

This commit is contained in:
Gergely Hegedus 2022-09-27 19:12:51 +03:00
parent 52a99a82fc
commit 60cfb46ccf
11 changed files with 13 additions and 11 deletions

View file

@ -39,7 +39,7 @@ Let's open `org.fnives.test.showcase.ui.login.codekata.CodeKataAuthActivityShare
We can see it's identical as our original `org.fnives.test.showcase.ui.codekata.CodeKataAuthActivityInstrumentedTest`.
So let's copy our existing code from the Robolectric test here. For that we can use the body of `org.fnives.test.showcase.ui.RobolectricAuthActivityInstrumentedTest`.
Of course keep the `open` and the `CodeKataAuthActivitySharedTest` class name and package.
Of course keep the `abstract`, the `CodeKataAuthActivitySharedTest` class name and package.
We need to modify our robot:
```kotlin
// Instead of this: