Skip to content

Commit

Permalink
Merge pull request #74 from rubensousa/docs
Browse files Browse the repository at this point in the history
Fix formatting
  • Loading branch information
rubensousa authored Oct 29, 2024
2 parents bc33dbf + 8d756fe commit 905ec8a
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions docs/test-reports-android.md
Original file line number Diff line number Diff line change
Expand Up @@ -15,8 +15,8 @@ class TestReportRule : InstrumentedReportRule()
```

!!! note
The goal of extending InstrumentedReportRule is to apply consistent report rules throughout your test suite.
It contains settings regarding screen recording and screenshot that you can customize.
The goal of extending InstrumentedReportRule is to apply consistent report rules throughout your test suite.
It contains settings regarding screen recording and screenshot that you can customize.

Now apply the rule in your tests:

Expand All @@ -31,9 +31,9 @@ class SampleTest {
```

!!! note
Use different orders for your rules in case you have multiple of them and assign the lowest value to `TestReportRule`.
This ensures that it starts before all other rules you have in your test suite.
Example: `@get:Rule(order = 0)` for the report rule and `order = 1` for the next rule
Use different orders for your rules in case you have multiple of them and assign the lowest value to `TestReportRule`.
This ensures that it starts before all other rules you have in your test suite.
Example: `@get:Rule(order = 0)` for the report rule and `order = 1` for the next rule

This basic setup will achieve this out of the box:

Expand Down

0 comments on commit 905ec8a

Please sign in to comment.