Add some basic test stats to the test runner output for both SimpleReport and JUnitReport:
number of tests that pass/fail
% of success
number of assertions within each test that pass / fail
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.
## 📋 Pull Request Information
**Original PR:** https://github.com/apple/pkl/pull/498
**Author:** [@jjmaestro](https://github.com/jjmaestro)
**Created:** 5/16/2024
**Status:** ✅ Merged
**Merged:** 10/24/2024
**Merged by:** [@bioball](https://github.com/bioball)
**Base:** `main` ← **Head:** `improve-testing`
---
### 📝 Commits (1)
- [`25fd96e`](https://github.com/apple/pkl/commit/25fd96ed46ad4b14914a4f8e1565156fab1d10bf) Improve testing with stats and errors per test section
### 📊 Changes
**8 files changed** (+848 additions, -383 deletions)
<details>
<summary>View changed files</summary>
📝 `pkl-cli/src/main/kotlin/org/pkl/cli/CliTestRunner.kt` (+4 -1)
📝 `pkl-cli/src/test/kotlin/org/pkl/cli/CliTestRunnerTest.kt` (+45 -38)
📝 `pkl-core/src/main/java/org/pkl/core/runtime/TestResults.java` (+276 -149)
📝 `pkl-core/src/main/java/org/pkl/core/runtime/TestRunner.java` (+84 -37)
📝 `pkl-core/src/main/java/org/pkl/core/stdlib/test/report/JUnitReport.java` (+45 -22)
📝 `pkl-core/src/main/java/org/pkl/core/stdlib/test/report/SimpleReport.java` (+72 -27)
📝 `pkl-core/src/test/kotlin/org/pkl/core/EvaluateTestsTest.kt` (+125 -10)
📝 `pkl-gradle/src/test/kotlin/org/pkl/gradle/TestsTest.kt` (+197 -99)
</details>
### 📄 Description
Add some basic test stats to the test runner output for both SimpleReport and JUnitReport:
- number of tests that pass/fail
- % of success
- number of assertions within each test that pass / fail
---
<sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.
📋 Pull Request Information
Original PR: https://github.com/apple/pkl/pull/498
Author: @jjmaestro
Created: 5/16/2024
Status: ✅ Merged
Merged: 10/24/2024
Merged by: @bioball
Base:
main← Head:improve-testing📝 Commits (1)
25fd96eImprove testing with stats and errors per test section📊 Changes
8 files changed (+848 additions, -383 deletions)
View changed files
📝
pkl-cli/src/main/kotlin/org/pkl/cli/CliTestRunner.kt(+4 -1)📝
pkl-cli/src/test/kotlin/org/pkl/cli/CliTestRunnerTest.kt(+45 -38)📝
pkl-core/src/main/java/org/pkl/core/runtime/TestResults.java(+276 -149)📝
pkl-core/src/main/java/org/pkl/core/runtime/TestRunner.java(+84 -37)📝
pkl-core/src/main/java/org/pkl/core/stdlib/test/report/JUnitReport.java(+45 -22)📝
pkl-core/src/main/java/org/pkl/core/stdlib/test/report/SimpleReport.java(+72 -27)📝
pkl-core/src/test/kotlin/org/pkl/core/EvaluateTestsTest.kt(+125 -10)📝
pkl-gradle/src/test/kotlin/org/pkl/gradle/TestsTest.kt(+197 -99)📄 Description
Add some basic test stats to the test runner output for both SimpleReport and JUnitReport:
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.