Skip to content

Merge pull request #172 from appunite/dependabot/gradle/io.strikt-str…

Sign in for the full log view
This check has been archived and is scheduled for deletion. Learn more about checks retention
GitHub Actions / Tests Results succeeded Nov 21, 2023 in 0s

Tests Results ✅

Tests passed successfully

Report Passed Failed Skipped Time
app-shared-tests/build/test-results/testDebugUnitTest/TEST-com.appunite.loudius.util.DescribedKtTest.xml 4✅ 81ms
app-shared-tests/build/test-results/testDebugUnitTest/TEST-com.appunite.loudius.util.KeyGroupingKtTest.xml 5✅ 1s
app-shared-tests/build/test-results/testDebugUnitTest/TEST-com.appunite.loudius.util.MockWebServerRuleTest.xml 13✅ 826ms
app-shared-tests/build/test-results/testReleaseUnitTest/TEST-com.appunite.loudius.util.DescribedKtTest.xml 4✅ 73ms
app-shared-tests/build/test-results/testReleaseUnitTest/TEST-com.appunite.loudius.util.KeyGroupingKtTest.xml 5✅ 1s
app-shared-tests/build/test-results/testReleaseUnitTest/TEST-com.appunite.loudius.util.MockWebServerRuleTest.xml 13✅ 773ms
app/build/test-results/results.xml 9✅ 47s
app/build/test-results/testDebugUnitTest/TEST-com.appunite.loudius.ActivitySetupTest.xml 1✅ 6s
app/build/test-results/testDebugUnitTest/TEST-com.appunite.loudius.di.CheckModulesTest.xml 1✅ 1s
app/build/test-results/testDebugUnitTest/TEST-com.appunite.loudius.domain.AuthRepositoryImplTest.xml 4✅ 47ms
app/build/test-results/testDebugUnitTest/TEST-com.appunite.loudius.domain.PullRequestRepositoryImpTest$GetPullRequestsForUserTest.xml 2✅ 29ms
app/build/test-results/testDebugUnitTest/TEST-com.appunite.loudius.domain.PullRequestRepositoryImpTest$GetRequestedReviewersTest.xml 2✅ 12ms
app/build/test-results/testDebugUnitTest/TEST-com.appunite.loudius.domain.PullRequestRepositoryImpTest$GetReviewsFunctionTest.xml 2✅ 18ms
app/build/test-results/testDebugUnitTest/TEST-com.appunite.loudius.domain.PullRequestRepositoryImpTest$NotifyTest.xml 2✅ 13ms
app/build/test-results/testDebugUnitTest/TEST-com.appunite.loudius.domain.UserLocalDataSourceTest.xml 3✅ 5ms
app/build/test-results/testDebugUnitTest/TEST-com.appunite.loudius.network.datasource.AuthDataSourceImplTest.xml 3✅ 192ms
app/build/test-results/testDebugUnitTest/TEST-com.appunite.loudius.network.datasource.PullRequestsDataSourceImplTest$GetPullRequestsForUserTest.xml 3✅ 55ms
app/build/test-results/testDebugUnitTest/TEST-com.appunite.loudius.network.datasource.PullRequestsDataSourceImplTest$GetReviewersRequestTest.xml 3✅ 35ms
app/build/test-results/testDebugUnitTest/TEST-com.appunite.loudius.network.datasource.PullRequestsDataSourceImplTest$GetReviewsRequestTest.xml 3✅ 48ms
app/build/test-results/testDebugUnitTest/TEST-com.appunite.loudius.network.datasource.PullRequestsDataSourceImplTest$NotifyRequestTest.xml 3✅ 44ms
app/build/test-results/testDebugUnitTest/TEST-com.appunite.loudius.network.datasource.UserDataSourceTest.xml 3✅ 35ms
app/build/test-results/testDebugUnitTest/TEST-com.appunite.loudius.network.intercept.AuthFailureInterceptorTest.xml 2✅ 130ms
app/build/test-results/testDebugUnitTest/TEST-com.appunite.loudius.network.intercept.AuthInterceptorTest.xml 1✅ 70ms
app/build/test-results/testDebugUnitTest/TEST-com.appunite.loudius.network.serialize.IdSerializerTest.xml 1✅ 29ms
app/build/test-results/testDebugUnitTest/TEST-com.appunite.loudius.network.serialize.InstantSerializerTest.xml 2✅ 8ms
app/build/test-results/testDebugUnitTest/TEST-com.appunite.loudius.RobolectricSetupTest.xml 1✅ 49ms
app/build/test-results/testDebugUnitTest/TEST-com.appunite.loudius.ui.authenticating.AuthenticatingViewModelTest.xml 7✅ 462ms
app/build/test-results/testDebugUnitTest/TEST-com.appunite.loudius.ui.login.LoginScreenViewModelTest.xml 6✅ 24ms
app/build/test-results/testDebugUnitTest/TEST-com.appunite.loudius.ui.MainViewModelTest.xml 3✅ 17ms
app/build/test-results/testDebugUnitTest/TEST-com.appunite.loudius.ui.pullrequests.PullRequestsViewModelTest.xml 9✅ 52ms
app/build/test-results/testDebugUnitTest/TEST-com.appunite.loudius.ui.reviewers.ReviewersViewModelTest$InitTest.xml 14✅ 254ms
app/build/test-results/testDebugUnitTest/TEST-com.appunite.loudius.ui.reviewers.ReviewersViewModelTest$OnActionTest.xml 6✅ 58ms
app/build/test-results/testDebugUnitTest/TEST-com.appunite.loudius.UnitLoginScreenTest.xml 3✅ 4s
app/build/test-results/testDebugUnitTest/TEST-com.appunite.loudius.UnitPullRequestsScreenTest.xml 1✅ 864ms
app/build/test-results/testDebugUnitTest/TEST-com.appunite.loudius.UnitReviewersScreenTest.xml 3✅ 771ms
app/build/test-results/testDebugUnitTest/TEST-com.appunite.loudius.UnitWalkThroughAppTest.xml 1✅ 715ms
app/build/test-results/testDebugUnitTest/TEST-com.appunite.loudius.util.TestUtilsKtTest.xml 1✅ 10ms
components/build/test-results/testDebugUnitTest/TEST-com.appunite.loudius.PaparazziShowkaseTests.xml 30✅ 14s
components/build/test-results/testReleaseUnitTest/TEST-com.appunite.loudius.PaparazziShowkaseTests.xml 30✅ 12s
custom-ktlint-rules/build/test-results/test/TEST-com.appunite.loudius.rules.DoNotMixJunitVersionsTest.xml 5✅ 854ms
custom-ktlint-rules/build/test-results/test/TEST-com.appunite.loudius.rules.UseStriktAssertionLibraryTest.xml 5✅ 27ms

