Commit 66ee788
authored
Add unit test report generator (#7411)
Currently not called by any gradle plugins or workflows.
Generates a root level file called `test-report.md` with info for a
configurable number of commits using the GitHub API. Can be called
locally for testing with a tiny `main` function configuring an api token
and commit count.
<details>
<summary>Example output</summary>
### Unit Tests
*All tests passing*
### Instrumentation Tests
| | [#7344](#7344)
| [#7404](#7404) |
[#7412](#7412) |
[#7409](#7409) |
[#7365](#7365) |
Success Rate |
| :--- | :---: | :---: | :---: | :---: | :---: | :--- |
| firebase-database |
[✅](https://github.com/firebase/firebase-android-sdk/actions/runs/18049430908/job/51368583464)
|
[⛔](https://github.com/firebase/firebase-android-sdk/actions/runs/18022175955/job/51281984677)
| | |
[⛔](https://github.com/firebase/firebase-android-sdk/actions/runs/17951371470/job/51051886073)
| ⛔ 33% |
| firebase-common |
[✅](https://github.com/firebase/firebase-android-sdk/actions/runs/18049430908/job/51368583401)
|
[⛔](https://github.com/firebase/firebase-android-sdk/actions/runs/18022175955/job/51281984633)
| | |
[✅](https://github.com/firebase/firebase-android-sdk/actions/runs/17951371470/job/51051886001)
| ⛔ 66% |
| firebase-config:bandwagoner |
[✅](https://github.com/firebase/firebase-android-sdk/actions/runs/18049430908/job/51368583437)
|
[✅](https://github.com/firebase/firebase-android-sdk/actions/runs/18022175955/job/51281984627)
| | |
[⛔](https://github.com/firebase/firebase-android-sdk/actions/runs/17951371470/job/51051886027)
| ⛔ 66% |
| firebase-functions |
[✅](https://github.com/firebase/firebase-android-sdk/actions/runs/18049430908/job/51368583469)
|
[✅](https://github.com/firebase/firebase-android-sdk/actions/runs/18022175955/job/51281984675)
| | |
[⛔](https://github.com/firebase/firebase-android-sdk/actions/runs/17951371470/job/51051886083)
| ⛔ 66% |
| firebase-inappmessaging |
[✅](https://github.com/firebase/firebase-android-sdk/actions/runs/18049430908/job/51368583442)
|
[✅](https://github.com/firebase/firebase-android-sdk/actions/runs/18022175955/job/51281984686)
| | |
[⛔](https://github.com/firebase/firebase-android-sdk/actions/runs/17951371470/job/51051886106)
| ⛔ 66% |
*+58 passing SDKs*
</details>1 parent 544b1a2 commit 66ee788
File tree
3 files changed
+444
-0
lines changed- plugins/src/main/java/com/google/firebase/gradle/plugins/report
3 files changed
+444
-0
lines changedLines changed: 23 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
Lines changed: 46 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
| 28 | + | |
| 29 | + | |
| 30 | + | |
| 31 | + | |
| 32 | + | |
| 33 | + | |
| 34 | + | |
| 35 | + | |
| 36 | + | |
| 37 | + | |
| 38 | + | |
| 39 | + | |
| 40 | + | |
| 41 | + | |
| 42 | + | |
| 43 | + | |
| 44 | + | |
| 45 | + | |
| 46 | + | |
0 commit comments