Commit graph

116 commits

Author SHA1 Message Date
Alex Gabor
e4ac3f78b6 Move compose package up 2022-04-01 10:36:31 +03:00
Alex Gabor
6ddd057e66 Wait for idling resources 2022-04-01 10:36:31 +03:00
Alex Gabor
4feb92d4ed Add first compose test 2022-04-01 10:36:31 +03:00
Alex Gabor
d74534d96b Show error on home screen 2022-04-01 10:36:31 +03:00
Alex Gabor
0ca6ac9c9a Improve auth screen 2022-04-01 10:36:31 +03:00
Alexandru Gabor
b6e4d282b7 Add home screen 2022-04-01 10:36:31 +03:00
Alex Gabor
a9dc65d0b6 Add compose UI 2022-04-01 10:36:31 +03:00
dependabot[bot]
994d925e77
Bump rxjava from 3.1.3 to 3.1.4
Bumps [rxjava](https://github.com/ReactiveX/RxJava) from 3.1.3 to 3.1.4.
- [Release notes](https://github.com/ReactiveX/RxJava/releases)
- [Commits](https://github.com/ReactiveX/RxJava/compare/v3.1.3...v3.1.4)

---
updated-dependencies:
- dependency-name: io.reactivex.rxjava3:rxjava
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-03-28 12:13:14 +00:00
359904b5c3 issue#64 Fix issue with idling resources
reference: https://github.com/JakeWharton/okhttp-idling-resource/pull/16
Espresso expects callback when a resource is released. However since our OkHttp Dispatchers were reused and 2 compiting IdlingResource was registered, one overwrote the other's callback and this crashed the Espresso tests.
To resolve this I made sure when one is registeres, it's respects the current callback and wraps around it instead of overwriting it.
2022-03-07 17:09:56 +02:00
f8226368f0 Issue#48 Update readme 2022-02-07 12:57:59 +02:00
02ac524dd3 PR#57 Remove unnecessary TestCoroutineScheduler creation 2022-02-07 11:14:20 +02:00
9d3f72d1fa PR#57 Fix codeAnalysis errors 2022-02-07 10:54:40 +02:00
Alex Gabor
b6ff7abdd9 Proof read robolectric instruction set 2022-02-04 15:32:27 +02:00
833636ac69 Issue#13 Fix more codeAnalysis errors 2022-01-29 00:39:04 +02:00
c952f4f34d Issue#13 Fix codeAnalysis errors 2022-01-29 00:33:59 +02:00
03e413fba6 Issue#13 Add CodeKata for Robolectric Tests 2022-01-29 00:30:35 +02:00
c38e608c8c Issue#13 Finish Robolectric SharedPreferences test description 2022-01-28 22:37:33 +02:00
85faee64ea Fix code analysis errors 2022-01-28 00:33:48 +02:00
9a63cdba38 Fix file location 2022-01-27 22:46:46 +02:00
3f4d22528c Issue#8 Take use of TestFixtures to keep MockWebServer TLS setup in the network module, while still being able to use it in Android Tests 2022-01-27 22:46:03 +02:00
c4c2ea7c26 Issue#13 Add separate task for robolectric tests 2022-01-27 03:21:55 +02:00
f248ab1081 Issue#13 Fix codeAnalysis errors 2022-01-27 02:10:03 +02:00
5d89e62356 Issue#13 Remove unnecessary configurations and use TestDispatcher on both side
Additionally added workaround for progressbar testing
2022-01-27 02:08:15 +02:00
b9644512d5 Issue#13 Remove reference to SpecificConfiguration 2022-01-27 00:43:08 +02:00
5a08525e42 Issue#13 Simplify rule sets to minimal and appy them in order 2022-01-27 00:41:18 +02:00
d8b9fadcbc Issue#13 Remove unnecessary Rules 2022-01-26 23:41:50 +02:00
b278466095 Issue#13 Simplify swapping of URL and certificate for tests 2022-01-26 23:34:58 +02:00
8d33f77cec Issue#13 Remove BaseUrlProvider 2022-01-26 22:33:40 +02:00
163bb8cd10 Issue#13 First part of the Robolectric Documentation 2022-01-26 20:29:29 +02:00
a9a2858242 Issue#39 Added workaround for slow SplashActivity tests.
Referenced the issues 676 reported on Android-Test. aka seems to be an issue with finishing activity and ActivityScenario.moteToState(DESTROYED).
2022-01-26 01:31:01 +02:00
1223bfdc9a Issue#39 Fix most test's running time via using close on ActivityScenario. 2022-01-26 00:22:00 +02:00
d339592390 Issue#12 Finish ViewModel instruction set 2022-01-25 21:09:56 +02:00
7544c6b784 Issue#30 Add additional Test for missing field and exact copy of how the CodeKataLoginRemoteSourceTest should look 2022-01-24 20:31:50 +02:00
ed4f15010a Issue#30 Add named arguments everywhere where mockserver is used in app module 2022-01-24 19:48:29 +02:00
b29870c90c Issue#31 Remove hilt completely 2022-01-24 17:38:59 +02:00
40791ca462 Issue#16 Move login state setup into homerobot 2022-01-24 16:00:49 +02:00
e827af515d Issue#16 Fix codeAnalysis errors 2022-01-24 15:55:59 +02:00
d7cb032ea2 Issue#16 Swap white box logout and login state into ui interaction based 2022-01-24 15:50:59 +02:00
dependabot[bot]
3a0e76ed4f
Bump rxjava from 3.1.2 to 3.1.3
Bumps [rxjava](https://github.com/ReactiveX/RxJava) from 3.1.2 to 3.1.3.
- [Release notes](https://github.com/ReactiveX/RxJava/releases)
- [Commits](https://github.com/ReactiveX/RxJava/compare/v3.1.2...v3.1.3)

---
updated-dependencies:
- dependency-name: io.reactivex.rxjava3:rxjava
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-01-23 23:07:40 +00:00
959f79997c
Merge pull request #37 from fknives/update-core-tests
Update core tests
2022-01-24 00:55:06 +02:00
e9a22dd60a Issue#11 Add annotation @OptIn(ExperimentalCoroutinesApi::class) where its needed 2022-01-23 23:21:16 +02:00
b52652ed67 Issue#11 Fix codeAnalysis errors 2022-01-23 22:45:25 +02:00
8ae94cfe92 Issue#11 Adjust SharedTests by using new TestDispatcher instead of deprecated TestDispatchers 2022-01-23 22:40:28 +02:00
46d9263742 Issue#11 Adjust TestMainDispatcher extension using tests after coroutine update 2022-01-23 21:08:19 +02:00
3c85431d96 Issue#11 Adjust FavouriteContentLocalStorage by using runTest instead of deprecated TestDispatchers 2022-01-23 20:35:17 +02:00
968ccb647d Issue#11 Adjust ContentRepositoryTest by using runTest correctly instead of deprecated TestDispatcher 2022-01-23 20:29:44 +02:00
b01ddc2fbe
Merge pull request #38 from fknives/issue#3-room-migration-test
Issue#3 room migration test
2022-01-23 12:56:42 +02:00
2aca350175 Issue#3 Implement migration test which runs both on Real device and via Robolectric 2022-01-23 12:40:30 +02:00
4a1254d092 Issue#3 Start exporting schemas 2022-01-23 10:07:42 +02:00
fc32f1c7cd Issue#4 Add scrolling to recyclerview so elements can be verified safely 2022-01-05 14:55:52 +02:00