✅ app-shared-tests/build/test-results/testDebugUnitTest/TEST-com.appunite.loudius.util.DescribedKtTest.xml

4 tests were completed in 81ms with 4 passed, 0 failed and 0 skipped.

Test suite Passed Failed Skipped Time
com.appunite.loudius.util.DescribedKtTest 4✅ 81ms

✅ com.appunite.loudius.util.DescribedKtTest

✅ test with unknown error, is not described
✅ test with assertion error, is described
✅ test without failure, is success
✅ test with multiple descriptions, descriptions are merged

✅ app-shared-tests/build/test-results/testDebugUnitTest/TEST-com.appunite.loudius.util.KeyGroupingKtTest.xml

5 tests were completed in 1s with 5 passed, 0 failed and 0 skipped.

Test suite Passed Failed Skipped Time
com.appunite.loudius.util.KeyGroupingKtTest 5✅ 1s

✅ com.appunite.loudius.util.KeyGroupingKtTest

✅ don't group events with different meta state
✅ ignore events with no action up
✅ group events with the same meta state
✅ empty list
✅ pass events without arguments

✅ app-shared-tests/build/test-results/testDebugUnitTest/TEST-com.appunite.loudius.util.MockWebServerRuleTest.xml

13 tests were completed in 826ms with 13 passed, 0 failed and 0 skipped.

Test suite Passed Failed Skipped Time
com.appunite.loudius.util.MockWebServerRuleTest 13✅ 826ms

✅ com.appunite.loudius.util.MockWebServerRuleTest

✅ testWhenJsonIsMocked_requestReturnsItsValueAndCorrectHeaders
✅ testWhenNoRequestIsMocked_throw404
✅ testWhenGetRequestIsMade_bodyIsEmpty
✅ whenExceptionIsThrown_passIt
✅ testWhenRequestIsMadeWithHeader_passedRequestHasHeaderSet
✅ testTestFailsAndThereIsSomeMockingIssue_theRootOfTheFailureIsOnTheFirstPlace
✅ testWhenPostRequestIsMade_bodyIsSet
✅ testWhenRequestUrlIsDifferentThenMocked_throw404
✅ testWhenRequestIsMade_passedUrlAndMethodAreCorrect
✅ testTestFailsAndThereIsSomeMockingIssue_returnInformationAboutExceptionAndNotMockedResponses
✅ testWhenMockIsCleared_requestGetsDefault404
✅ testTestFailsAndThereIsSomeMockingIssue_listAllUnmatchedRequests
✅ testWhenRequestIsMocked_requestReturnsItsValue

✅ app-shared-tests/build/test-results/testReleaseUnitTest/TEST-com.appunite.loudius.util.DescribedKtTest.xml

4 tests were completed in 73ms with 4 passed, 0 failed and 0 skipped.

Test suite Passed Failed Skipped Time
com.appunite.loudius.util.DescribedKtTest 4✅ 73ms

✅ com.appunite.loudius.util.DescribedKtTest

✅ test with unknown error, is not described
✅ test with assertion error, is described
✅ test without failure, is success
✅ test with multiple descriptions, descriptions are merged

✅ app-shared-tests/build/test-results/testReleaseUnitTest/TEST-com.appunite.loudius.util.KeyGroupingKtTest.xml

5 tests were completed in 1s with 5 passed, 0 failed and 0 skipped.

Test suite Passed Failed Skipped Time
com.appunite.loudius.util.KeyGroupingKtTest 5✅ 1s

✅ com.appunite.loudius.util.KeyGroupingKtTest

✅ don't group events with different meta state
✅ ignore events with no action up
✅ group events with the same meta state
✅ empty list
✅ pass events without arguments

