Commit graph

297 commits

Author SHA1 Message Date
5bf503d90e
Describe Screenshot testing
This Readme update closes https://github.com/fknives/AndroidTest-ShowCase/issues/119
2023-03-13 23:44:56 +02:00
d3d8d0e7b6
Restructure readme, with details/summary 2023-03-13 15:27:53 +02:00
1fa46691d9
Merge pull request #143 from fknives/issue#35-code-coverage
Issue#35 code coverage
2023-01-18 16:39:14 +02:00
a37c6a4a3d PR#143 Fix tests can't run on API 21
Seems like jacoco androidTestCoverage breaks tests on API 21 with Resource.NotFound for some reason.
It works well on newer API levels.
To workaround it, we simply disable that coverage for CI.
2023-01-18 15:34:46 +02:00
49b7b630f0 PR#143 Fix lint warnings 2023-01-18 12:15:05 +02:00
c374aa0d5d Issue#35 Update readme.md with Coverage section 2023-01-18 12:01:58 +02:00
ccc67dbcb7 Issue#35 Add documentation into the gradle file 2023-01-18 11:26:23 +02:00
931783f6f1 Update module order in settings.gradle 2023-01-17 20:17:22 +02:00
9964f25e78 Issue#35 Jacoco works for both Android and Java Modules.
Report can be aggregated into one.
The aggregated report contains data from AndroidTest/UnitTest and Java UnitTest
2023-01-17 20:17:04 +02:00
52713aaa3d Fix Hilt RobolectricAuthActivity tests failing 2023-01-17 20:16:12 +02:00
29083518f2 Issue#35 Jacoco works for Java modules and UnitTests.
- Not on AndroidTest (issue reported).
- Not aggregated.
2022-10-01 10:17:29 +03:00
a5dcdd3409 Issue#35 version updates 2022-10-01 00:51:49 +03:00
1a78899677 Issue#35 Update Detekt reports 2022-09-29 18:07:10 +03:00
90b5334af8
Merge pull request #128 from fknives/#41-hilt-entry-point-update
Issue#41 Update Hilt Entry Point access in compose
2022-09-29 16:12:27 +03:00
595c35ca67 PR#128 Update Compose instructionset with the changes 2022-09-29 15:13:52 +03:00
38d4414dec PR#128 Fix typo in Compose Test setup 2022-09-29 15:12:04 +03:00
e3720ff3f6 PR#128 Fix Compose UI sync issue
Sometimes the emptyPasswordShowsProperErrorMessage failed because while waiting for Idling Resources/Coroutines to run the clock has been updated and the Snackbar got dismissed.
autoAdvance=off, waitForIdle, autoAdvance=on pattern ensures this doesnt happen
2022-09-29 15:06:04 +03:00
6a0bb381a8 Issue#41 Update Hilt Entry Point access in compose 2022-09-29 14:17:48 +03:00
e9028c0e86
Merge pull request #127 from fknives/issue#41-add-hilt-setup
Issue#41 Copy full example into separate module with Hilt Integration
2022-09-28 19:30:06 +03:00
a4b1e50f0f Issue#41 Remove waitForIdle since onNode already calls it 2022-09-28 19:01:38 +03:00
f03c9f7bf2 Issue#41 Attempt to fix failing tests with compose + update test paths for artifact 2022-09-28 18:53:40 +03:00
60cfb46ccf Issue#41 Make sharedTests abstract so they won't be run in themself 2022-09-27 21:28:47 +03:00
52a99a82fc Issue#41 Copy full example into separate module with Hilt Integration 2022-09-27 18:17:12 +03:00
69e76dc0da
Merge pull request #126 from fknives/#125-attempt-to-fix-compose-flakiness
Issue#125 Attampt to fix Compose Flakiness
2022-09-26 23:50:21 +03:00
fb411a6b71 Issue#125 Attampt to fix Compose Flakiness 2022-09-26 21:53:14 +03:00
b6b661b055
Merge pull request #124 from fknives/issue#106-update-shared-tests
Issue#106 update shared tests
2022-09-26 21:51:52 +03:00
8a4a0c0f96 PR#124 Fix issue with merging meta-info 2022-09-26 20:59:12 +03:00
e6349363d7 Issue#106 Update SharedTest instruction.set 2022-09-26 18:35:11 +03:00
d5ce57769f Issue#106 Update NavController example's sharedTest as well 2022-09-26 17:49:20 +03:00
9752d1643b Issue#106 Move SharedTest Folder into it's separate Android Module as suggested 2022-09-26 17:43:25 +03:00
9f79b4e67f
Merge pull request #122 from fknives/issue#56-test-first
Issue#56 test first
2022-09-23 18:57:14 +03:00
0eb000137b Issue#56 Update readme 2022-09-23 18:33:11 +03:00
3617ab96ac Issue#56 Create Example Description on how to start with Test First 2022-09-23 18:30:17 +03:00
dbf95d92fb
Merge pull request #121 from fknives/issue#5-nav-controller-test-example
Issue#5 Shows basic example of testing NavController usage
2022-09-23 14:50:56 +03:00
93facd1f1b PR#121 Fix codeAnalysis issues fix reporting for new module 2022-09-23 14:29:37 +03:00
00e7a806eb Issue#5 Shows basic example of testing NavController usage 2022-09-23 13:55:11 +03:00
faf9cceb8e Update library version 2022-07-21 13:33:36 +03:00
2ddc933dc2
Merge pull request #115 from fknives/issue#103-try-solutions
Issue#103 try solutions
2022-07-20 20:45:57 +03:00
fd661ca13d issue#116 Adjustments for timing of Delay
This is required because otherwise clicks could become Long clicks
2022-07-20 19:57:06 +03:00
d057c357a3 issue#103 Close DB to clean up logs 2022-07-20 15:25:24 +03:00
732aa05a87 issue#103 Add delay for Dispatcher.Default to have time to propagate exceptions 2022-07-20 15:16:44 +03:00
00c222b461 issue#103 Removing item animations 2022-07-20 15:16:44 +03:00
4f6bba6cb1 Update artifact of JVM tests to include all HTML files 2022-07-19 14:13:35 +03:00
8f8f44f980
Merge pull request #113 from fknives/issue#107-resolve-state-restoration
Issue#107 resolve state restoration
2022-07-19 12:26:31 +03:00
c10b674333 Issue#107 Fix issue with auth screen state restoration 2022-07-18 21:54:49 +03:00
4a0b6634dc Issue#107 Update instruction set to include time advancement 2022-07-18 21:52:37 +03:00
9807caa5ae Issue#107 Update Restoration tests so it points out error all the time 2022-07-18 21:50:44 +03:00
d39405fda0
Merge pull request #110 from fknives/issue#99-system-dialog-crash-test
Issue#99 Create TestRule working around System ANRs on Emulators
2022-07-18 13:04:02 +03:00
e6e2434c81 Issue#99 Create TestRule working around System ANRs on Emulators 2022-07-18 12:38:23 +03:00
98c13aa5f4
Merge pull request #102 from fknives/issue#97-compose-flakiness
Issue#97 Attempt to fix flakiness in Compose
2022-07-14 19:52:22 +03:00