Commit graph

263 commits

Author SHA1 Message Date
3ae9e0724a Fix missing description of loginUnexpectedErrorResultsInErrorState and some typos in ViewModel instruction set 2022-04-10 13:26:59 +03:00
c1bdf22e69 issue#14 Review of instruction set 2022-04-08 13:05:16 +03:00
6db460ad47 issue#14 Fix type of the instructionset 2022-04-06 22:59:29 +03:00
aed9e6bd09 issue#14 Write shared test instructionset 2022-04-06 22:42:50 +03:00
Alex Gabor
c11d3e96d3 Fix lint issues 2022-04-05 10:28:07 +03:00
Alex Gabor
f738a59c23 Revert changes to Event 2022-04-05 09:47:06 +03:00
Alex Gabor
47037d4bcd Add a test for restoring compose content 2022-04-04 18:16:06 +03:00
Alex Gabor
2e97716b48 Add suffix version 2022-04-04 12:39:32 +03:00
Alex Gabor
3034717c11 Extract constraintlayout-compose version 2022-04-04 12:37:28 +03:00
Alex Gabor
1ce0cee3e9 Remove unused ComposeNetworkSynchronizationTestRule 2022-04-04 12:35:44 +03:00
Alex Gabor
908ab50553 Add link to compose.instructionset.md 2022-04-04 12:32:37 +03:00
Alex Gabor
95dc76f7f1 Add instructions for testing compose 2022-04-04 12:29:44 +03:00
Alex Gabor
61b82f1ba7 Refactor navigation event 2022-04-02 11:37:35 +03:00
Alex Gabor
586c811e10 Isolate AuthTest to navigation scope and inject fake user storage 2022-04-01 16:17:25 +03:00
Alex Gabor
d9725e31e6 Cover all auth tests 2022-04-01 16:06:35 +03:00
Alex Gabor
d948d06378 Assert navigation 2022-04-01 14:59:36 +03:00
Alex Gabor
225fbed849 Assert loading is displayed 2022-04-01 10:36:31 +03:00
Alex Gabor
b003e23305 Add password visibility toggle 2022-04-01 10:36:31 +03:00
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
8866ac8477
Merge pull request #65 from fknives/issue#64-fix-issue-with-idling-resources
issue#64 Fix issue with idling resources
2022-03-08 17:18:46 +02:00
543fb31af6
Merge pull request #63 from fknives/dependabot/gradle/develop/com.android.tools.build-gradle-7.1.2
Bump gradle from 7.1.1 to 7.1.2
2022-03-07 17:19:12 +02: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
963d16b3f9 Fix typo in networking.instructionset.md
contentRequestAfterRefreshed was declared but retryAfterTokenRefreshRequest was used
2022-03-01 16:08:56 +02:00
dependabot[bot]
7274c287f5
Bump gradle from 7.1.1 to 7.1.2
Bumps gradle from 7.1.1 to 7.1.2.

---
updated-dependencies:
- dependency-name: com.android.tools.build:gradle
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-02-28 12:12:44 +00:00
bfa9f26835
Merge pull request #60 from fknives/dependabot/gradle/develop/com.android.tools.build-gradle-7.1.1
Bump gradle from 7.1.0 to 7.1.1
2022-02-21 13:27:23 +02:00
b843191544
Merge pull request #62 from fknives/issue#61
Issue#61 Update robolectric version to 4.7
2022-02-15 21:46:27 +02:00
ec534202a8 Issue#61 Update robolectric version to 4.7 2022-02-15 20:53:52 +02:00
dependabot[bot]
441cc941e7
Bump gradle from 7.1.0 to 7.1.1
Bumps gradle from 7.1.0 to 7.1.1.

---
updated-dependencies:
- dependency-name: com.android.tools.build:gradle
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-02-07 12:11:06 +00:00
0004645791
Merge pull request #59 from fknives/issue#48-readme
Issue#48 Update readme
2022-02-07 13:05:46 +02:00
f8226368f0 Issue#48 Update readme 2022-02-07 12:57:59 +02:00
f9a1bfbb0d
Merge pull request #57 from fknives/robolectric-review
Proof read robolectric instruction set
2022-02-07 12:45:51 +02:00
018a5369fe PR#57 Describe what shadows are and give a better starting point 2022-02-07 11:30:31 +02:00
6fd6a838d4 PR#57 Added additional explanation of Espresso's IdlingResources 2022-02-07 11:18:39 +02:00
02ac524dd3 PR#57 Remove unnecessary TestCoroutineScheduler creation 2022-02-07 11:14:20 +02:00
88b122e0b7 PR#57 Explain how DatabaseInitialization is overwritten 2022-02-07 11:05:02 +02:00
18852e1dc3 PR#57 Describe TestFixtures in more detail and give an alternative 2022-02-07 11:00:10 +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
f7f168ad75
Merge pull request #55 from fknives/issue#13-finish-robolectric-documentation
Issue#13 finish robolectric documentation
2022-01-29 00:49:13 +02:00
833636ac69 Issue#13 Fix more codeAnalysis errors 2022-01-29 00:39:04 +02:00
070f282103 Issue#13 Fix typos 2022-01-29 00:35: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