✅ app-shared-tests/build/test-results/testReleaseUnitTest/TEST-com.appunite.loudius.util.MockWebServerRuleTest.xml

13 tests were completed in 773ms with 13 passed, 0 failed and 0 skipped.

Test suite Passed Failed Skipped Time
com.appunite.loudius.util.MockWebServerRuleTest 13✅ 773ms

✅ com.appunite.loudius.util.MockWebServerRuleTest

✅ testWhenJsonIsMocked_requestReturnsItsValueAndCorrectHeaders
✅ testWhenNoRequestIsMocked_throw404
✅ testWhenGetRequestIsMade_bodyIsEmpty
✅ whenExceptionIsThrown_passIt
✅ testWhenRequestIsMadeWithHeader_passedRequestHasHeaderSet
✅ testTestFailsAndThereIsSomeMockingIssue_theRootOfTheFailureIsOnTheFirstPlace
✅ testWhenPostRequestIsMade_bodyIsSet
✅ testWhenRequestUrlIsDifferentThenMocked_throw404
✅ testWhenRequestIsMade_passedUrlAndMethodAreCorrect
✅ testTestFailsAndThereIsSomeMockingIssue_returnInformationAboutExceptionAndNotMockedResponses
✅ testWhenMockIsCleared_requestGetsDefault404
✅ testTestFailsAndThereIsSomeMockingIssue_listAllUnmatchedRequests
✅ testWhenRequestIsMocked_requestReturnsItsValue

✅ app/build/test-results/results.xml

9 tests were completed in 47s with 9 passed, 0 failed and 0 skipped.

Test suite Passed Failed Skipped Time
9✅ 47s

✅ 

com.appunite.loudius.End2EndWalkThroughAppTest
  ✅ whenLoginScreenIsVisible_LoginButtonOpensGithubAuth
com.appunite.loudius.IntegrationLoginScreenTest
  ✅ whenClickingGrantPermissionInXiaomiDialog_OpenPermissionEditor
  ✅ whenLoginScreenIsVisible_LoginButtonOpensGithubAuth
  ✅ whenClickingPermissionGrantedInXiaomiDialog_OpenGithubAuth
com.appunite.loudius.IntegrationPullRequestsScreenTest
  ✅ whenResponseIsCorrectThenPullRequestItemIsVisible
com.appunite.loudius.IntegrationReviewersScreenTest
  ✅ whenClickOnNotifyAndCommentThenNotifyReviewer
  ✅ whenClickOnNotifyAndDoNotCommentThenShowError
  ✅ whenResponseIsCorrectThenReviewersAreVisible
com.appunite.loudius.IntegrationWalkThroughAppTest
  ✅ whenLoginScreenIsVisible_LoginButtonOpensGithubAuth

✅ app/build/test-results/testDebugUnitTest/TEST-com.appunite.loudius.ActivitySetupTest.xml

1 tests were completed in 6s with 1 passed, 0 failed and 0 skipped.

Test suite Passed Failed Skipped Time
com.appunite.loudius.ActivitySetupTest 1✅ 6s

✅ com.appunite.loudius.ActivitySetupTest

✅ ensure test activity can be started during tests

✅ app/build/test-results/testDebugUnitTest/TEST-com.appunite.loudius.di.CheckModulesTest.xml

1 tests were completed in 1s with 1 passed, 0 failed and 0 skipped.

Test suite Passed Failed Skipped Time
com.appunite.loudius.di.CheckModulesTest 1✅ 1s

✅ com.appunite.loudius.di.CheckModulesTest

✅ verifyKoinApp()

✅ app/build/test-results/testDebugUnitTest/TEST-com.appunite.loudius.domain.AuthRepositoryImplTest.xml

4 tests were completed in 47ms with 4 passed, 0 failed and 0 skipped.

Test suite Passed Failed Skipped Time
com.appunite.loudius.domain.AuthRepositoryImplTest 4✅ 47ms

✅ com.appunite.loudius.domain.AuthRepositoryImplTest

✅ GIVEN valid code WHEN fetching access token THEN THEN new token should be stored()
✅ GIVEN not stored access token WHEN getting access token THEN return empty string()
✅ GIVEN valid code WHEN fetching access token THEN return success with new valid token()
✅ GIVEN token stored WHEN getting access token THEN return stored access token()

✅ app/build/test-results/testDebugUnitTest/TEST-com.appunite.loudius.domain.PullRequestRepositoryImpTest$GetPullRequestsForUserTest.xml

2 tests were completed in 29ms with 2 passed, 0 failed and 0 skipped.

Test suite Passed Failed Skipped Time
com.appunite.loudius.domain.PullRequestRepositoryImpTest$GetPullRequestsForUserTest 2✅ 29ms

✅ com.appunite.loudius.domain.PullRequestRepositoryImpTest$GetPullRequestsForUserTest

✅ GIVEN logged in user WHEN getting user's pull requests THEN return pull requests()
✅ WHEN Network Error is returned during fetching user's pull request THEN return Network Error()

✅ app/build/test-results/testDebugUnitTest/TEST-com.appunite.loudius.domain.PullRequestRepositoryImpTest$GetRequestedReviewersTest.xml

