Skip to content

Commit

Permalink
style: improve test scenario comment readability
Browse files Browse the repository at this point in the history
  • Loading branch information
wzieba committed Nov 8, 2023
1 parent 076f0a7 commit 7ba512f
Showing 1 changed file with 7 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -77,8 +77,13 @@ class FunctionalTests {
}

/**
* In this scenario, the consumer application goes to the background, re-launches the app,
* and moves to the background again. It asserts, that only one payload has been sent.
* In this scenario, the consumer application:
* 1. Goes to the background
* 2. Is re-launched
* This pattern occurs twice, which allows us to confirm the following assertions:
* 1. The event request is triggered when the consumer application is moved to the background
* 2. If the consumer application is sent to the background again within a short interval,
* the request is not duplicated.
*/
@Test
fun appSendsEventsWhenMovedToBackgroundAndDoesntSendDuplicatedRequestWhenItsMovedToBackgroundAgainQuickly() {
Expand Down

0 comments on commit 7ba512f

Please sign in to comment.