Skip to content

Commit

Permalink
Update docs and changelog
Browse files Browse the repository at this point in the history
  • Loading branch information
rubensousa committed Oct 1, 2024
1 parent 21aeecc commit bc33dbf
Show file tree
Hide file tree
Showing 5 changed files with 42 additions and 11 deletions.
7 changes: 1 addition & 6 deletions docs/android-allure-plugin.md
Original file line number Diff line number Diff line change
Expand Up @@ -42,15 +42,10 @@ To customize the plugin use the following:

```kotlin
allureReport {
/**
* The name of the test task that will be invoked
* to generate the report on `connectedAllureReport`
*/
testTask = "connectedDebugAndroidTest"
/**
* By default, logcat files are not included if the test passes
*/
keepLogcatOnSuccess = false
attachLogcatOnSuccess = false
/**
* The report output path.
* Can be used to merge reports of multiple modules by using the same directory
Expand Down
14 changes: 12 additions & 2 deletions docs/changelog/android-allure.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,14 @@ Plugin id: `com.rubensousa.carioca.report.allure`

## Version 1.0.0

### 1.0.0-alpha05

2024-10-02

#### Improvements

- Added support for report generation of product flavor tests [#73](https://github.com/rubensousa/Carioca/pull/73)

### 1.0.0-alpha04

2024-09-28
Expand All @@ -18,8 +26,10 @@ Plugin id: `com.rubensousa.carioca.report.allure`

#### Improvements

- Added support for multi-module report aggregation with `outputDir` option [#44](https://github.com/rubensousa/Carioca/pull/44)
- Do not delete original reports by default since they can be used by other plugins [#51](https://github.com/rubensousa/Carioca/pull/51)
- Added support for multi-module report aggregation with `outputDir`
option [#44](https://github.com/rubensousa/Carioca/pull/44)
- Do not delete original reports by default since they can be used by other
plugins [#51](https://github.com/rubensousa/Carioca/pull/51)

### 1.0.0-alpha02

Expand Down
28 changes: 27 additions & 1 deletion docs/test-reports-android.md
Original file line number Diff line number Diff line change
Expand Up @@ -289,4 +289,30 @@ Node #1 at (left=0.0, top=0.0, right=1920.0, bottom=1080.0)px
|-Node #10 at (left=1782.0, top=972.0, right=1834.0, bottom=1012.0)px
Text = '[FAB]'
Actions = [SetTextSubstitution, ShowTextSubstitution, ClearTextSubstitution, GetTextLayoutResult]
```
```

## Tracking ignored tests

To include ignored tests in the reports, you need to attach the library's instrumentation listener:

```groovy
android {
defaultConfig {
testInstrumentationRunnerArguments listener: 'com.rubensousa.carioca.report.android.CariocaInstrumentedListener'
}
}
```

Or in kotlin DSL:

```kotlin
android {
defaultConfig {
testInstrumentationRunnerArguments["listener"] =
"com.rubensousa.carioca.report.android.CariocaInstrumentedListener"
}
}
```

!!! note
If you use other listeners, just separate them with a comma in the same string
2 changes: 1 addition & 1 deletion gradle/libs.versions.toml
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ kover = "0.9.0-RC"
ksp = "2.0.20-1.0.24"

# Publishing
cariocaReport = "1.0.0-alpha02"
cariocaReport = "1.0.0-alpha04"
uiTestJunit4 = "1.7.2"
uiTooling = "1.7.2"

Expand Down
2 changes: 1 addition & 1 deletion mkdocs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ extra:
junit4_rules:
version: '1.0.0-beta01'
allure_plugin:
version: '1.0.0-alpha04'
version: '1.0.0-alpha05'
hilt:
version: '1.0.0'
social:
Expand Down

0 comments on commit bc33dbf

Please sign in to comment.