2 tests were completed in 12ms with 2 passed, 0 failed and 0 skipped.

Test suite Passed Failed Skipped Time
com.appunite.loudius.domain.PullRequestRepositoryImpTest$GetRequestedReviewersTest 2✅ 12ms

✅ com.appunite.loudius.domain.PullRequestRepositoryImpTest$GetRequestedReviewersTest

✅ GIVEN correct pull request number WHEN get requesting reviewers THEN return result with requested reviewers()
✅ GIVEN incorrect pull request number WHEN get requested reviewers THEN return Unknown Error with 404 code()

✅ app/build/test-results/testDebugUnitTest/TEST-com.appunite.loudius.domain.PullRequestRepositoryImpTest$GetReviewsFunctionTest.xml

2 tests were completed in 18ms with 2 passed, 0 failed and 0 skipped.

Test suite Passed Failed Skipped Time
com.appunite.loudius.domain.PullRequestRepositoryImpTest$GetReviewsFunctionTest 2✅ 18ms

✅ com.appunite.loudius.domain.PullRequestRepositoryImpTest$GetReviewsFunctionTest

✅ GIVEN incorrect pull request number WHEN getting reviews THEN return Unknown Error with 404 code()
✅ GIVEN correct pull request data WHEN getting reviews THEN return result with reviews excluding ones from current user()

✅ app/build/test-results/testDebugUnitTest/TEST-com.appunite.loudius.domain.PullRequestRepositoryImpTest$NotifyTest.xml

2 tests were completed in 13ms with 2 passed, 0 failed and 0 skipped.

Test suite Passed Failed Skipped Time
com.appunite.loudius.domain.PullRequestRepositoryImpTest$NotifyTest 2✅ 13ms

✅ com.appunite.loudius.domain.PullRequestRepositoryImpTest$NotifyTest

✅ GIVEN correct pull request number WHEN notifying THEN return success result()
✅ GIVEN incorrect pull request number WHEN notifying THEN return Unknown Error with 404 code()

✅ app/build/test-results/testDebugUnitTest/TEST-com.appunite.loudius.domain.UserLocalDataSourceTest.xml

3 tests were completed in 5ms with 3 passed, 0 failed and 0 skipped.

Test suite Passed Failed Skipped Time
com.appunite.loudius.domain.UserLocalDataSourceTest 3✅ 5ms

✅ com.appunite.loudius.domain.UserLocalDataSourceTest

✅ WHEN token is set THEN token can be retrieved()
✅ GIVEN token is stored WHEN token is cleared THEN no token to retrieve()
✅ GIVEN the app is started first time WHEN getting access token THEN token is empty()

✅ app/build/test-results/testDebugUnitTest/TEST-com.appunite.loudius.network.datasource.AuthDataSourceImplTest.xml

3 tests were completed in 192ms with 3 passed, 0 failed and 0 skipped.

Test suite Passed Failed Skipped Time
com.appunite.loudius.network.datasource.AuthDataSourceImplTest 3✅ 192ms

✅ com.appunite.loudius.network.datasource.AuthDataSourceImplTest

✅ GIVEN incorrect access code WHEN accessing token THEN return failure with BadVerificationCodeException()
✅ GIVEN incorrect data WHEN accessing token THEN return failure with UnknownError()
✅ GIVEN correct data WHEN accessing token THEN return success with new valid token()

✅ app/build/test-results/testDebugUnitTest/TEST-com.appunite.loudius.network.datasource.PullRequestsDataSourceImplTest$GetPullRequestsForUserTest.xml

3 tests were completed in 55ms with 3 passed, 0 failed and 0 skipped.

Test suite Passed Failed Skipped Time
com.appunite.loudius.network.datasource.PullRequestsDataSourceImplTest$GetPullRequestsForUserTest 3✅ 55ms

✅ com.appunite.loudius.network.datasource.PullRequestsDataSourceImplTest$GetPullRequestsForUserTest

✅ Given correct params WHEN successful response THEN return success()
✅ Given request WHEN connectivity problem occurred THEN return failure with Network error()
✅ Given incorrect access token WHEN processing request THEN return failure with Unknown error()

✅ app/build/test-results/testDebugUnitTest/TEST-com.appunite.loudius.network.datasource.PullRequestsDataSourceImplTest$GetReviewersRequestTest.xml

3 tests were completed in 35ms with 3 passed, 0 failed and 0 skipped.

Test suite Passed Failed Skipped Time
com.appunite.loudius.network.datasource.PullRequestsDataSourceImplTest$GetReviewersRequestTest 3✅ 35ms

✅ com.appunite.loudius.network.datasource.PullRequestsDataSourceImplTest$GetReviewersRequestTest

✅ Given correct params WHEN successful response THEN return success()
✅ Given request WHEN connectivity problem occurred THEN return failure with Network error()
✅ Given incorrect access token WHEN processing request THEN return failure with Unknown error()

✅ app/build/test-results/testDebugUnitTest/TEST-com.appunite.loudius.network.datasource.PullRequestsDataSourceImplTest$GetReviewsRequestTest.xml

3 tests were completed in 48ms with 3 passed, 0 failed and 0 skipped.

Test suite Passed Failed Skipped Time
com.appunite.loudius.network.datasource.PullRequestsDataSourceImplTest$GetReviewsRequestTest 3✅ 48ms

✅ com.appunite.loudius.network.datasource.PullRequestsDataSourceImplTest$GetReviewsRequestTest

✅ Given correct params WHEN successful response THEN return success()
✅ Given request WHEN connectivity problem occurred THEN return failure with Network error()
✅ Given incorrect access token WHEN processing request THEN return failure with Unknown error()

✅ app/build/test-results/testDebugUnitTest/TEST-com.appunite.loudius.network.datasource.PullRequestsDataSourceImplTest$NotifyRequestTest.xml

3 tests were completed in 44ms with 3 passed, 0 failed and 0 skipped.

Test suite Passed Failed Skipped Time
com.appunite.loudius.network.datasource.PullRequestsDataSourceImplTest$NotifyRequestTest 3✅ 44ms

✅ com.appunite.loudius.network.datasource.PullRequestsDataSourceImplTest$NotifyRequestTest

✅ GIVEN correct params WHEN successful response THEN return success result()
✅ GIVEN connectivity problem WHEN request THEN return failure with Network error()
✅ GIVEN auth error WHEN processing request THEN return failure with Unknown error()

✅ app/build/test-results/testDebugUnitTest/TEST-com.appunite.loudius.network.datasource.UserDataSourceTest.xml

3 tests were completed in 35ms with 3 passed, 0 failed and 0 skipped.

Test suite Passed Failed Skipped Time
com.appunite.loudius.network.datasource.UserDataSourceTest 3✅ 35ms

✅ com.appunite.loudius.network.datasource.UserDataSourceTest

✅ Given correct params WHEN successful response THEN return success()
✅ Given request WHEN connectivity problem occurred THEN return failure with Network error()
✅ Given incorrect access token WHEN processing request THEN return failure with Unknown error()

✅ app/build/test-results/testDebugUnitTest/TEST-com.appunite.loudius.network.intercept.AuthFailureInterceptorTest.xml

2 tests were completed in 130ms with 2 passed, 0 failed and 0 skipped.

Test suite Passed Failed Skipped Time
com.appunite.loudius.network.intercept.AuthFailureInterceptorTest 2✅ 130ms

✅ com.appunite.loudius.network.intercept.AuthFailureInterceptorTest

✅ GIVEN authorized user WHEN making an api call THEN auth failure is not emitted()
✅ GIVEN not authorized user WHEN making an api call THEN auth failure should be handled()

✅ app/build/test-results/testDebugUnitTest/TEST-com.appunite.loudius.network.intercept.AuthInterceptorTest.xml

1 tests were completed in 70ms with 1 passed, 0 failed and 0 skipped.

Test suite Passed Failed Skipped Time
com.appunite.loudius.network.intercept.AuthInterceptorTest 1✅ 70ms

✅ com.appunite.loudius.network.intercept.AuthInterceptorTest

✅ GIVEN saved token WHEN making an api call THEN authorization token should be added()

✅ app/build/test-results/testDebugUnitTest/TEST-com.appunite.loudius.network.serialize.IdSerializerTest.xml

1 tests were completed in 29ms with 1 passed, 0 failed and 0 skipped.

Test suite Passed Failed Skipped Time
com.appunite.loudius.network.serialize.IdSerializerTest 1✅ 29ms

✅ com.appunite.loudius.network.serialize.IdSerializerTest

✅ testDeserialization

✅ app/build/test-results/testDebugUnitTest/TEST-com.appunite.loudius.network.serialize.InstantSerializerTest.xml

2 tests were completed in 8ms with 2 passed, 0 failed and 0 skipped.

Test suite Passed Failed Skipped Time
com.appunite.loudius.network.serialize.InstantSerializerTest 2✅ 8ms

✅ com.appunite.loudius.network.serialize.InstantSerializerTest

✅ testSerialization
✅ testDeserialization

✅ app/build/test-results/testDebugUnitTest/TEST-com.appunite.loudius.RobolectricSetupTest.xml

1 tests were completed in 49ms with 1 passed, 0 failed and 0 skipped.

Test suite Passed Failed Skipped Time
com.appunite.loudius.RobolectricSetupTest 1✅ 49ms

✅ com.appunite.loudius.RobolectricSetupTest

✅ ensure context is mocked correctly

✅ app/build/test-results/testDebugUnitTest/TEST-com.appunite.loudius.ui.authenticating.AuthenticatingViewModelTest.xml

7 tests were completed in 462ms with 7 passed, 0 failed and 0 skipped.

Test suite Passed Failed Skipped Time
com.appunite.loudius.ui.authenticating.AuthenticatingViewModelTest 7✅ 462ms

✅ com.appunite.loudius.ui.authenticating.AuthenticatingViewModelTest

✅ GIVEN valid code WHEN authenticated THEN navigate to pull requests screen()
✅ GIVEN no intent is provided WHEN screen is presented THEN show login error()
✅ GIVEN unexpected Github behavior WHEN authenticating screen is opened THEN show generic error screen()
✅ GIVEN invalid code WHEN authenticating screen is opened THEN show login error screen()
✅ GIVEN unexpected error is presented WHEN try again success THEN navigate to pull requests()
✅ GIVEN no intent is provided and login error is presented WHEN retry is clicked THEN navigate to the login screen()
✅ GIVEN invalid screen and error is presented WHEN retry click THEN navigate to the login screen()

✅ app/build/test-results/testDebugUnitTest/TEST-com.appunite.loudius.ui.login.LoginScreenViewModelTest.xml

6 tests were completed in 24ms with 6 passed, 0 failed and 0 skipped.

Test suite Passed Failed Skipped Time
com.appunite.loudius.ui.login.LoginScreenViewModelTest 6✅ 24ms

✅ com.appunite.loudius.ui.login.LoginScreenViewModelTest

✅ WHEN log-in click THEN open github authorization()
✅ test the whole xiaomi flow()
✅ GIVEN xiaomi permission dialog is displayed WHEN user click already granted THEN navigate github auth()
✅ GIVEN xiaomi permission dialog is displayed WHEN dismisses dialog THEN hide the dialog()
✅ GIVEN should ask for xiaomi intent WHEN log-in click THEN show xiaomi permission dialog()
✅ GIVEN xiaomi permission dialog is displayed WHEN grant permission THEN navigate to xiaomi permissions manager()

✅ app/build/test-results/testDebugUnitTest/TEST-com.appunite.loudius.ui.MainViewModelTest.xml

3 tests were completed in 17ms with 3 passed, 0 failed and 0 skipped.

Test suite Passed Failed Skipped Time
com.appunite.loudius.ui.MainViewModelTest 3✅ 17ms

✅ com.appunite.loudius.ui.MainViewModelTest

✅ WHEN init THEN auth failure event is null()
✅ WHEN auth failure handled THEN set auth failure event is null()
✅ WHEN auth failure emitted THEN set state with auth failure event()

✅ app/build/test-results/testDebugUnitTest/TEST-com.appunite.loudius.ui.pullrequests.PullRequestsViewModelTest.xml

9 tests were completed in 52ms with 9 passed, 0 failed and 0 skipped.

Test suite Passed Failed Skipped Time
com.appunite.loudius.ui.pullrequests.PullRequestsViewModelTest 9✅ 52ms

✅ com.appunite.loudius.ui.pullrequests.PullRequestsViewModelTest

✅ GIVEN error state WHEN retry THEN fetch pull requests list again()
✅ WHEN refresh data THEN refresh data and set isRefreshing to false()
✅ WHEN fetching data failed on init THEN display error()
✅ WHEN refresh data THEN start refreshing data and set isRefreshing to true()
✅ GIVEN item id WHEN item click THEN navigate the user to reviewers()
✅ GIVEN navigation payload WHEN navigating to reviewers THEN reset payload()
✅ WHEN init THEN display loading()
✅ WHEN init THEN display pull requests list()
✅ WHEN refresh data THEN refresh data and display pull requests()

✅ app/build/test-results/testDebugUnitTest/TEST-com.appunite.loudius.ui.reviewers.ReviewersViewModelTest$InitTest.xml

14 tests were completed in 254ms with 14 passed, 0 failed and 0 skipped.

Test suite Passed Failed Skipped Time
com.appunite.loudius.ui.reviewers.ReviewersViewModelTest$InitTest 14✅ 254ms

✅ com.appunite.loudius.ui.reviewers.ReviewersViewModelTest$InitTest

✅ GIVEN only reviewers who done reviews WHEN init THEN list of reviewers is fetched()
✅ GIVEN correct initial values WHEN init starts THEN state is loading()
✅ GIVEN no reviewers WHEN init THEN state is correct with no reviewers()
✅ WHEN refresh data THEN refresh data and set isRefreshing to false()
✅ GIVEN correct initial values WHEN init THEN pull request number is correct()
✅ WHEN refresh data THEN refresh data and display reviewers()
✅ GIVEN mixed reviewers WHEN init THEN list of reviewers is fetched()
✅ GIVEN reviewers with no review done WHEN init THEN list of reviewers is fetched()
✅ WHEN there is an error during fetching data from 2 requests on init THEN error is shown()
✅ WHEN refresh data THEN start refreshing data and set isRefreshing to true()
✅ GIVEN no values in saved state WHEN init THEN throw IllegalStateException()
✅ WHEN there is an error during fetching data on init only from reviews request THEN error is shown()
✅ WHEN there is an error during fetching data on init only from requested reviewers request THEN error is shown()
✅ GIVEN correct initial values WHEN init THEN all initial values are read once()

✅ app/build/test-results/testDebugUnitTest/TEST-com.appunite.loudius.ui.reviewers.ReviewersViewModelTest$OnActionTest.xml

6 tests were completed in 58ms with 6 passed, 0 failed and 0 skipped.

Test suite Passed Failed Skipped Time
com.appunite.loudius.ui.reviewers.ReviewersViewModelTest$OnActionTest 6✅ 58ms

✅ com.appunite.loudius.ui.reviewers.ReviewersViewModelTest$OnActionTest

✅ GIVEN error state WHEN on try again action with success result THEN state has reviewers()
✅ WHEN successful notify action THEN show loading indicator()
✅ WHEN successful notify action THEN show success snackbar()
✅ WHEN failed notify action THEN show failure snackbar()
✅ GIVEN user login WHEN on snackbar dismiss action THEN snackbar is not shown()
✅ GIVEN error state WHEN on try again action with failure result THEN error is shown()

✅ app/build/test-results/testDebugUnitTest/TEST-com.appunite.loudius.UnitLoginScreenTest.xml

3 tests were completed in 4s with 3 passed, 0 failed and 0 skipped.

Test suite Passed Failed Skipped Time
com.appunite.loudius.UnitLoginScreenTest 3✅ 4s

✅ com.appunite.loudius.UnitLoginScreenTest

✅ whenClickingGrantPermissionInXiaomiDialog_OpenPermissionEditor
✅ whenLoginScreenIsVisible_LoginButtonOpensGithubAuth
✅ whenClickingPermissionGrantedInXiaomiDialog_OpenGithubAuth

✅ app/build/test-results/testDebugUnitTest/TEST-com.appunite.loudius.UnitPullRequestsScreenTest.xml

1 tests were completed in 864ms with 1 passed, 0 failed and 0 skipped.

Test suite Passed Failed Skipped Time
com.appunite.loudius.UnitPullRequestsScreenTest 1✅ 864ms

✅ com.appunite.loudius.UnitPullRequestsScreenTest

✅ whenResponseIsCorrectThenPullRequestItemIsVisible

✅ app/build/test-results/testDebugUnitTest/TEST-com.appunite.loudius.UnitReviewersScreenTest.xml

3 tests were completed in 771ms with 3 passed, 0 failed and 0 skipped.

Test suite Passed Failed Skipped Time
com.appunite.loudius.UnitReviewersScreenTest 3✅ 771ms

✅ com.appunite.loudius.UnitReviewersScreenTest

✅ whenClickOnNotifyAndCommentThenNotifyReviewer
✅ whenClickOnNotifyAndDoNotCommentThenShowError
✅ whenResponseIsCorrectThenReviewersAreVisible

✅ app/build/test-results/testDebugUnitTest/TEST-com.appunite.loudius.UnitWalkThroughAppTest.xml

1 tests were completed in 715ms with 1 passed, 0 failed and 0 skipped.

Test suite Passed Failed Skipped Time
com.appunite.loudius.UnitWalkThroughAppTest 1✅ 715ms

✅ com.appunite.loudius.UnitWalkThroughAppTest

✅ whenLoginScreenIsVisible_LoginButtonOpensGithubAuth

✅ app/build/test-results/testDebugUnitTest/TEST-com.appunite.loudius.util.TestUtilsKtTest.xml

1 tests were completed in 10ms with 1 passed, 0 failed and 0 skipped.

Test suite Passed Failed Skipped Time
com.appunite.loudius.util.TestUtilsKtTest 1✅ 10ms

✅ com.appunite.loudius.util.TestUtilsKtTest

✅ verifyOtpIsGenerated

✅ components/build/test-results/testDebugUnitTest/TEST-com.appunite.loudius.PaparazziShowkaseTests.xml

30 tests were completed in 14s with 30 passed, 0 failed and 0 skipped.

Test suite Passed Failed Skipped Time
com.appunite.loudius.PaparazziShowkaseTests 30✅ 14s

✅ com.appunite.loudius.PaparazziShowkaseTests

✅ preview_tests[List Item-LoudiusListItemContentAndActionPreview,1,light]
✅ preview_tests[List Item-LoudiusListItemContentAndActionPreview,2,light]
✅ preview_tests[List Item-LoudiusListItemContentAndIconPreview,1,light]
✅ preview_tests[List Item-LoudiusListItemContentAndIconPreview,2,light]
✅ preview_tests[List Item-LoudiusListItemJustContentPreview,1,light]
✅ preview_tests[List Item-LoudiusListItemJustContentPreview,2,light]
✅ preview_tests[List Item-LoudiusListItemManyWithAllItemsPreview,1,light]
✅ preview_tests[List Item-LoudiusListItemManyWithAllItemsPreview,2,light]
✅ preview_tests[List Item-LoudiusListItemMultiplePreview,1,light]
✅ preview_tests[List Item-LoudiusListItemMultiplePreview,2,light]
✅ preview_tests[List Item-LoudiusListItemWithHeaderPreview,1,light]
✅ preview_tests[List Item-LoudiusListItemWithHeaderPreview,2,light]
✅ preview_tests[Buttons-LoudiusOutlinedButtonDisabledPreview,1,light]
✅ preview_tests[Buttons-LoudiusOutlinedButtonDisabledPreview,2,light]
✅ preview_tests[Buttons-LoudiusOutlinedButtonLargePreview,1,light]
✅ preview_tests[Buttons-LoudiusOutlinedButtonLargePreview,2,light]
✅ preview_tests[Buttons-LoudiusOutlinedButtonPreview,1,light]
✅ preview_tests[Buttons-LoudiusOutlinedButtonPreview,2,light]
✅ preview_tests[Buttons-LoudiusOutlinedButtonWithIconLargePreview,1,light]
✅ preview_tests[Buttons-LoudiusOutlinedButtonWithIconLargePreview,2,light]
✅ preview_tests[Buttons-LoudiusOutlinedButtonWithIconPreview,1,light]
✅ preview_tests[Buttons-LoudiusOutlinedButtonWithIconPreview,2,light]
✅ preview_tests[Default Group-LoudiusTextStyles,1,light]
✅ preview_tests[Default Group-LoudiusTextStyles,2,light]
✅ preview_tests[Default Group-LoudiusTopAppBar,1,light]
✅ preview_tests[Default Group-LoudiusTopAppBar,2,light]
✅ preview_tests[Default Group-LoudiusTopAppBarWithoutBackButton,1,light]
✅ preview_tests[Default Group-LoudiusTopAppBarWithoutBackButton,2,light]
✅ preview_tests[Full screen-PreviewLoudiusPlaceholderText,1,light]
✅ preview_tests[Full screen-PreviewLoudiusPlaceholderText,2,light]

✅ components/build/test-results/testReleaseUnitTest/TEST-com.appunite.loudius.PaparazziShowkaseTests.xml

30 tests were completed in 12s with 30 passed, 0 failed and 0 skipped.

Test suite Passed Failed Skipped Time
com.appunite.loudius.PaparazziShowkaseTests 30✅ 12s

✅ com.appunite.loudius.PaparazziShowkaseTests

✅ preview_tests[List Item-LoudiusListItemContentAndActionPreview,1,light]
✅ preview_tests[List Item-LoudiusListItemContentAndActionPreview,2,light]
✅ preview_tests[List Item-LoudiusListItemContentAndIconPreview,1,light]
✅ preview_tests[List Item-LoudiusListItemContentAndIconPreview,2,light]
✅ preview_tests[List Item-LoudiusListItemJustContentPreview,1,light]
✅ preview_tests[List Item-LoudiusListItemJustContentPreview,2,light]
✅ preview_tests[List Item-LoudiusListItemManyWithAllItemsPreview,1,light]
✅ preview_tests[List Item-LoudiusListItemManyWithAllItemsPreview,2,light]
✅ preview_tests[List Item-LoudiusListItemMultiplePreview,1,light]
✅ preview_tests[List Item-LoudiusListItemMultiplePreview,2,light]
✅ preview_tests[List Item-LoudiusListItemWithHeaderPreview,1,light]
✅ preview_tests[List Item-LoudiusListItemWithHeaderPreview,2,light]
✅ preview_tests[Buttons-LoudiusOutlinedButtonDisabledPreview,1,light]
✅ preview_tests[Buttons-LoudiusOutlinedButtonDisabledPreview,2,light]
✅ preview_tests[Buttons-LoudiusOutlinedButtonLargePreview,1,light]
✅ preview_tests[Buttons-LoudiusOutlinedButtonLargePreview,2,light]
✅ preview_tests[Buttons-LoudiusOutlinedButtonPreview,1,light]
✅ preview_tests[Buttons-LoudiusOutlinedButtonPreview,2,light]
✅ preview_tests[Buttons-LoudiusOutlinedButtonWithIconLargePreview,1,light]
✅ preview_tests[Buttons-LoudiusOutlinedButtonWithIconLargePreview,2,light]
✅ preview_tests[Buttons-LoudiusOutlinedButtonWithIconPreview,1,light]
✅ preview_tests[Buttons-LoudiusOutlinedButtonWithIconPreview,2,light]
✅ preview_tests[Default Group-LoudiusTextStyles,1,light]
✅ preview_tests[Default Group-LoudiusTextStyles,2,light]
✅ preview_tests[Default Group-LoudiusTopAppBar,1,light]
✅ preview_tests[Default Group-LoudiusTopAppBar,2,light]
✅ preview_tests[Default Group-LoudiusTopAppBarWithoutBackButton,1,light]
✅ preview_tests[Default Group-LoudiusTopAppBarWithoutBackButton,2,light]
✅ preview_tests[Full screen-PreviewLoudiusPlaceholderText,1,light]
✅ preview_tests[Full screen-PreviewLoudiusPlaceholderText,2,light]

✅ custom-ktlint-rules/build/test-results/test/TEST-com.appunite.loudius.rules.DoNotMixJunitVersionsTest.xml

5 tests were completed in 854ms with 5 passed, 0 failed and 0 skipped.

Test suite Passed Failed Skipped Time
com.appunite.loudius.rules.DoNotMixJunitVersionsTest 5✅ 854ms

✅ com.appunite.loudius.rules.DoNotMixJunitVersionsTest

✅ fail if multiple Junit4 is mixed with Junit5
✅ fail if Junit4 is mixed with Junit5
✅ allows Junit5 imports
✅ allows standard imports
✅ allows Junit4 imports

✅ custom-ktlint-rules/build/test-results/test/TEST-com.appunite.loudius.rules.UseStriktAssertionLibraryTest.xml

5 tests were completed in 27ms with 5 passed, 0 failed and 0 skipped.

Test suite Passed Failed Skipped Time
com.appunite.loudius.rules.UseStriktAssertionLibraryTest 5✅ 27ms

✅ com.appunite.loudius.rules.UseStriktAssertionLibraryTest

✅ do not allow TestCase library
✅ do not allow junit assertions framework
✅ do not allow junit assertions library
✅ do not allow jupiter assertions library
✅ allows using skrt library