mirror of
https://github.com/dorny/test-reporter.git
synced 2025-12-15 13:57:09 +01:00
Merge pull request #463 from ritchxu/ritchxu/support-actions-summary
This commit is contained in:
commit
9557e57e83
22 changed files with 2430 additions and 901 deletions
11
README.md
11
README.md
|
|
@ -2,7 +2,7 @@
|
|||
|
||||
This [Github Action](https://github.com/features/actions) displays test results from popular testing frameworks directly in GitHub.
|
||||
|
||||
✔️ Parses test results in XML or JSON format and creates nice report as Github Check Run
|
||||
✔️ Parses test results in XML or JSON format and creates nice report as GitHub Check Run or GitHub Actions job summaries
|
||||
|
||||
✔️ Annotates code where it failed based on message and stack trace captured during test execution
|
||||
|
||||
|
|
@ -151,9 +151,18 @@ jobs:
|
|||
# Detailed listing of test suites and test cases will be skipped.
|
||||
only-summary: 'false'
|
||||
|
||||
# Allows you to generate reports for Actions Summary
|
||||
# https://github.blog/2022-05-09-supercharging-github-actions-with-job-summaries/
|
||||
use-actions-summary: 'true'
|
||||
|
||||
# Customize the title of badges shown for each Actions Summary.
|
||||
# Useful when distinguish summaries for tests ran in multiple Actions steps.
|
||||
badge-title: 'tests'
|
||||
|
||||
# Limits which test suites are listed:
|
||||
# all
|
||||
# failed
|
||||
# none
|
||||
list-suites: 'all'
|
||||
|
||||
# Limits which test cases are listed:
|
||||
|
|
|
|||
|
|
@ -1,10 +1,13 @@
|
|||

|
||||
|Report|Passed|Failed|Skipped|Time|
|
||||
|:---|---:|---:|---:|---:|
|
||||
|fixtures/dart-json.json|1 ✅|4 ❌|1 ⚪|4s|
|
||||
## ❌ <a id="user-content-r0" href="#r0">fixtures/dart-json.json</a>
|
||||
**6** tests were completed in **4s** with **1** passed, **4** failed and **1** skipped.
|
||||
|Test suite|Passed|Failed|Skipped|Time|
|
||||
|:---|---:|---:|---:|---:|
|
||||
|[test/main_test.dart](#r0s0)|1✅|3❌||74ms|
|
||||
|[test/second_test.dart](#r0s1)||1❌|1⚪|51ms|
|
||||
|[test/main_test.dart](#r0s0)|1 ✅|3 ❌||74ms|
|
||||
|[test/second_test.dart](#r0s1)||1 ❌|1 ⚪|51ms|
|
||||
### ❌ <a id="user-content-r0s0" href="#r0s0">test/main_test.dart</a>
|
||||
```
|
||||
Test 1
|
||||
|
|
|
|||
|
|
@ -1,9 +1,12 @@
|
|||

|
||||
|Report|Passed|Failed|Skipped|Time|
|
||||
|:---|---:|---:|---:|---:|
|
||||
|fixtures/dotnet-nunit.xml|3 ✅|5 ❌|1 ⚪|230ms|
|
||||
## ❌ <a id="user-content-r0" href="#r0">fixtures/dotnet-nunit.xml</a>
|
||||
**9** tests were completed in **230ms** with **3** passed, **5** failed and **1** skipped.
|
||||
|Test suite|Passed|Failed|Skipped|Time|
|
||||
|:---|---:|---:|---:|---:|
|
||||
|[DotnetTests.NUnitV3Tests.dll.DotnetTests.XUnitTests](#r0s0)|3✅|5❌|1⚪|69ms|
|
||||
|[DotnetTests.NUnitV3Tests.dll.DotnetTests.XUnitTests](#r0s0)|3 ✅|5 ❌|1 ⚪|69ms|
|
||||
### ❌ <a id="user-content-r0s0" href="#r0s0">DotnetTests.NUnitV3Tests.dll.DotnetTests.XUnitTests</a>
|
||||
```
|
||||
CalculatorTests
|
||||
|
|
|
|||
|
|
@ -1,9 +1,12 @@
|
|||

|
||||
|Report|Passed|Failed|Skipped|Time|
|
||||
|:---|---:|---:|---:|---:|
|
||||
|fixtures/dotnet-trx.trx|5 ✅|5 ❌|1 ⚪|1s|
|
||||
## ❌ <a id="user-content-r0" href="#r0">fixtures/dotnet-trx.trx</a>
|
||||
**11** tests were completed in **1s** with **5** passed, **5** failed and **1** skipped.
|
||||
|Test suite|Passed|Failed|Skipped|Time|
|
||||
|:---|---:|---:|---:|---:|
|
||||
|[DotnetTests.XUnitTests.CalculatorTests](#r0s0)|5✅|5❌|1⚪|118ms|
|
||||
|[DotnetTests.XUnitTests.CalculatorTests](#r0s0)|5 ✅|5 ❌|1 ⚪|118ms|
|
||||
### ❌ <a id="user-content-r0s0" href="#r0s0">DotnetTests.XUnitTests.CalculatorTests</a>
|
||||
```
|
||||
✅ Custom Name
|
||||
|
|
|
|||
|
|
@ -1,70 +1,75 @@
|
|||

|
||||
<details><summary>Expand for details</summary>
|
||||
|
||||
|Report|Passed|Failed|Skipped|Time|
|
||||
|:---|---:|---:|---:|---:|
|
||||
|fixtures/external/FluentValidation.Tests.trx|803 ✅||1 ⚪|4s|
|
||||
## ✅ <a id="user-content-r0" href="#r0">fixtures/external/FluentValidation.Tests.trx</a>
|
||||
**804** tests were completed in **4s** with **803** passed, **0** failed and **1** skipped.
|
||||
|Test suite|Passed|Failed|Skipped|Time|
|
||||
|:---|---:|---:|---:|---:|
|
||||
|[FluentValidation.Tests.AbstractValidatorTester](#r0s0)|35✅|||12ms|
|
||||
|[FluentValidation.Tests.AccessorCacheTests](#r0s1)|4✅||1⚪|4ms|
|
||||
|[FluentValidation.Tests.AssemblyScannerTester](#r0s2)|2✅|||2ms|
|
||||
|[FluentValidation.Tests.CascadingFailuresTester](#r0s3)|38✅|||23ms|
|
||||
|[FluentValidation.Tests.ChainedValidationTester](#r0s4)|13✅|||6ms|
|
||||
|[FluentValidation.Tests.ChainingValidatorsTester](#r0s5)|3✅|||1ms|
|
||||
|[FluentValidation.Tests.ChildRulesTests](#r0s6)|2✅|||7ms|
|
||||
|[FluentValidation.Tests.CollectionValidatorWithParentTests](#r0s7)|16✅|||13ms|
|
||||
|[FluentValidation.Tests.ComplexValidationTester](#r0s8)|17✅|||26ms|
|
||||
|[FluentValidation.Tests.ConditionTests](#r0s9)|18✅|||9ms|
|
||||
|[FluentValidation.Tests.CreditCardValidatorTests](#r0s10)|2✅|||2ms|
|
||||
|[FluentValidation.Tests.CustomFailureActionTester](#r0s11)|3✅|||1ms|
|
||||
|[FluentValidation.Tests.CustomMessageFormatTester](#r0s12)|6✅|||3ms|
|
||||
|[FluentValidation.Tests.CustomValidatorTester](#r0s13)|10✅|||6ms|
|
||||
|[FluentValidation.Tests.DefaultValidatorExtensionTester](#r0s14)|30✅|||38ms|
|
||||
|[FluentValidation.Tests.EmailValidatorTests](#r0s15)|36✅|||18ms|
|
||||
|[FluentValidation.Tests.EmptyTester](#r0s16)|9✅|||5ms|
|
||||
|[FluentValidation.Tests.EnumValidatorTests](#r0s17)|12✅|||24ms|
|
||||
|[FluentValidation.Tests.EqualValidatorTests](#r0s18)|10✅|||3ms|
|
||||
|[FluentValidation.Tests.ExactLengthValidatorTester](#r0s19)|6✅|||2ms|
|
||||
|[FluentValidation.Tests.ExclusiveBetweenValidatorTests](#r0s20)|19✅|||6ms|
|
||||
|[FluentValidation.Tests.ExtensionTester](#r0s21)|4✅|||1ms|
|
||||
|[FluentValidation.Tests.ForEachRuleTests](#r0s22)|34✅|||47ms|
|
||||
|[FluentValidation.Tests.GreaterThanOrEqualToValidatorTester](#r0s23)|14✅|||5ms|
|
||||
|[FluentValidation.Tests.GreaterThanValidatorTester](#r0s24)|13✅|||4ms|
|
||||
|[FluentValidation.Tests.InclusiveBetweenValidatorTests](#r0s25)|18✅|||4ms|
|
||||
|[FluentValidation.Tests.InheritanceValidatorTest](#r0s26)|11✅|||18ms|
|
||||
|[FluentValidation.Tests.InlineValidatorTester](#r0s27)|1✅|||2ms|
|
||||
|[FluentValidation.Tests.LanguageManagerTests](#r0s28)|21✅|||28ms|
|
||||
|[FluentValidation.Tests.LengthValidatorTests](#r0s29)|16✅|||17ms|
|
||||
|[FluentValidation.Tests.LessThanOrEqualToValidatorTester](#r0s30)|13✅|||4ms|
|
||||
|[FluentValidation.Tests.LessThanValidatorTester](#r0s31)|16✅|||6ms|
|
||||
|[FluentValidation.Tests.LocalisedMessagesTester](#r0s32)|6✅|||3ms|
|
||||
|[FluentValidation.Tests.LocalisedNameTester](#r0s33)|2✅|||1ms|
|
||||
|[FluentValidation.Tests.MemberAccessorTests](#r0s34)|9✅|||5ms|
|
||||
|[FluentValidation.Tests.MessageFormatterTests](#r0s35)|10✅|||2ms|
|
||||
|[FluentValidation.Tests.ModelLevelValidatorTests](#r0s36)|2✅|||1ms|
|
||||
|[FluentValidation.Tests.NameResolutionPluggabilityTester](#r0s37)|3✅|||2ms|
|
||||
|[FluentValidation.Tests.NotEmptyTester](#r0s38)|10✅|||7ms|
|
||||
|[FluentValidation.Tests.NotEqualValidatorTests](#r0s39)|11✅|||7ms|
|
||||
|[FluentValidation.Tests.NotNullTester](#r0s40)|5✅|||1ms|
|
||||
|[FluentValidation.Tests.NullTester](#r0s41)|5✅|||2ms|
|
||||
|[FluentValidation.Tests.OnFailureTests](#r0s42)|10✅|||8ms|
|
||||
|[FluentValidation.Tests.PredicateValidatorTester](#r0s43)|5✅|||2ms|
|
||||
|[FluentValidation.Tests.PropertyChainTests](#r0s44)|7✅|||1ms|
|
||||
|[FluentValidation.Tests.RegularExpressionValidatorTests](#r0s45)|15✅|||6ms|
|
||||
|[FluentValidation.Tests.RuleBuilderTests](#r0s46)|29✅|||96ms|
|
||||
|[FluentValidation.Tests.RuleDependencyTests](#r0s47)|14✅|||3s|
|
||||
|[FluentValidation.Tests.RulesetTests](#r0s48)|21✅|||14ms|
|
||||
|[FluentValidation.Tests.ScalePrecisionValidatorTests](#r0s49)|6✅|||4ms|
|
||||
|[FluentValidation.Tests.SharedConditionTests](#r0s50)|42✅|||42ms|
|
||||
|[FluentValidation.Tests.StandalonePropertyValidationTester](#r0s51)|1✅|||0ms|
|
||||
|[FluentValidation.Tests.StringEnumValidatorTests](#r0s52)|10✅|||5ms|
|
||||
|[FluentValidation.Tests.TrackingCollectionTests](#r0s53)|3✅|||2ms|
|
||||
|[FluentValidation.Tests.TransformTests](#r0s54)|4✅|||3ms|
|
||||
|[FluentValidation.Tests.UserSeverityTester](#r0s55)|7✅|||3ms|
|
||||
|[FluentValidation.Tests.UserStateTester](#r0s56)|4✅|||3ms|
|
||||
|[FluentValidation.Tests.ValidateAndThrowTester](#r0s57)|14✅|||25ms|
|
||||
|[FluentValidation.Tests.ValidationResultTests](#r0s58)|8✅|||8ms|
|
||||
|[FluentValidation.Tests.ValidatorDescriptorTester](#r0s59)|5✅|||1ms|
|
||||
|[FluentValidation.Tests.ValidatorSelectorTests](#r0s60)|10✅|||9ms|
|
||||
|[FluentValidation.Tests.ValidatorTesterTester](#r0s61)|73✅|||74ms|
|
||||
|[FluentValidation.Tests.AbstractValidatorTester](#r0s0)|35 ✅|||12ms|
|
||||
|[FluentValidation.Tests.AccessorCacheTests](#r0s1)|4 ✅||1 ⚪|4ms|
|
||||
|[FluentValidation.Tests.AssemblyScannerTester](#r0s2)|2 ✅|||2ms|
|
||||
|[FluentValidation.Tests.CascadingFailuresTester](#r0s3)|38 ✅|||23ms|
|
||||
|[FluentValidation.Tests.ChainedValidationTester](#r0s4)|13 ✅|||6ms|
|
||||
|[FluentValidation.Tests.ChainingValidatorsTester](#r0s5)|3 ✅|||1ms|
|
||||
|[FluentValidation.Tests.ChildRulesTests](#r0s6)|2 ✅|||7ms|
|
||||
|[FluentValidation.Tests.CollectionValidatorWithParentTests](#r0s7)|16 ✅|||13ms|
|
||||
|[FluentValidation.Tests.ComplexValidationTester](#r0s8)|17 ✅|||26ms|
|
||||
|[FluentValidation.Tests.ConditionTests](#r0s9)|18 ✅|||9ms|
|
||||
|[FluentValidation.Tests.CreditCardValidatorTests](#r0s10)|2 ✅|||2ms|
|
||||
|[FluentValidation.Tests.CustomFailureActionTester](#r0s11)|3 ✅|||1ms|
|
||||
|[FluentValidation.Tests.CustomMessageFormatTester](#r0s12)|6 ✅|||3ms|
|
||||
|[FluentValidation.Tests.CustomValidatorTester](#r0s13)|10 ✅|||6ms|
|
||||
|[FluentValidation.Tests.DefaultValidatorExtensionTester](#r0s14)|30 ✅|||38ms|
|
||||
|[FluentValidation.Tests.EmailValidatorTests](#r0s15)|36 ✅|||18ms|
|
||||
|[FluentValidation.Tests.EmptyTester](#r0s16)|9 ✅|||5ms|
|
||||
|[FluentValidation.Tests.EnumValidatorTests](#r0s17)|12 ✅|||24ms|
|
||||
|[FluentValidation.Tests.EqualValidatorTests](#r0s18)|10 ✅|||3ms|
|
||||
|[FluentValidation.Tests.ExactLengthValidatorTester](#r0s19)|6 ✅|||2ms|
|
||||
|[FluentValidation.Tests.ExclusiveBetweenValidatorTests](#r0s20)|19 ✅|||6ms|
|
||||
|[FluentValidation.Tests.ExtensionTester](#r0s21)|4 ✅|||1ms|
|
||||
|[FluentValidation.Tests.ForEachRuleTests](#r0s22)|34 ✅|||47ms|
|
||||
|[FluentValidation.Tests.GreaterThanOrEqualToValidatorTester](#r0s23)|14 ✅|||5ms|
|
||||
|[FluentValidation.Tests.GreaterThanValidatorTester](#r0s24)|13 ✅|||4ms|
|
||||
|[FluentValidation.Tests.InclusiveBetweenValidatorTests](#r0s25)|18 ✅|||4ms|
|
||||
|[FluentValidation.Tests.InheritanceValidatorTest](#r0s26)|11 ✅|||18ms|
|
||||
|[FluentValidation.Tests.InlineValidatorTester](#r0s27)|1 ✅|||2ms|
|
||||
|[FluentValidation.Tests.LanguageManagerTests](#r0s28)|21 ✅|||28ms|
|
||||
|[FluentValidation.Tests.LengthValidatorTests](#r0s29)|16 ✅|||17ms|
|
||||
|[FluentValidation.Tests.LessThanOrEqualToValidatorTester](#r0s30)|13 ✅|||4ms|
|
||||
|[FluentValidation.Tests.LessThanValidatorTester](#r0s31)|16 ✅|||6ms|
|
||||
|[FluentValidation.Tests.LocalisedMessagesTester](#r0s32)|6 ✅|||3ms|
|
||||
|[FluentValidation.Tests.LocalisedNameTester](#r0s33)|2 ✅|||1ms|
|
||||
|[FluentValidation.Tests.MemberAccessorTests](#r0s34)|9 ✅|||5ms|
|
||||
|[FluentValidation.Tests.MessageFormatterTests](#r0s35)|10 ✅|||2ms|
|
||||
|[FluentValidation.Tests.ModelLevelValidatorTests](#r0s36)|2 ✅|||1ms|
|
||||
|[FluentValidation.Tests.NameResolutionPluggabilityTester](#r0s37)|3 ✅|||2ms|
|
||||
|[FluentValidation.Tests.NotEmptyTester](#r0s38)|10 ✅|||7ms|
|
||||
|[FluentValidation.Tests.NotEqualValidatorTests](#r0s39)|11 ✅|||7ms|
|
||||
|[FluentValidation.Tests.NotNullTester](#r0s40)|5 ✅|||1ms|
|
||||
|[FluentValidation.Tests.NullTester](#r0s41)|5 ✅|||2ms|
|
||||
|[FluentValidation.Tests.OnFailureTests](#r0s42)|10 ✅|||8ms|
|
||||
|[FluentValidation.Tests.PredicateValidatorTester](#r0s43)|5 ✅|||2ms|
|
||||
|[FluentValidation.Tests.PropertyChainTests](#r0s44)|7 ✅|||1ms|
|
||||
|[FluentValidation.Tests.RegularExpressionValidatorTests](#r0s45)|15 ✅|||6ms|
|
||||
|[FluentValidation.Tests.RuleBuilderTests](#r0s46)|29 ✅|||96ms|
|
||||
|[FluentValidation.Tests.RuleDependencyTests](#r0s47)|14 ✅|||3s|
|
||||
|[FluentValidation.Tests.RulesetTests](#r0s48)|21 ✅|||14ms|
|
||||
|[FluentValidation.Tests.ScalePrecisionValidatorTests](#r0s49)|6 ✅|||4ms|
|
||||
|[FluentValidation.Tests.SharedConditionTests](#r0s50)|42 ✅|||42ms|
|
||||
|[FluentValidation.Tests.StandalonePropertyValidationTester](#r0s51)|1 ✅|||0ms|
|
||||
|[FluentValidation.Tests.StringEnumValidatorTests](#r0s52)|10 ✅|||5ms|
|
||||
|[FluentValidation.Tests.TrackingCollectionTests](#r0s53)|3 ✅|||2ms|
|
||||
|[FluentValidation.Tests.TransformTests](#r0s54)|4 ✅|||3ms|
|
||||
|[FluentValidation.Tests.UserSeverityTester](#r0s55)|7 ✅|||3ms|
|
||||
|[FluentValidation.Tests.UserStateTester](#r0s56)|4 ✅|||3ms|
|
||||
|[FluentValidation.Tests.ValidateAndThrowTester](#r0s57)|14 ✅|||25ms|
|
||||
|[FluentValidation.Tests.ValidationResultTests](#r0s58)|8 ✅|||8ms|
|
||||
|[FluentValidation.Tests.ValidatorDescriptorTester](#r0s59)|5 ✅|||1ms|
|
||||
|[FluentValidation.Tests.ValidatorSelectorTests](#r0s60)|10 ✅|||9ms|
|
||||
|[FluentValidation.Tests.ValidatorTesterTester](#r0s61)|73 ✅|||74ms|
|
||||
### ✅ <a id="user-content-r0s0" href="#r0s0">FluentValidation.Tests.AbstractValidatorTester</a>
|
||||
```
|
||||
✅ Can_replace_default_errorcode_resolver
|
||||
|
|
@ -1054,4 +1059,5 @@
|
|||
✅ Unexpected_message_check(withoutErrMsg: "bar", errMessages: [])
|
||||
✅ Unexpected_severity_check
|
||||
✅ Unexpected_state_check
|
||||
```
|
||||
```
|
||||
</details>
|
||||
|
|
@ -1,10 +1,13 @@
|
|||

|
||||
|Report|Passed|Failed|Skipped|Time|
|
||||
|:---|---:|---:|---:|---:|
|
||||
|fixtures/jest-junit.xml|1 ✅|4 ❌|1 ⚪|1s|
|
||||
## ❌ <a id="user-content-r0" href="#r0">fixtures/jest-junit.xml</a>
|
||||
**6** tests were completed in **1s** with **1** passed, **4** failed and **1** skipped.
|
||||
|Test suite|Passed|Failed|Skipped|Time|
|
||||
|:---|---:|---:|---:|---:|
|
||||
|[__tests__\main.test.js](#r0s0)|1✅|3❌||486ms|
|
||||
|[__tests__\second.test.js](#r0s1)||1❌|1⚪|82ms|
|
||||
|[__tests__\main.test.js](#r0s0)|1 ✅|3 ❌||486ms|
|
||||
|[__tests__\second.test.js](#r0s1)||1 ❌|1 ⚪|82ms|
|
||||
### ❌ <a id="user-content-r0s0" href="#r0s0">__tests__\main.test.js</a>
|
||||
```
|
||||
Test 1
|
||||
|
|
|
|||
|
|
@ -1,10 +1,16 @@
|
|||

|
||||
<details><summary>Expand for details</summary>
|
||||
|
||||
|Report|Passed|Failed|Skipped|Time|
|
||||
|:---|---:|---:|---:|---:|
|
||||
|fixtures/external/jest/jest-react-component-test-results.xml|1 ✅|||1000ms|
|
||||
## ✅ <a id="user-content-r0" href="#r0">fixtures/external/jest/jest-react-component-test-results.xml</a>
|
||||
**1** tests were completed in **1000ms** with **1** passed, **0** failed and **0** skipped.
|
||||
|Test suite|Passed|Failed|Skipped|Time|
|
||||
|:---|---:|---:|---:|---:|
|
||||
|[\<Component /\>](#r0s0)|1✅|||798ms|
|
||||
|[\<Component /\>](#r0s0)|1 ✅|||798ms|
|
||||
### ✅ <a id="user-content-r0s0" href="#r0s0">\<Component /\></a>
|
||||
```
|
||||
✅ <Component /> should render properly
|
||||
```
|
||||
```
|
||||
</details>
|
||||
|
|
@ -1,408 +1,411 @@
|
|||

|
||||
|Report|Passed|Failed|Skipped|Time|
|
||||
|:---|---:|---:|---:|---:|
|
||||
|fixtures/external/jest/jest-test-results.xml|4207 ✅|2 ❌|30 ⚪|166s|
|
||||
## ❌ <a id="user-content-r0" href="#r0">fixtures/external/jest/jest-test-results.xml</a>
|
||||
**4239** tests were completed in **166s** with **4207** passed, **2** failed and **30** skipped.
|
||||
|Test suite|Passed|Failed|Skipped|Time|
|
||||
|:---|---:|---:|---:|---:|
|
||||
|e2e/__tests__/asyncAndCallback.test.ts|1✅|||746ms|
|
||||
|e2e/__tests__/asyncRegenerator.test.ts|1✅|||4s|
|
||||
|e2e/__tests__/autoClearMocks.test.ts|2✅|||2s|
|
||||
|e2e/__tests__/autoResetMocks.test.ts|2✅|||2s|
|
||||
|e2e/__tests__/autoRestoreMocks.test.ts|2✅|||2s|
|
||||
|e2e/__tests__/babelPluginJestHoist.test.ts|1✅|||6s|
|
||||
|e2e/__tests__/badSourceMap.test.ts|1✅|||858ms|
|
||||
|e2e/__tests__/beforeAllFiltered.ts|1✅|||958ms|
|
||||
|e2e/__tests__/beforeEachQueue.ts|1✅||1⚪|55ms|
|
||||
|e2e/__tests__/callDoneTwice.test.ts|1✅|||882ms|
|
||||
|e2e/__tests__/chaiAssertionLibrary.ts|1✅|||2s|
|
||||
|e2e/__tests__/circularInequality.test.ts|1✅|||1s|
|
||||
|e2e/__tests__/circusConcurrentEach.test.ts|2✅|||2s|
|
||||
|e2e/__tests__/circusDeclarationErrors.test.ts|1✅|||869ms|
|
||||
|e2e/__tests__/clearCache.test.ts|2✅|||1s|
|
||||
|e2e/__tests__/cliHandlesExactFilenames.test.ts|2✅|||1s|
|
||||
|e2e/__tests__/compareDomNodes.test.ts|1✅|||1s|
|
||||
|e2e/__tests__/config.test.ts|6✅|||4s|
|
||||
|e2e/__tests__/console.test.ts|7✅|||8s|
|
||||
|e2e/__tests__/consoleAfterTeardown.test.ts|1✅|||1s|
|
||||
|e2e/__tests__/consoleLogOutputWhenRunInBand.test.ts|1✅|||793ms|
|
||||
|e2e/__tests__/coverageHandlebars.test.ts|1✅|||2s|
|
||||
|e2e/__tests__/coverageRemapping.test.ts|1✅|||13s|
|
||||
|e2e/__tests__/coverageReport.test.ts|12✅|||22s|
|
||||
|e2e/__tests__/coverageThreshold.test.ts|5✅|||5s|
|
||||
|e2e/__tests__/coverageTransformInstrumented.test.ts|1✅|||5s|
|
||||
|e2e/__tests__/coverageWithoutTransform.test.ts|1✅|||1s|
|
||||
|e2e/__tests__/createProcessObject.test.ts|1✅|||908ms|
|
||||
|e2e/__tests__/customInlineSnapshotMatchers.test.ts|1✅|||2s|
|
||||
|e2e/__tests__/customMatcherStackTrace.test.ts|2✅|||2s|
|
||||
|e2e/__tests__/customReporters.test.ts|9✅|||7s|
|
||||
|e2e/__tests__/customResolver.test.ts|1✅|||826ms|
|
||||
|e2e/__tests__/customTestSequencers.test.ts|3✅|||3s|
|
||||
|e2e/__tests__/debug.test.ts|1✅|||899ms|
|
||||
|e2e/__tests__/declarationErrors.test.ts|3✅|||2s|
|
||||
|e2e/__tests__/dependencyClash.test.ts|1✅|||833ms|
|
||||
|e2e/__tests__/detectOpenHandles.ts|8✅|||8s|
|
||||
|e2e/__tests__/domDiffing.test.ts|1✅|||1s|
|
||||
|e2e/__tests__/doneInHooks.test.ts|1✅|||855ms|
|
||||
|e2e/__tests__/dynamicRequireDependencies.ts|1✅|||847ms|
|
||||
|e2e/__tests__/each.test.ts|7✅|||5s|
|
||||
|e2e/__tests__/emptyDescribeWithHooks.test.ts|4✅|||3s|
|
||||
|e2e/__tests__/emptySuiteError.test.ts|1✅|||885ms|
|
||||
|e2e/__tests__/env.test.ts|6✅|||5s|
|
||||
|e2e/__tests__/environmentAfterTeardown.test.ts|1✅|||892ms|
|
||||
|e2e/__tests__/errorOnDeprecated.test.ts|1✅||24⚪|56ms|
|
||||
|e2e/__tests__/esmConfigFile.test.ts|3✅|||526ms|
|
||||
|e2e/__tests__/executeTestsOnceInMpr.ts|1✅|||976ms|
|
||||
|e2e/__tests__/existentRoots.test.ts|4✅|||627ms|
|
||||
|e2e/__tests__/expectAsyncMatcher.test.ts|2✅|||3s|
|
||||
|e2e/__tests__/expectInVm.test.ts|1✅|||2s|
|
||||
|e2e/__tests__/extraGlobals.test.ts|1✅|||1s|
|
||||
|e2e/__tests__/failureDetailsProperty.test.ts|1✅|||907ms|
|
||||
|e2e/__tests__/failures.test.ts|7✅|||10s|
|
||||
|e2e/__tests__/fakePromises.test.ts|2✅|||2s|
|
||||
|e2e/__tests__/fatalWorkerError.test.ts|1✅|||3s|
|
||||
|e2e/__tests__/filter.test.ts|7✅|||5s|
|
||||
|e2e/__tests__/findRelatedFiles.test.ts|5✅|||6s|
|
||||
|e2e/__tests__/focusedTests.test.ts|1✅|||888ms|
|
||||
|e2e/__tests__/forceExit.test.ts|1✅|||2s|
|
||||
|e2e/__tests__/generatorMock.test.ts|1✅|||1s|
|
||||
|e2e/__tests__/global-mutation.test.ts|1✅|||40ms|
|
||||
|e2e/__tests__/global.test.ts|1✅|||31ms|
|
||||
|e2e/__tests__/globals.test.ts|10✅|||8s|
|
||||
|e2e/__tests__/globalSetup.test.ts|10✅|||14s|
|
||||
|e2e/__tests__/globalTeardown.test.ts|7✅|||12s|
|
||||
|e2e/__tests__/hasteMapMockChanged.test.ts|1✅|||379ms|
|
||||
|e2e/__tests__/hasteMapSha1.test.ts|1✅|||298ms|
|
||||
|e2e/__tests__/hasteMapSize.test.ts|2✅|||397ms|
|
||||
|e2e/__tests__/importedGlobals.test.ts|1✅|||1s|
|
||||
|e2e/__tests__/injectGlobals.test.ts|2✅|||2s|
|
||||
|e2e/__tests__/jasmineAsync.test.ts|15✅|||28s|
|
||||
|e2e/__tests__/jasmineAsyncWithPendingDuringTest.ts|1✅||1⚪|72ms|
|
||||
|e2e/__tests__/jest.config.js.test.ts|3✅|||2s|
|
||||
|e2e/__tests__/jest.config.ts.test.ts|5✅|||14s|
|
||||
|[e2e/__tests__/jestChangedFiles.test.ts](#r0s75)|9✅|1❌||9s|
|
||||
|e2e/__tests__/jestEnvironmentJsdom.test.ts|1✅|||2s|
|
||||
|e2e/__tests__/jestRequireActual.test.ts|1✅|||2s|
|
||||
|e2e/__tests__/jestRequireMock.test.ts|1✅|||2s|
|
||||
|e2e/__tests__/json.test.ts|2✅|||29ms|
|
||||
|e2e/__tests__/jsonReporter.test.ts|2✅|||2s|
|
||||
|e2e/__tests__/lifecycles.ts|1✅|||861ms|
|
||||
|e2e/__tests__/listTests.test.ts|2✅|||945ms|
|
||||
|e2e/__tests__/locationInResults.test.ts|2✅|||2s|
|
||||
|e2e/__tests__/logHeapUsage.test.ts|1✅|||884ms|
|
||||
|e2e/__tests__/mockNames.test.ts|8✅|||7s|
|
||||
|e2e/__tests__/modernFakeTimers.test.ts|2✅|||2s|
|
||||
|e2e/__tests__/moduleNameMapper.test.ts|5✅|||5s|
|
||||
|e2e/__tests__/moduleParentNullInTest.ts|1✅|||886ms|
|
||||
|e2e/__tests__/multiProjectRunner.test.ts|14✅|||16s|
|
||||
|e2e/__tests__/nativeAsyncMock.test.ts|1✅|||55ms|
|
||||
|e2e/__tests__/nativeEsm.test.ts|2✅||1⚪|905ms|
|
||||
|e2e/__tests__/nativeEsmTypescript.test.ts|1✅|||956ms|
|
||||
|e2e/__tests__/nestedEventLoop.test.ts|1✅|||1s|
|
||||
|e2e/__tests__/nestedTestDefinitions.test.ts|4✅|||5s|
|
||||
|e2e/__tests__/nodePath.test.ts|1✅|||866ms|
|
||||
|e2e/__tests__/noTestFound.test.ts|2✅|||1s|
|
||||
|e2e/__tests__/noTestsFound.test.ts|5✅|||3s|
|
||||
|[e2e/__tests__/onlyChanged.test.ts](#r0s98)|8✅|1❌||22s|
|
||||
|e2e/__tests__/onlyFailuresNonWatch.test.ts|1✅|||3s|
|
||||
|e2e/__tests__/overrideGlobals.test.ts|2✅|||2s|
|
||||
|e2e/__tests__/pnp.test.ts|1✅|||3s|
|
||||
|e2e/__tests__/presets.test.ts|2✅|||2s|
|
||||
|e2e/__tests__/processExit.test.ts|1✅|||1s|
|
||||
|e2e/__tests__/promiseReject.test.ts|1✅|||967ms|
|
||||
|e2e/__tests__/regexCharInPath.test.ts|1✅|||962ms|
|
||||
|e2e/__tests__/requireAfterTeardown.test.ts|1✅|||921ms|
|
||||
|e2e/__tests__/requireMain.test.ts|1✅|||1s|
|
||||
|e2e/__tests__/requireMainAfterCreateRequire.test.ts|1✅|||966ms|
|
||||
|e2e/__tests__/requireMainIsolateModules.test.ts|1✅|||976ms|
|
||||
|e2e/__tests__/requireMainResetModules.test.ts|2✅|||2s|
|
||||
|e2e/__tests__/requireV8Module.test.ts|1✅|||30ms|
|
||||
|e2e/__tests__/resetModules.test.ts|1✅|||926ms|
|
||||
|e2e/__tests__/resolve.test.ts|1✅|||2s|
|
||||
|e2e/__tests__/resolveGetPaths.test.ts|1✅|||1s|
|
||||
|e2e/__tests__/resolveNodeModule.test.ts|1✅|||943ms|
|
||||
|e2e/__tests__/resolveNoFileExtensions.test.ts|2✅|||1s|
|
||||
|e2e/__tests__/resolveWithPaths.test.ts|1✅|||1s|
|
||||
|e2e/__tests__/runProgrammatically.test.ts|2✅|||575ms|
|
||||
|e2e/__tests__/runTestsByPath.test.ts|1✅|||2s|
|
||||
|e2e/__tests__/runtimeInternalModuleRegistry.test.ts|1✅|||1s|
|
||||
|e2e/__tests__/selectProjects.test.ts|18✅|||5s|
|
||||
|e2e/__tests__/setImmediate.test.ts|1✅|||904ms|
|
||||
|e2e/__tests__/setupFilesAfterEnvConfig.test.ts|2✅|||2s|
|
||||
|e2e/__tests__/showConfig.test.ts|1✅|||195ms|
|
||||
|e2e/__tests__/skipBeforeAfterAll.test.ts|1✅|||1s|
|
||||
|e2e/__tests__/snapshot-unknown.test.ts|1✅|||838ms|
|
||||
|e2e/__tests__/snapshot.test.ts|9✅|||14s|
|
||||
|e2e/__tests__/snapshotMockFs.test.ts|1✅|||883ms|
|
||||
|e2e/__tests__/snapshotResolver.test.ts|1✅|||823ms|
|
||||
|e2e/__tests__/snapshotSerializers.test.ts|2✅|||2s|
|
||||
|e2e/__tests__/stackTrace.test.ts|7✅|||5s|
|
||||
|e2e/__tests__/stackTraceNoCaptureStackTrace.test.ts|1✅|||899ms|
|
||||
|e2e/__tests__/stackTraceSourceMaps.test.ts|1✅|||2s|
|
||||
|e2e/__tests__/stackTraceSourceMapsWithCoverage.test.ts|1✅|||2s|
|
||||
|e2e/__tests__/supportsDashedArgs.ts|2✅|||968ms|
|
||||
|e2e/__tests__/symbol.test.ts|1✅|||49ms|
|
||||
|e2e/__tests__/testEnvironment.test.ts|1✅|||2s|
|
||||
|e2e/__tests__/testEnvironmentAsync.test.ts|1✅|||1s|
|
||||
|e2e/__tests__/testEnvironmentCircus.test.ts|1✅|||2s|
|
||||
|e2e/__tests__/testEnvironmentCircusAsync.test.ts|1✅|||2s|
|
||||
|e2e/__tests__/testFailureExitCode.test.ts|2✅|||4s|
|
||||
|e2e/__tests__/testInRoot.test.ts|1✅|||1s|
|
||||
|e2e/__tests__/testNamePattern.test.ts|1✅|||859ms|
|
||||
|e2e/__tests__/testNamePatternSkipped.test.ts|1✅|||991ms|
|
||||
|e2e/__tests__/testPathPatternReporterMessage.test.ts|1✅|||3s|
|
||||
|e2e/__tests__/testResultsProcessor.test.ts|1✅|||910ms|
|
||||
|e2e/__tests__/testRetries.test.ts|4✅|||3s|
|
||||
|e2e/__tests__/testTodo.test.ts|5✅|||4s|
|
||||
|e2e/__tests__/timeouts.test.ts|4✅|||4s|
|
||||
|e2e/__tests__/timeoutsLegacy.test.ts|1✅||3⚪|71ms|
|
||||
|e2e/__tests__/timerResetMocks.test.ts|2✅|||2s|
|
||||
|e2e/__tests__/timerUseRealTimers.test.ts|1✅|||1s|
|
||||
|e2e/__tests__/toMatchInlineSnapshot.test.ts|12✅|||24s|
|
||||
|e2e/__tests__/toMatchInlineSnapshotWithRetries.test.ts|3✅|||5s|
|
||||
|e2e/__tests__/toMatchSnapshot.test.ts|9✅|||17s|
|
||||
|e2e/__tests__/toMatchSnapshotWithRetries.test.ts|2✅|||4s|
|
||||
|e2e/__tests__/toMatchSnapshotWithStringSerializer.test.ts|3✅|||4s|
|
||||
|e2e/__tests__/toThrowErrorMatchingInlineSnapshot.test.ts|4✅|||4s|
|
||||
|e2e/__tests__/toThrowErrorMatchingSnapshot.test.ts|5✅|||4s|
|
||||
|e2e/__tests__/transform.test.ts|16✅|||27s|
|
||||
|e2e/__tests__/transformLinkedModules.test.ts|1✅|||783ms|
|
||||
|e2e/__tests__/typescriptCoverage.test.ts|1✅|||3s|
|
||||
|e2e/__tests__/unexpectedToken.test.ts|3✅|||3s|
|
||||
|e2e/__tests__/useStderr.test.ts|1✅|||1s|
|
||||
|e2e/__tests__/v8Coverage.test.ts|2✅|||2s|
|
||||
|e2e/__tests__/verbose.test.ts|1✅|||683ms|
|
||||
|e2e/__tests__/version.test.ts|1✅|||138ms|
|
||||
|e2e/__tests__/watchModeNoAccess.test.ts|1✅|||4s|
|
||||
|e2e/__tests__/watchModeOnlyFailed.test.ts|1✅|||1s|
|
||||
|e2e/__tests__/watchModePatterns.test.ts|2✅|||4s|
|
||||
|e2e/__tests__/watchModeUpdateSnapshot.test.ts|1✅|||1s|
|
||||
|e2e/__tests__/workerForceExit.test.ts|2✅|||5s|
|
||||
|e2e/__tests__/wrongEnv.test.ts|5✅|||4s|
|
||||
|e2e/custom-test-sequencer/a.test.js|1✅|||29ms|
|
||||
|e2e/custom-test-sequencer/b.test.js|1✅|||21ms|
|
||||
|e2e/custom-test-sequencer/c.test.js|1✅|||42ms|
|
||||
|e2e/custom-test-sequencer/d.test.js|1✅|||21ms|
|
||||
|e2e/custom-test-sequencer/e.test.js|1✅|||27ms|
|
||||
|e2e/test-in-root/spec.js|1✅|||19ms|
|
||||
|e2e/test-in-root/test.js|1✅|||37ms|
|
||||
|e2e/timer-reset-mocks/after-reset-all-mocks/timerAndMock.test.js|2✅|||30ms|
|
||||
|e2e/timer-reset-mocks/with-reset-mocks/timerWithMock.test.js|1✅|||34ms|
|
||||
|e2e/v8-coverage/empty-sourcemap/test.ts|1✅|||31ms|
|
||||
|examples/angular/app.component.spec.ts|3✅|||654ms|
|
||||
|examples/angular/shared/data.service.spec.ts|2✅|||431ms|
|
||||
|examples/angular/shared/sub.service.spec.ts|1✅|||109ms|
|
||||
|examples/async/__tests__/user.test.js|8✅|||96ms|
|
||||
|examples/automatic-mocks/__tests__/automock.test.js|2✅|||74ms|
|
||||
|examples/automatic-mocks/__tests__/createMockFromModule.test.js|2✅|||115ms|
|
||||
|examples/automatic-mocks/__tests__/disableAutomocking.test.js|1✅|||24ms|
|
||||
|examples/enzyme/__tests__/CheckboxWithLabel-test.js|1✅|||434ms|
|
||||
|examples/getting-started/sum.test.js|1✅|||78ms|
|
||||
|examples/jquery/__tests__/display_user.test.js|1✅|||196ms|
|
||||
|examples/jquery/__tests__/fetch_current_user.test.js|2✅|||196ms|
|
||||
|examples/manual-mocks/__tests__/file_summarizer.test.js|1✅|||87ms|
|
||||
|examples/manual-mocks/__tests__/lodashMocking.test.js|1✅|||109ms|
|
||||
|examples/manual-mocks/__tests__/user.test.js|1✅|||41ms|
|
||||
|examples/manual-mocks/__tests__/userMocked.test.js|1✅|||105ms|
|
||||
|examples/module-mock/__tests__/full_mock.js|1✅|||60ms|
|
||||
|examples/module-mock/__tests__/mock_per_test.js|2✅|||116ms|
|
||||
|examples/module-mock/__tests__/partial_mock.js|1✅|||215ms|
|
||||
|examples/mongodb/__test__/db.test.js|1✅|||236ms|
|
||||
|examples/react-native/__tests__/intro.test.js|4✅|||9s|
|
||||
|examples/react-testing-library/__tests__/CheckboxWithLabel-test.js|1✅|||469ms|
|
||||
|examples/react/__tests__/CheckboxWithLabel-test.js|1✅|||256ms|
|
||||
|examples/snapshot/__tests__/clock.react.test.js|1✅|||62ms|
|
||||
|examples/snapshot/__tests__/link.react.test.js|4✅|||181ms|
|
||||
|examples/timer/__tests__/infinite_timer_game.test.js|1✅|||94ms|
|
||||
|examples/timer/__tests__/timer_game.test.js|3✅|||74ms|
|
||||
|examples/typescript/__tests__/calc.test.ts|6✅|||276ms|
|
||||
|examples/typescript/__tests__/CheckboxWithLabel-test.tsx|1✅|||227ms|
|
||||
|examples/typescript/__tests__/sub-test.ts|1✅|||43ms|
|
||||
|examples/typescript/__tests__/sum-test.ts|2✅|||69ms|
|
||||
|examples/typescript/__tests__/sum.test.js|2✅|||100ms|
|
||||
|packages/babel-jest/src/__tests__/index.ts|6✅|||371ms|
|
||||
|packages/babel-plugin-jest-hoist/src/__tests__/hoistPlugin.test.ts|4✅|||347ms|
|
||||
|packages/diff-sequences/src/__tests__/index.property.test.ts|7✅|||357ms|
|
||||
|packages/diff-sequences/src/__tests__/index.test.ts|48✅|||195ms|
|
||||
|packages/expect/src/__tests__/assertionCounts.test.ts|6✅|||60ms|
|
||||
|packages/expect/src/__tests__/asymmetricMatchers.test.ts|38✅|||207ms|
|
||||
|packages/expect/src/__tests__/extend.test.ts|10✅|||99ms|
|
||||
|packages/expect/src/__tests__/isError.test.ts|4✅|||43ms|
|
||||
|packages/expect/src/__tests__/matchers-toContain.property.test.ts|2✅|||236ms|
|
||||
|packages/expect/src/__tests__/matchers-toContainEqual.property.test.ts|2✅|||287ms|
|
||||
|packages/expect/src/__tests__/matchers-toEqual.property.test.ts|2✅|||1s|
|
||||
|packages/expect/src/__tests__/matchers-toStrictEqual.property.test.ts|3✅|||394ms|
|
||||
|packages/expect/src/__tests__/matchers.test.js|592✅|||862ms|
|
||||
|packages/expect/src/__tests__/spyMatchers.test.ts|248✅|||395ms|
|
||||
|packages/expect/src/__tests__/stacktrace.test.ts|3✅|||69ms|
|
||||
|packages/expect/src/__tests__/symbolInObjects.test.ts|3✅|||33ms|
|
||||
|packages/expect/src/__tests__/toEqual-dom.test.ts|12✅|||99ms|
|
||||
|packages/expect/src/__tests__/toThrowMatchers.test.ts|98✅|||257ms|
|
||||
|packages/expect/src/__tests__/utils.test.ts|41✅|||147ms|
|
||||
|packages/jest-circus/src/__tests__/afterAll.test.ts|6✅|||6s|
|
||||
|packages/jest-circus/src/__tests__/baseTest.test.ts|2✅|||3s|
|
||||
|packages/jest-circus/src/__tests__/circusItTestError.test.ts|8✅|||300ms|
|
||||
|packages/jest-circus/src/__tests__/circusItTodoTestError.test.ts|3✅|||81ms|
|
||||
|packages/jest-circus/src/__tests__/hooks.test.ts|3✅|||4s|
|
||||
|packages/jest-circus/src/__tests__/hooksError.test.ts|32✅|||127ms|
|
||||
|packages/jest-cli/src/__tests__/cli/args.test.ts|17✅|||345ms|
|
||||
|packages/jest-cli/src/init/__tests__/init.test.js|24✅|||119ms|
|
||||
|packages/jest-cli/src/init/__tests__/modifyPackageJson.test.ts|4✅|||30ms|
|
||||
|packages/jest-config/src/__tests__/Defaults.test.ts|1✅|||672ms|
|
||||
|packages/jest-config/src/__tests__/getMaxWorkers.test.ts|7✅|||67ms|
|
||||
|packages/jest-config/src/__tests__/normalize.test.js|118✅|||798ms|
|
||||
|packages/jest-config/src/__tests__/readConfig.test.ts|1✅|||76ms|
|
||||
|packages/jest-config/src/__tests__/readConfigs.test.ts|3✅|||135ms|
|
||||
|packages/jest-config/src/__tests__/resolveConfigPath.test.ts|10✅|||183ms|
|
||||
|packages/jest-config/src/__tests__/setFromArgv.test.ts|4✅|||53ms|
|
||||
|packages/jest-config/src/__tests__/validatePattern.test.ts|4✅|||52ms|
|
||||
|packages/jest-console/src/__tests__/bufferedConsole.test.ts|20✅|||171ms|
|
||||
|packages/jest-console/src/__tests__/CustomConsole.test.ts|23✅|||115ms|
|
||||
|packages/jest-console/src/__tests__/getConsoleOutput.test.ts|12✅|||56ms|
|
||||
|packages/jest-core/src/__tests__/FailedTestsCache.test.js|1✅|||25ms|
|
||||
|packages/jest-core/src/__tests__/getNoTestsFoundMessage.test.js|5✅|||61ms|
|
||||
|packages/jest-core/src/__tests__/globals.test.ts|1✅|||22ms|
|
||||
|packages/jest-core/src/__tests__/runJest.test.js|2✅|||261ms|
|
||||
|packages/jest-core/src/__tests__/SearchSource.test.ts|27✅|||3s|
|
||||
|packages/jest-core/src/__tests__/SnapshotInteractiveMode.test.js|13✅|||89ms|
|
||||
|packages/jest-core/src/__tests__/TestScheduler.test.js|8✅|||520ms|
|
||||
|packages/jest-core/src/__tests__/testSchedulerHelper.test.js|12✅|||48ms|
|
||||
|packages/jest-core/src/__tests__/watch.test.js|80✅|||7s|
|
||||
|packages/jest-core/src/__tests__/watchFileChanges.test.ts|1✅|||2s|
|
||||
|packages/jest-core/src/__tests__/watchFilenamePatternMode.test.js|2✅|||165ms|
|
||||
|packages/jest-core/src/__tests__/watchTestNamePatternMode.test.js|1✅|||246ms|
|
||||
|packages/jest-core/src/lib/__tests__/isValidPath.test.ts|3✅|||166ms|
|
||||
|packages/jest-core/src/lib/__tests__/logDebugMessages.test.ts|3✅|||48ms|
|
||||
|packages/jest-create-cache-key-function/src/__tests__/index.test.ts|1✅|||75ms|
|
||||
|packages/jest-diff/src/__tests__/diff.test.ts|107✅|||625ms|
|
||||
|packages/jest-diff/src/__tests__/diffStringsRaw.test.ts|2✅|||55ms|
|
||||
|packages/jest-diff/src/__tests__/getAlignedDiffs.test.ts|24✅|||72ms|
|
||||
|packages/jest-diff/src/__tests__/joinAlignedDiffs.test.ts|6✅|||44ms|
|
||||
|packages/jest-docblock/src/__tests__/index.test.ts|36✅|||177ms|
|
||||
|packages/jest-each/src/__tests__/array.test.ts|159✅|||192ms|
|
||||
|packages/jest-each/src/__tests__/index.test.ts|10✅|||44ms|
|
||||
|packages/jest-each/src/__tests__/template.test.ts|242✅|||483ms|
|
||||
|packages/jest-environment-jsdom/src/__tests__/jsdom_environment.test.ts|2✅|||783ms|
|
||||
|packages/jest-environment-node/src/__tests__/node_environment.test.ts|6✅|||184ms|
|
||||
|packages/jest-fake-timers/src/__tests__/legacyFakeTimers.test.ts|50✅|||302ms|
|
||||
|packages/jest-fake-timers/src/__tests__/modernFakeTimers.test.ts|40✅|||317ms|
|
||||
|packages/jest-get-type/src/__tests__/getType.test.ts|14✅|||45ms|
|
||||
|packages/jest-get-type/src/__tests__/isPrimitive.test.ts|18✅|||36ms|
|
||||
|packages/jest-globals/src/__tests__/index.ts|1✅|||533ms|
|
||||
|packages/jest-haste-map/src/__tests__/get_mock_name.test.js|1✅|||22ms|
|
||||
|packages/jest-haste-map/src/__tests__/includes_dotfiles.test.ts|1✅|||337ms|
|
||||
|packages/jest-haste-map/src/__tests__/index.test.js|44✅|||1s|
|
||||
|packages/jest-haste-map/src/__tests__/worker.test.js|7✅|||100ms|
|
||||
|packages/jest-haste-map/src/crawlers/__tests__/node.test.js|10✅|||170ms|
|
||||
|packages/jest-haste-map/src/crawlers/__tests__/watchman.test.js|8✅|||153ms|
|
||||
|packages/jest-haste-map/src/lib/__tests__/dependencyExtractor.test.js|15✅|||56ms|
|
||||
|packages/jest-haste-map/src/lib/__tests__/fast_path.test.js|5✅|||29ms|
|
||||
|packages/jest-haste-map/src/lib/__tests__/getPlatformExtension.test.js|1✅|||35ms|
|
||||
|packages/jest-haste-map/src/lib/__tests__/isRegExpSupported.test.js|2✅|||31ms|
|
||||
|packages/jest-haste-map/src/lib/__tests__/normalizePathSep.test.js|2✅|||35ms|
|
||||
|packages/jest-jasmine2/src/__tests__/concurrent.test.ts|3✅|||24ms|
|
||||
|packages/jest-jasmine2/src/__tests__/expectationResultFactory.test.ts|7✅|||70ms|
|
||||
|packages/jest-jasmine2/src/__tests__/hooksError.test.ts|32✅|||51ms|
|
||||
|packages/jest-jasmine2/src/__tests__/iterators.test.ts|4✅|||43ms|
|
||||
|packages/jest-jasmine2/src/__tests__/itTestError.test.ts|6✅|||32ms|
|
||||
|packages/jest-jasmine2/src/__tests__/itToTestAlias.test.ts|1✅|||23ms|
|
||||
|packages/jest-jasmine2/src/__tests__/pTimeout.test.ts|3✅|||44ms|
|
||||
|packages/jest-jasmine2/src/__tests__/queueRunner.test.ts|6✅|||93ms|
|
||||
|packages/jest-jasmine2/src/__tests__/reporter.test.ts|1✅|||107ms|
|
||||
|packages/jest-jasmine2/src/__tests__/Suite.test.ts|1✅|||84ms|
|
||||
|packages/jest-jasmine2/src/__tests__/todoError.test.ts|3✅|||27ms|
|
||||
|packages/jest-leak-detector/src/__tests__/index.test.ts|6✅|||986ms|
|
||||
|packages/jest-matcher-utils/src/__tests__/deepCyclicCopyReplaceable.test.ts|11✅|||49ms|
|
||||
|packages/jest-matcher-utils/src/__tests__/deepCyclicCopyReplaceableDom.test.ts|2✅|||48ms|
|
||||
|packages/jest-matcher-utils/src/__tests__/index.test.ts|48✅|||391ms|
|
||||
|packages/jest-matcher-utils/src/__tests__/printDiffOrStringify.test.ts|21✅|||114ms|
|
||||
|packages/jest-matcher-utils/src/__tests__/Replaceable.test.ts|17✅|||111ms|
|
||||
|packages/jest-message-util/src/__tests__/messages.test.ts|11✅|||205ms|
|
||||
|packages/jest-mock/src/__tests__/index.test.ts|84✅|||509ms|
|
||||
|packages/jest-regex-util/src/__tests__/index.test.ts|8✅|||56ms|
|
||||
|packages/jest-repl/src/__tests__/jest_repl.test.js|1✅|||1s|
|
||||
|packages/jest-repl/src/__tests__/runtime_cli.test.js|4✅|||4s|
|
||||
|packages/jest-reporters/src/__tests__/CoverageReporter.test.js|12✅|||397ms|
|
||||
|packages/jest-reporters/src/__tests__/CoverageWorker.test.js|2✅|||199ms|
|
||||
|packages/jest-reporters/src/__tests__/DefaultReporter.test.js|2✅|||148ms|
|
||||
|packages/jest-reporters/src/__tests__/generateEmptyCoverage.test.js|3✅|||1s|
|
||||
|packages/jest-reporters/src/__tests__/getResultHeader.test.js|4✅|||30ms|
|
||||
|packages/jest-reporters/src/__tests__/getSnapshotStatus.test.js|3✅|||28ms|
|
||||
|packages/jest-reporters/src/__tests__/getSnapshotSummary.test.js|4✅|||49ms|
|
||||
|packages/jest-reporters/src/__tests__/getWatermarks.test.ts|2✅|||37ms|
|
||||
|packages/jest-reporters/src/__tests__/NotifyReporter.test.ts|18✅|||166ms|
|
||||
|packages/jest-reporters/src/__tests__/SummaryReporter.test.js|4✅|||366ms|
|
||||
|packages/jest-reporters/src/__tests__/utils.test.ts|10✅|||85ms|
|
||||
|packages/jest-reporters/src/__tests__/VerboseReporter.test.js|11✅|||425ms|
|
||||
|packages/jest-resolve-dependencies/src/__tests__/dependency_resolver.test.ts|11✅|||666ms|
|
||||
|packages/jest-resolve/src/__tests__/isBuiltinModule.test.ts|4✅|||36ms|
|
||||
|packages/jest-resolve/src/__tests__/resolve.test.ts|16✅|||1s|
|
||||
|packages/jest-runner/src/__tests__/testRunner.test.ts|2✅|||905ms|
|
||||
|packages/jest-runtime/src/__tests__/instrumentation.test.ts|1✅|||275ms|
|
||||
|packages/jest-runtime/src/__tests__/runtime_create_mock_from_module.test.js|3✅|||606ms|
|
||||
|packages/jest-runtime/src/__tests__/runtime_environment.test.js|2✅|||497ms|
|
||||
|packages/jest-runtime/src/__tests__/runtime_internal_module.test.js|4✅|||727ms|
|
||||
|packages/jest-runtime/src/__tests__/runtime_jest_fn.js|4✅|||479ms|
|
||||
|packages/jest-runtime/src/__tests__/runtime_jest_spy_on.test.js|2✅|||521ms|
|
||||
|packages/jest-runtime/src/__tests__/runtime_mock.test.js|4✅|||743ms|
|
||||
|packages/jest-runtime/src/__tests__/runtime_module_directories.test.js|4✅|||525ms|
|
||||
|packages/jest-runtime/src/__tests__/runtime_node_path.test.js|4✅|||1s|
|
||||
|packages/jest-runtime/src/__tests__/runtime_require_actual.test.js|2✅|||478ms|
|
||||
|packages/jest-runtime/src/__tests__/runtime_require_cache.test.js|2✅|||454ms|
|
||||
|packages/jest-runtime/src/__tests__/runtime_require_mock.test.js|13✅|||962ms|
|
||||
|packages/jest-runtime/src/__tests__/runtime_require_module_no_ext.test.js|1✅|||261ms|
|
||||
|packages/jest-runtime/src/__tests__/runtime_require_module_or_mock_transitive_deps.test.js|6✅|||2s|
|
||||
|packages/jest-runtime/src/__tests__/runtime_require_module_or_mock.test.js|17✅|||1s|
|
||||
|packages/jest-runtime/src/__tests__/runtime_require_module.test.js|27✅|||2s|
|
||||
|packages/jest-runtime/src/__tests__/runtime_require_resolve.test.ts|5✅|||707ms|
|
||||
|packages/jest-runtime/src/__tests__/runtime_wrap.js|2✅|||263ms|
|
||||
|packages/jest-runtime/src/__tests__/Runtime-sourceMaps.test.js|1✅|||584ms|
|
||||
|packages/jest-runtime/src/__tests__/Runtime-statics.test.js|2✅|||162ms|
|
||||
|packages/jest-serializer/src/__tests__/index.test.ts|17✅|||158ms|
|
||||
|packages/jest-snapshot/src/__tests__/dedentLines.test.ts|17✅|||94ms|
|
||||
|packages/jest-snapshot/src/__tests__/InlineSnapshots.test.ts|22✅|||1s|
|
||||
|packages/jest-snapshot/src/__tests__/matcher.test.ts|1✅|||131ms|
|
||||
|packages/jest-snapshot/src/__tests__/mockSerializer.test.ts|10✅|||45ms|
|
||||
|packages/jest-snapshot/src/__tests__/printSnapshot.test.ts|71✅|||1s|
|
||||
|packages/jest-snapshot/src/__tests__/SnapshotResolver.test.ts|10✅|||98ms|
|
||||
|packages/jest-snapshot/src/__tests__/throwMatcher.test.ts|3✅|||481ms|
|
||||
|packages/jest-snapshot/src/__tests__/utils.test.ts|26✅|||214ms|
|
||||
|packages/jest-source-map/src/__tests__/getCallsite.test.ts|3✅|||86ms|
|
||||
|packages/jest-test-result/src/__tests__/formatTestResults.test.ts|1✅|||53ms|
|
||||
|packages/jest-test-sequencer/src/__tests__/test_sequencer.test.js|8✅|||251ms|
|
||||
|packages/jest-transform/src/__tests__/ScriptTransformer.test.ts|22✅|||2s|
|
||||
|packages/jest-transform/src/__tests__/shouldInstrument.test.ts|25✅|||155ms|
|
||||
|packages/jest-util/src/__tests__/createProcessObject.test.ts|4✅|||81ms|
|
||||
|packages/jest-util/src/__tests__/deepCyclicCopy.test.ts|12✅|||86ms|
|
||||
|packages/jest-util/src/__tests__/errorWithStack.test.ts|1✅|||41ms|
|
||||
|packages/jest-util/src/__tests__/formatTime.test.ts|11✅|||82ms|
|
||||
|packages/jest-util/src/__tests__/globsToMatcher.test.ts|4✅|||56ms|
|
||||
|packages/jest-util/src/__tests__/installCommonGlobals.test.ts|2✅|||68ms|
|
||||
|packages/jest-util/src/__tests__/isInteractive.test.ts|2✅|||35ms|
|
||||
|packages/jest-util/src/__tests__/isPromise.test.ts|10✅|||30ms|
|
||||
|packages/jest-validate/src/__tests__/validate.test.ts|23✅|||283ms|
|
||||
|packages/jest-validate/src/__tests__/validateCLIOptions.test.js|6✅|||83ms|
|
||||
|packages/jest-watcher/src/lib/__tests__/formatTestNameByPattern.test.ts|11✅|||129ms|
|
||||
|packages/jest-watcher/src/lib/__tests__/prompt.test.ts|3✅|||91ms|
|
||||
|packages/jest-watcher/src/lib/__tests__/scroll.test.ts|5✅|||57ms|
|
||||
|packages/jest-worker/src/__tests__/Farm.test.js|10✅|||158ms|
|
||||
|packages/jest-worker/src/__tests__/FifoQueue.test.js|3✅|||48ms|
|
||||
|packages/jest-worker/src/__tests__/index.test.js|8✅|||230ms|
|
||||
|packages/jest-worker/src/__tests__/PriorityQueue.test.js|5✅|||63ms|
|
||||
|packages/jest-worker/src/__tests__/process-integration.test.js|5✅|||62ms|
|
||||
|packages/jest-worker/src/__tests__/thread-integration.test.js|6✅|||114ms|
|
||||
|packages/jest-worker/src/__tests__/WorkerPool.test.js|3✅|||51ms|
|
||||
|packages/jest-worker/src/base/__tests__/BaseWorkerPool.test.js|11✅|||653ms|
|
||||
|packages/jest-worker/src/workers/__tests__/ChildProcessWorker.test.js|17✅|||184ms|
|
||||
|packages/jest-worker/src/workers/__tests__/NodeThreadsWorker.test.js|15✅|||258ms|
|
||||
|packages/jest-worker/src/workers/__tests__/processChild.test.js|10✅|||135ms|
|
||||
|packages/jest-worker/src/workers/__tests__/threadChild.test.js|10✅|||120ms|
|
||||
|packages/pretty-format/src/__tests__/AsymmetricMatcher.test.ts|38✅|||137ms|
|
||||
|packages/pretty-format/src/__tests__/ConvertAnsi.test.ts|6✅|||43ms|
|
||||
|packages/pretty-format/src/__tests__/DOMCollection.test.ts|10✅|||64ms|
|
||||
|packages/pretty-format/src/__tests__/DOMElement.test.ts|28✅|||148ms|
|
||||
|packages/pretty-format/src/__tests__/Immutable.test.ts|111✅|||443ms|
|
||||
|packages/pretty-format/src/__tests__/prettyFormat.test.ts|86✅|||219ms|
|
||||
|packages/pretty-format/src/__tests__/react.test.tsx|55✅|||325ms|
|
||||
|packages/pretty-format/src/__tests__/ReactElement.test.ts|3✅|||64ms|
|
||||
|e2e/__tests__/asyncAndCallback.test.ts|1 ✅|||746ms|
|
||||
|e2e/__tests__/asyncRegenerator.test.ts|1 ✅|||4s|
|
||||
|e2e/__tests__/autoClearMocks.test.ts|2 ✅|||2s|
|
||||
|e2e/__tests__/autoResetMocks.test.ts|2 ✅|||2s|
|
||||
|e2e/__tests__/autoRestoreMocks.test.ts|2 ✅|||2s|
|
||||
|e2e/__tests__/babelPluginJestHoist.test.ts|1 ✅|||6s|
|
||||
|e2e/__tests__/badSourceMap.test.ts|1 ✅|||858ms|
|
||||
|e2e/__tests__/beforeAllFiltered.ts|1 ✅|||958ms|
|
||||
|e2e/__tests__/beforeEachQueue.ts|1 ✅||1 ⚪|55ms|
|
||||
|e2e/__tests__/callDoneTwice.test.ts|1 ✅|||882ms|
|
||||
|e2e/__tests__/chaiAssertionLibrary.ts|1 ✅|||2s|
|
||||
|e2e/__tests__/circularInequality.test.ts|1 ✅|||1s|
|
||||
|e2e/__tests__/circusConcurrentEach.test.ts|2 ✅|||2s|
|
||||
|e2e/__tests__/circusDeclarationErrors.test.ts|1 ✅|||869ms|
|
||||
|e2e/__tests__/clearCache.test.ts|2 ✅|||1s|
|
||||
|e2e/__tests__/cliHandlesExactFilenames.test.ts|2 ✅|||1s|
|
||||
|e2e/__tests__/compareDomNodes.test.ts|1 ✅|||1s|
|
||||
|e2e/__tests__/config.test.ts|6 ✅|||4s|
|
||||
|e2e/__tests__/console.test.ts|7 ✅|||8s|
|
||||
|e2e/__tests__/consoleAfterTeardown.test.ts|1 ✅|||1s|
|
||||
|e2e/__tests__/consoleLogOutputWhenRunInBand.test.ts|1 ✅|||793ms|
|
||||
|e2e/__tests__/coverageHandlebars.test.ts|1 ✅|||2s|
|
||||
|e2e/__tests__/coverageRemapping.test.ts|1 ✅|||13s|
|
||||
|e2e/__tests__/coverageReport.test.ts|12 ✅|||22s|
|
||||
|e2e/__tests__/coverageThreshold.test.ts|5 ✅|||5s|
|
||||
|e2e/__tests__/coverageTransformInstrumented.test.ts|1 ✅|||5s|
|
||||
|e2e/__tests__/coverageWithoutTransform.test.ts|1 ✅|||1s|
|
||||
|e2e/__tests__/createProcessObject.test.ts|1 ✅|||908ms|
|
||||
|e2e/__tests__/customInlineSnapshotMatchers.test.ts|1 ✅|||2s|
|
||||
|e2e/__tests__/customMatcherStackTrace.test.ts|2 ✅|||2s|
|
||||
|e2e/__tests__/customReporters.test.ts|9 ✅|||7s|
|
||||
|e2e/__tests__/customResolver.test.ts|1 ✅|||826ms|
|
||||
|e2e/__tests__/customTestSequencers.test.ts|3 ✅|||3s|
|
||||
|e2e/__tests__/debug.test.ts|1 ✅|||899ms|
|
||||
|e2e/__tests__/declarationErrors.test.ts|3 ✅|||2s|
|
||||
|e2e/__tests__/dependencyClash.test.ts|1 ✅|||833ms|
|
||||
|e2e/__tests__/detectOpenHandles.ts|8 ✅|||8s|
|
||||
|e2e/__tests__/domDiffing.test.ts|1 ✅|||1s|
|
||||
|e2e/__tests__/doneInHooks.test.ts|1 ✅|||855ms|
|
||||
|e2e/__tests__/dynamicRequireDependencies.ts|1 ✅|||847ms|
|
||||
|e2e/__tests__/each.test.ts|7 ✅|||5s|
|
||||
|e2e/__tests__/emptyDescribeWithHooks.test.ts|4 ✅|||3s|
|
||||
|e2e/__tests__/emptySuiteError.test.ts|1 ✅|||885ms|
|
||||
|e2e/__tests__/env.test.ts|6 ✅|||5s|
|
||||
|e2e/__tests__/environmentAfterTeardown.test.ts|1 ✅|||892ms|
|
||||
|e2e/__tests__/errorOnDeprecated.test.ts|1 ✅||24 ⚪|56ms|
|
||||
|e2e/__tests__/esmConfigFile.test.ts|3 ✅|||526ms|
|
||||
|e2e/__tests__/executeTestsOnceInMpr.ts|1 ✅|||976ms|
|
||||
|e2e/__tests__/existentRoots.test.ts|4 ✅|||627ms|
|
||||
|e2e/__tests__/expectAsyncMatcher.test.ts|2 ✅|||3s|
|
||||
|e2e/__tests__/expectInVm.test.ts|1 ✅|||2s|
|
||||
|e2e/__tests__/extraGlobals.test.ts|1 ✅|||1s|
|
||||
|e2e/__tests__/failureDetailsProperty.test.ts|1 ✅|||907ms|
|
||||
|e2e/__tests__/failures.test.ts|7 ✅|||10s|
|
||||
|e2e/__tests__/fakePromises.test.ts|2 ✅|||2s|
|
||||
|e2e/__tests__/fatalWorkerError.test.ts|1 ✅|||3s|
|
||||
|e2e/__tests__/filter.test.ts|7 ✅|||5s|
|
||||
|e2e/__tests__/findRelatedFiles.test.ts|5 ✅|||6s|
|
||||
|e2e/__tests__/focusedTests.test.ts|1 ✅|||888ms|
|
||||
|e2e/__tests__/forceExit.test.ts|1 ✅|||2s|
|
||||
|e2e/__tests__/generatorMock.test.ts|1 ✅|||1s|
|
||||
|e2e/__tests__/global-mutation.test.ts|1 ✅|||40ms|
|
||||
|e2e/__tests__/global.test.ts|1 ✅|||31ms|
|
||||
|e2e/__tests__/globals.test.ts|10 ✅|||8s|
|
||||
|e2e/__tests__/globalSetup.test.ts|10 ✅|||14s|
|
||||
|e2e/__tests__/globalTeardown.test.ts|7 ✅|||12s|
|
||||
|e2e/__tests__/hasteMapMockChanged.test.ts|1 ✅|||379ms|
|
||||
|e2e/__tests__/hasteMapSha1.test.ts|1 ✅|||298ms|
|
||||
|e2e/__tests__/hasteMapSize.test.ts|2 ✅|||397ms|
|
||||
|e2e/__tests__/importedGlobals.test.ts|1 ✅|||1s|
|
||||
|e2e/__tests__/injectGlobals.test.ts|2 ✅|||2s|
|
||||
|e2e/__tests__/jasmineAsync.test.ts|15 ✅|||28s|
|
||||
|e2e/__tests__/jasmineAsyncWithPendingDuringTest.ts|1 ✅||1 ⚪|72ms|
|
||||
|e2e/__tests__/jest.config.js.test.ts|3 ✅|||2s|
|
||||
|e2e/__tests__/jest.config.ts.test.ts|5 ✅|||14s|
|
||||
|[e2e/__tests__/jestChangedFiles.test.ts](#r0s75)|9 ✅|1 ❌||9s|
|
||||
|e2e/__tests__/jestEnvironmentJsdom.test.ts|1 ✅|||2s|
|
||||
|e2e/__tests__/jestRequireActual.test.ts|1 ✅|||2s|
|
||||
|e2e/__tests__/jestRequireMock.test.ts|1 ✅|||2s|
|
||||
|e2e/__tests__/json.test.ts|2 ✅|||29ms|
|
||||
|e2e/__tests__/jsonReporter.test.ts|2 ✅|||2s|
|
||||
|e2e/__tests__/lifecycles.ts|1 ✅|||861ms|
|
||||
|e2e/__tests__/listTests.test.ts|2 ✅|||945ms|
|
||||
|e2e/__tests__/locationInResults.test.ts|2 ✅|||2s|
|
||||
|e2e/__tests__/logHeapUsage.test.ts|1 ✅|||884ms|
|
||||
|e2e/__tests__/mockNames.test.ts|8 ✅|||7s|
|
||||
|e2e/__tests__/modernFakeTimers.test.ts|2 ✅|||2s|
|
||||
|e2e/__tests__/moduleNameMapper.test.ts|5 ✅|||5s|
|
||||
|e2e/__tests__/moduleParentNullInTest.ts|1 ✅|||886ms|
|
||||
|e2e/__tests__/multiProjectRunner.test.ts|14 ✅|||16s|
|
||||
|e2e/__tests__/nativeAsyncMock.test.ts|1 ✅|||55ms|
|
||||
|e2e/__tests__/nativeEsm.test.ts|2 ✅||1 ⚪|905ms|
|
||||
|e2e/__tests__/nativeEsmTypescript.test.ts|1 ✅|||956ms|
|
||||
|e2e/__tests__/nestedEventLoop.test.ts|1 ✅|||1s|
|
||||
|e2e/__tests__/nestedTestDefinitions.test.ts|4 ✅|||5s|
|
||||
|e2e/__tests__/nodePath.test.ts|1 ✅|||866ms|
|
||||
|e2e/__tests__/noTestFound.test.ts|2 ✅|||1s|
|
||||
|e2e/__tests__/noTestsFound.test.ts|5 ✅|||3s|
|
||||
|[e2e/__tests__/onlyChanged.test.ts](#r0s98)|8 ✅|1 ❌||22s|
|
||||
|e2e/__tests__/onlyFailuresNonWatch.test.ts|1 ✅|||3s|
|
||||
|e2e/__tests__/overrideGlobals.test.ts|2 ✅|||2s|
|
||||
|e2e/__tests__/pnp.test.ts|1 ✅|||3s|
|
||||
|e2e/__tests__/presets.test.ts|2 ✅|||2s|
|
||||
|e2e/__tests__/processExit.test.ts|1 ✅|||1s|
|
||||
|e2e/__tests__/promiseReject.test.ts|1 ✅|||967ms|
|
||||
|e2e/__tests__/regexCharInPath.test.ts|1 ✅|||962ms|
|
||||
|e2e/__tests__/requireAfterTeardown.test.ts|1 ✅|||921ms|
|
||||
|e2e/__tests__/requireMain.test.ts|1 ✅|||1s|
|
||||
|e2e/__tests__/requireMainAfterCreateRequire.test.ts|1 ✅|||966ms|
|
||||
|e2e/__tests__/requireMainIsolateModules.test.ts|1 ✅|||976ms|
|
||||
|e2e/__tests__/requireMainResetModules.test.ts|2 ✅|||2s|
|
||||
|e2e/__tests__/requireV8Module.test.ts|1 ✅|||30ms|
|
||||
|e2e/__tests__/resetModules.test.ts|1 ✅|||926ms|
|
||||
|e2e/__tests__/resolve.test.ts|1 ✅|||2s|
|
||||
|e2e/__tests__/resolveGetPaths.test.ts|1 ✅|||1s|
|
||||
|e2e/__tests__/resolveNodeModule.test.ts|1 ✅|||943ms|
|
||||
|e2e/__tests__/resolveNoFileExtensions.test.ts|2 ✅|||1s|
|
||||
|e2e/__tests__/resolveWithPaths.test.ts|1 ✅|||1s|
|
||||
|e2e/__tests__/runProgrammatically.test.ts|2 ✅|||575ms|
|
||||
|e2e/__tests__/runTestsByPath.test.ts|1 ✅|||2s|
|
||||
|e2e/__tests__/runtimeInternalModuleRegistry.test.ts|1 ✅|||1s|
|
||||
|e2e/__tests__/selectProjects.test.ts|18 ✅|||5s|
|
||||
|e2e/__tests__/setImmediate.test.ts|1 ✅|||904ms|
|
||||
|e2e/__tests__/setupFilesAfterEnvConfig.test.ts|2 ✅|||2s|
|
||||
|e2e/__tests__/showConfig.test.ts|1 ✅|||195ms|
|
||||
|e2e/__tests__/skipBeforeAfterAll.test.ts|1 ✅|||1s|
|
||||
|e2e/__tests__/snapshot-unknown.test.ts|1 ✅|||838ms|
|
||||
|e2e/__tests__/snapshot.test.ts|9 ✅|||14s|
|
||||
|e2e/__tests__/snapshotMockFs.test.ts|1 ✅|||883ms|
|
||||
|e2e/__tests__/snapshotResolver.test.ts|1 ✅|||823ms|
|
||||
|e2e/__tests__/snapshotSerializers.test.ts|2 ✅|||2s|
|
||||
|e2e/__tests__/stackTrace.test.ts|7 ✅|||5s|
|
||||
|e2e/__tests__/stackTraceNoCaptureStackTrace.test.ts|1 ✅|||899ms|
|
||||
|e2e/__tests__/stackTraceSourceMaps.test.ts|1 ✅|||2s|
|
||||
|e2e/__tests__/stackTraceSourceMapsWithCoverage.test.ts|1 ✅|||2s|
|
||||
|e2e/__tests__/supportsDashedArgs.ts|2 ✅|||968ms|
|
||||
|e2e/__tests__/symbol.test.ts|1 ✅|||49ms|
|
||||
|e2e/__tests__/testEnvironment.test.ts|1 ✅|||2s|
|
||||
|e2e/__tests__/testEnvironmentAsync.test.ts|1 ✅|||1s|
|
||||
|e2e/__tests__/testEnvironmentCircus.test.ts|1 ✅|||2s|
|
||||
|e2e/__tests__/testEnvironmentCircusAsync.test.ts|1 ✅|||2s|
|
||||
|e2e/__tests__/testFailureExitCode.test.ts|2 ✅|||4s|
|
||||
|e2e/__tests__/testInRoot.test.ts|1 ✅|||1s|
|
||||
|e2e/__tests__/testNamePattern.test.ts|1 ✅|||859ms|
|
||||
|e2e/__tests__/testNamePatternSkipped.test.ts|1 ✅|||991ms|
|
||||
|e2e/__tests__/testPathPatternReporterMessage.test.ts|1 ✅|||3s|
|
||||
|e2e/__tests__/testResultsProcessor.test.ts|1 ✅|||910ms|
|
||||
|e2e/__tests__/testRetries.test.ts|4 ✅|||3s|
|
||||
|e2e/__tests__/testTodo.test.ts|5 ✅|||4s|
|
||||
|e2e/__tests__/timeouts.test.ts|4 ✅|||4s|
|
||||
|e2e/__tests__/timeoutsLegacy.test.ts|1 ✅||3 ⚪|71ms|
|
||||
|e2e/__tests__/timerResetMocks.test.ts|2 ✅|||2s|
|
||||
|e2e/__tests__/timerUseRealTimers.test.ts|1 ✅|||1s|
|
||||
|e2e/__tests__/toMatchInlineSnapshot.test.ts|12 ✅|||24s|
|
||||
|e2e/__tests__/toMatchInlineSnapshotWithRetries.test.ts|3 ✅|||5s|
|
||||
|e2e/__tests__/toMatchSnapshot.test.ts|9 ✅|||17s|
|
||||
|e2e/__tests__/toMatchSnapshotWithRetries.test.ts|2 ✅|||4s|
|
||||
|e2e/__tests__/toMatchSnapshotWithStringSerializer.test.ts|3 ✅|||4s|
|
||||
|e2e/__tests__/toThrowErrorMatchingInlineSnapshot.test.ts|4 ✅|||4s|
|
||||
|e2e/__tests__/toThrowErrorMatchingSnapshot.test.ts|5 ✅|||4s|
|
||||
|e2e/__tests__/transform.test.ts|16 ✅|||27s|
|
||||
|e2e/__tests__/transformLinkedModules.test.ts|1 ✅|||783ms|
|
||||
|e2e/__tests__/typescriptCoverage.test.ts|1 ✅|||3s|
|
||||
|e2e/__tests__/unexpectedToken.test.ts|3 ✅|||3s|
|
||||
|e2e/__tests__/useStderr.test.ts|1 ✅|||1s|
|
||||
|e2e/__tests__/v8Coverage.test.ts|2 ✅|||2s|
|
||||
|e2e/__tests__/verbose.test.ts|1 ✅|||683ms|
|
||||
|e2e/__tests__/version.test.ts|1 ✅|||138ms|
|
||||
|e2e/__tests__/watchModeNoAccess.test.ts|1 ✅|||4s|
|
||||
|e2e/__tests__/watchModeOnlyFailed.test.ts|1 ✅|||1s|
|
||||
|e2e/__tests__/watchModePatterns.test.ts|2 ✅|||4s|
|
||||
|e2e/__tests__/watchModeUpdateSnapshot.test.ts|1 ✅|||1s|
|
||||
|e2e/__tests__/workerForceExit.test.ts|2 ✅|||5s|
|
||||
|e2e/__tests__/wrongEnv.test.ts|5 ✅|||4s|
|
||||
|e2e/custom-test-sequencer/a.test.js|1 ✅|||29ms|
|
||||
|e2e/custom-test-sequencer/b.test.js|1 ✅|||21ms|
|
||||
|e2e/custom-test-sequencer/c.test.js|1 ✅|||42ms|
|
||||
|e2e/custom-test-sequencer/d.test.js|1 ✅|||21ms|
|
||||
|e2e/custom-test-sequencer/e.test.js|1 ✅|||27ms|
|
||||
|e2e/test-in-root/spec.js|1 ✅|||19ms|
|
||||
|e2e/test-in-root/test.js|1 ✅|||37ms|
|
||||
|e2e/timer-reset-mocks/after-reset-all-mocks/timerAndMock.test.js|2 ✅|||30ms|
|
||||
|e2e/timer-reset-mocks/with-reset-mocks/timerWithMock.test.js|1 ✅|||34ms|
|
||||
|e2e/v8-coverage/empty-sourcemap/test.ts|1 ✅|||31ms|
|
||||
|examples/angular/app.component.spec.ts|3 ✅|||654ms|
|
||||
|examples/angular/shared/data.service.spec.ts|2 ✅|||431ms|
|
||||
|examples/angular/shared/sub.service.spec.ts|1 ✅|||109ms|
|
||||
|examples/async/__tests__/user.test.js|8 ✅|||96ms|
|
||||
|examples/automatic-mocks/__tests__/automock.test.js|2 ✅|||74ms|
|
||||
|examples/automatic-mocks/__tests__/createMockFromModule.test.js|2 ✅|||115ms|
|
||||
|examples/automatic-mocks/__tests__/disableAutomocking.test.js|1 ✅|||24ms|
|
||||
|examples/enzyme/__tests__/CheckboxWithLabel-test.js|1 ✅|||434ms|
|
||||
|examples/getting-started/sum.test.js|1 ✅|||78ms|
|
||||
|examples/jquery/__tests__/display_user.test.js|1 ✅|||196ms|
|
||||
|examples/jquery/__tests__/fetch_current_user.test.js|2 ✅|||196ms|
|
||||
|examples/manual-mocks/__tests__/file_summarizer.test.js|1 ✅|||87ms|
|
||||
|examples/manual-mocks/__tests__/lodashMocking.test.js|1 ✅|||109ms|
|
||||
|examples/manual-mocks/__tests__/user.test.js|1 ✅|||41ms|
|
||||
|examples/manual-mocks/__tests__/userMocked.test.js|1 ✅|||105ms|
|
||||
|examples/module-mock/__tests__/full_mock.js|1 ✅|||60ms|
|
||||
|examples/module-mock/__tests__/mock_per_test.js|2 ✅|||116ms|
|
||||
|examples/module-mock/__tests__/partial_mock.js|1 ✅|||215ms|
|
||||
|examples/mongodb/__test__/db.test.js|1 ✅|||236ms|
|
||||
|examples/react-native/__tests__/intro.test.js|4 ✅|||9s|
|
||||
|examples/react-testing-library/__tests__/CheckboxWithLabel-test.js|1 ✅|||469ms|
|
||||
|examples/react/__tests__/CheckboxWithLabel-test.js|1 ✅|||256ms|
|
||||
|examples/snapshot/__tests__/clock.react.test.js|1 ✅|||62ms|
|
||||
|examples/snapshot/__tests__/link.react.test.js|4 ✅|||181ms|
|
||||
|examples/timer/__tests__/infinite_timer_game.test.js|1 ✅|||94ms|
|
||||
|examples/timer/__tests__/timer_game.test.js|3 ✅|||74ms|
|
||||
|examples/typescript/__tests__/calc.test.ts|6 ✅|||276ms|
|
||||
|examples/typescript/__tests__/CheckboxWithLabel-test.tsx|1 ✅|||227ms|
|
||||
|examples/typescript/__tests__/sub-test.ts|1 ✅|||43ms|
|
||||
|examples/typescript/__tests__/sum-test.ts|2 ✅|||69ms|
|
||||
|examples/typescript/__tests__/sum.test.js|2 ✅|||100ms|
|
||||
|packages/babel-jest/src/__tests__/index.ts|6 ✅|||371ms|
|
||||
|packages/babel-plugin-jest-hoist/src/__tests__/hoistPlugin.test.ts|4 ✅|||347ms|
|
||||
|packages/diff-sequences/src/__tests__/index.property.test.ts|7 ✅|||357ms|
|
||||
|packages/diff-sequences/src/__tests__/index.test.ts|48 ✅|||195ms|
|
||||
|packages/expect/src/__tests__/assertionCounts.test.ts|6 ✅|||60ms|
|
||||
|packages/expect/src/__tests__/asymmetricMatchers.test.ts|38 ✅|||207ms|
|
||||
|packages/expect/src/__tests__/extend.test.ts|10 ✅|||99ms|
|
||||
|packages/expect/src/__tests__/isError.test.ts|4 ✅|||43ms|
|
||||
|packages/expect/src/__tests__/matchers-toContain.property.test.ts|2 ✅|||236ms|
|
||||
|packages/expect/src/__tests__/matchers-toContainEqual.property.test.ts|2 ✅|||287ms|
|
||||
|packages/expect/src/__tests__/matchers-toEqual.property.test.ts|2 ✅|||1s|
|
||||
|packages/expect/src/__tests__/matchers-toStrictEqual.property.test.ts|3 ✅|||394ms|
|
||||
|packages/expect/src/__tests__/matchers.test.js|592 ✅|||862ms|
|
||||
|packages/expect/src/__tests__/spyMatchers.test.ts|248 ✅|||395ms|
|
||||
|packages/expect/src/__tests__/stacktrace.test.ts|3 ✅|||69ms|
|
||||
|packages/expect/src/__tests__/symbolInObjects.test.ts|3 ✅|||33ms|
|
||||
|packages/expect/src/__tests__/toEqual-dom.test.ts|12 ✅|||99ms|
|
||||
|packages/expect/src/__tests__/toThrowMatchers.test.ts|98 ✅|||257ms|
|
||||
|packages/expect/src/__tests__/utils.test.ts|41 ✅|||147ms|
|
||||
|packages/jest-circus/src/__tests__/afterAll.test.ts|6 ✅|||6s|
|
||||
|packages/jest-circus/src/__tests__/baseTest.test.ts|2 ✅|||3s|
|
||||
|packages/jest-circus/src/__tests__/circusItTestError.test.ts|8 ✅|||300ms|
|
||||
|packages/jest-circus/src/__tests__/circusItTodoTestError.test.ts|3 ✅|||81ms|
|
||||
|packages/jest-circus/src/__tests__/hooks.test.ts|3 ✅|||4s|
|
||||
|packages/jest-circus/src/__tests__/hooksError.test.ts|32 ✅|||127ms|
|
||||
|packages/jest-cli/src/__tests__/cli/args.test.ts|17 ✅|||345ms|
|
||||
|packages/jest-cli/src/init/__tests__/init.test.js|24 ✅|||119ms|
|
||||
|packages/jest-cli/src/init/__tests__/modifyPackageJson.test.ts|4 ✅|||30ms|
|
||||
|packages/jest-config/src/__tests__/Defaults.test.ts|1 ✅|||672ms|
|
||||
|packages/jest-config/src/__tests__/getMaxWorkers.test.ts|7 ✅|||67ms|
|
||||
|packages/jest-config/src/__tests__/normalize.test.js|118 ✅|||798ms|
|
||||
|packages/jest-config/src/__tests__/readConfig.test.ts|1 ✅|||76ms|
|
||||
|packages/jest-config/src/__tests__/readConfigs.test.ts|3 ✅|||135ms|
|
||||
|packages/jest-config/src/__tests__/resolveConfigPath.test.ts|10 ✅|||183ms|
|
||||
|packages/jest-config/src/__tests__/setFromArgv.test.ts|4 ✅|||53ms|
|
||||
|packages/jest-config/src/__tests__/validatePattern.test.ts|4 ✅|||52ms|
|
||||
|packages/jest-console/src/__tests__/bufferedConsole.test.ts|20 ✅|||171ms|
|
||||
|packages/jest-console/src/__tests__/CustomConsole.test.ts|23 ✅|||115ms|
|
||||
|packages/jest-console/src/__tests__/getConsoleOutput.test.ts|12 ✅|||56ms|
|
||||
|packages/jest-core/src/__tests__/FailedTestsCache.test.js|1 ✅|||25ms|
|
||||
|packages/jest-core/src/__tests__/getNoTestsFoundMessage.test.js|5 ✅|||61ms|
|
||||
|packages/jest-core/src/__tests__/globals.test.ts|1 ✅|||22ms|
|
||||
|packages/jest-core/src/__tests__/runJest.test.js|2 ✅|||261ms|
|
||||
|packages/jest-core/src/__tests__/SearchSource.test.ts|27 ✅|||3s|
|
||||
|packages/jest-core/src/__tests__/SnapshotInteractiveMode.test.js|13 ✅|||89ms|
|
||||
|packages/jest-core/src/__tests__/TestScheduler.test.js|8 ✅|||520ms|
|
||||
|packages/jest-core/src/__tests__/testSchedulerHelper.test.js|12 ✅|||48ms|
|
||||
|packages/jest-core/src/__tests__/watch.test.js|80 ✅|||7s|
|
||||
|packages/jest-core/src/__tests__/watchFileChanges.test.ts|1 ✅|||2s|
|
||||
|packages/jest-core/src/__tests__/watchFilenamePatternMode.test.js|2 ✅|||165ms|
|
||||
|packages/jest-core/src/__tests__/watchTestNamePatternMode.test.js|1 ✅|||246ms|
|
||||
|packages/jest-core/src/lib/__tests__/isValidPath.test.ts|3 ✅|||166ms|
|
||||
|packages/jest-core/src/lib/__tests__/logDebugMessages.test.ts|3 ✅|||48ms|
|
||||
|packages/jest-create-cache-key-function/src/__tests__/index.test.ts|1 ✅|||75ms|
|
||||
|packages/jest-diff/src/__tests__/diff.test.ts|107 ✅|||625ms|
|
||||
|packages/jest-diff/src/__tests__/diffStringsRaw.test.ts|2 ✅|||55ms|
|
||||
|packages/jest-diff/src/__tests__/getAlignedDiffs.test.ts|24 ✅|||72ms|
|
||||
|packages/jest-diff/src/__tests__/joinAlignedDiffs.test.ts|6 ✅|||44ms|
|
||||
|packages/jest-docblock/src/__tests__/index.test.ts|36 ✅|||177ms|
|
||||
|packages/jest-each/src/__tests__/array.test.ts|159 ✅|||192ms|
|
||||
|packages/jest-each/src/__tests__/index.test.ts|10 ✅|||44ms|
|
||||
|packages/jest-each/src/__tests__/template.test.ts|242 ✅|||483ms|
|
||||
|packages/jest-environment-jsdom/src/__tests__/jsdom_environment.test.ts|2 ✅|||783ms|
|
||||
|packages/jest-environment-node/src/__tests__/node_environment.test.ts|6 ✅|||184ms|
|
||||
|packages/jest-fake-timers/src/__tests__/legacyFakeTimers.test.ts|50 ✅|||302ms|
|
||||
|packages/jest-fake-timers/src/__tests__/modernFakeTimers.test.ts|40 ✅|||317ms|
|
||||
|packages/jest-get-type/src/__tests__/getType.test.ts|14 ✅|||45ms|
|
||||
|packages/jest-get-type/src/__tests__/isPrimitive.test.ts|18 ✅|||36ms|
|
||||
|packages/jest-globals/src/__tests__/index.ts|1 ✅|||533ms|
|
||||
|packages/jest-haste-map/src/__tests__/get_mock_name.test.js|1 ✅|||22ms|
|
||||
|packages/jest-haste-map/src/__tests__/includes_dotfiles.test.ts|1 ✅|||337ms|
|
||||
|packages/jest-haste-map/src/__tests__/index.test.js|44 ✅|||1s|
|
||||
|packages/jest-haste-map/src/__tests__/worker.test.js|7 ✅|||100ms|
|
||||
|packages/jest-haste-map/src/crawlers/__tests__/node.test.js|10 ✅|||170ms|
|
||||
|packages/jest-haste-map/src/crawlers/__tests__/watchman.test.js|8 ✅|||153ms|
|
||||
|packages/jest-haste-map/src/lib/__tests__/dependencyExtractor.test.js|15 ✅|||56ms|
|
||||
|packages/jest-haste-map/src/lib/__tests__/fast_path.test.js|5 ✅|||29ms|
|
||||
|packages/jest-haste-map/src/lib/__tests__/getPlatformExtension.test.js|1 ✅|||35ms|
|
||||
|packages/jest-haste-map/src/lib/__tests__/isRegExpSupported.test.js|2 ✅|||31ms|
|
||||
|packages/jest-haste-map/src/lib/__tests__/normalizePathSep.test.js|2 ✅|||35ms|
|
||||
|packages/jest-jasmine2/src/__tests__/concurrent.test.ts|3 ✅|||24ms|
|
||||
|packages/jest-jasmine2/src/__tests__/expectationResultFactory.test.ts|7 ✅|||70ms|
|
||||
|packages/jest-jasmine2/src/__tests__/hooksError.test.ts|32 ✅|||51ms|
|
||||
|packages/jest-jasmine2/src/__tests__/iterators.test.ts|4 ✅|||43ms|
|
||||
|packages/jest-jasmine2/src/__tests__/itTestError.test.ts|6 ✅|||32ms|
|
||||
|packages/jest-jasmine2/src/__tests__/itToTestAlias.test.ts|1 ✅|||23ms|
|
||||
|packages/jest-jasmine2/src/__tests__/pTimeout.test.ts|3 ✅|||44ms|
|
||||
|packages/jest-jasmine2/src/__tests__/queueRunner.test.ts|6 ✅|||93ms|
|
||||
|packages/jest-jasmine2/src/__tests__/reporter.test.ts|1 ✅|||107ms|
|
||||
|packages/jest-jasmine2/src/__tests__/Suite.test.ts|1 ✅|||84ms|
|
||||
|packages/jest-jasmine2/src/__tests__/todoError.test.ts|3 ✅|||27ms|
|
||||
|packages/jest-leak-detector/src/__tests__/index.test.ts|6 ✅|||986ms|
|
||||
|packages/jest-matcher-utils/src/__tests__/deepCyclicCopyReplaceable.test.ts|11 ✅|||49ms|
|
||||
|packages/jest-matcher-utils/src/__tests__/deepCyclicCopyReplaceableDom.test.ts|2 ✅|||48ms|
|
||||
|packages/jest-matcher-utils/src/__tests__/index.test.ts|48 ✅|||391ms|
|
||||
|packages/jest-matcher-utils/src/__tests__/printDiffOrStringify.test.ts|21 ✅|||114ms|
|
||||
|packages/jest-matcher-utils/src/__tests__/Replaceable.test.ts|17 ✅|||111ms|
|
||||
|packages/jest-message-util/src/__tests__/messages.test.ts|11 ✅|||205ms|
|
||||
|packages/jest-mock/src/__tests__/index.test.ts|84 ✅|||509ms|
|
||||
|packages/jest-regex-util/src/__tests__/index.test.ts|8 ✅|||56ms|
|
||||
|packages/jest-repl/src/__tests__/jest_repl.test.js|1 ✅|||1s|
|
||||
|packages/jest-repl/src/__tests__/runtime_cli.test.js|4 ✅|||4s|
|
||||
|packages/jest-reporters/src/__tests__/CoverageReporter.test.js|12 ✅|||397ms|
|
||||
|packages/jest-reporters/src/__tests__/CoverageWorker.test.js|2 ✅|||199ms|
|
||||
|packages/jest-reporters/src/__tests__/DefaultReporter.test.js|2 ✅|||148ms|
|
||||
|packages/jest-reporters/src/__tests__/generateEmptyCoverage.test.js|3 ✅|||1s|
|
||||
|packages/jest-reporters/src/__tests__/getResultHeader.test.js|4 ✅|||30ms|
|
||||
|packages/jest-reporters/src/__tests__/getSnapshotStatus.test.js|3 ✅|||28ms|
|
||||
|packages/jest-reporters/src/__tests__/getSnapshotSummary.test.js|4 ✅|||49ms|
|
||||
|packages/jest-reporters/src/__tests__/getWatermarks.test.ts|2 ✅|||37ms|
|
||||
|packages/jest-reporters/src/__tests__/NotifyReporter.test.ts|18 ✅|||166ms|
|
||||
|packages/jest-reporters/src/__tests__/SummaryReporter.test.js|4 ✅|||366ms|
|
||||
|packages/jest-reporters/src/__tests__/utils.test.ts|10 ✅|||85ms|
|
||||
|packages/jest-reporters/src/__tests__/VerboseReporter.test.js|11 ✅|||425ms|
|
||||
|packages/jest-resolve-dependencies/src/__tests__/dependency_resolver.test.ts|11 ✅|||666ms|
|
||||
|packages/jest-resolve/src/__tests__/isBuiltinModule.test.ts|4 ✅|||36ms|
|
||||
|packages/jest-resolve/src/__tests__/resolve.test.ts|16 ✅|||1s|
|
||||
|packages/jest-runner/src/__tests__/testRunner.test.ts|2 ✅|||905ms|
|
||||
|packages/jest-runtime/src/__tests__/instrumentation.test.ts|1 ✅|||275ms|
|
||||
|packages/jest-runtime/src/__tests__/runtime_create_mock_from_module.test.js|3 ✅|||606ms|
|
||||
|packages/jest-runtime/src/__tests__/runtime_environment.test.js|2 ✅|||497ms|
|
||||
|packages/jest-runtime/src/__tests__/runtime_internal_module.test.js|4 ✅|||727ms|
|
||||
|packages/jest-runtime/src/__tests__/runtime_jest_fn.js|4 ✅|||479ms|
|
||||
|packages/jest-runtime/src/__tests__/runtime_jest_spy_on.test.js|2 ✅|||521ms|
|
||||
|packages/jest-runtime/src/__tests__/runtime_mock.test.js|4 ✅|||743ms|
|
||||
|packages/jest-runtime/src/__tests__/runtime_module_directories.test.js|4 ✅|||525ms|
|
||||
|packages/jest-runtime/src/__tests__/runtime_node_path.test.js|4 ✅|||1s|
|
||||
|packages/jest-runtime/src/__tests__/runtime_require_actual.test.js|2 ✅|||478ms|
|
||||
|packages/jest-runtime/src/__tests__/runtime_require_cache.test.js|2 ✅|||454ms|
|
||||
|packages/jest-runtime/src/__tests__/runtime_require_mock.test.js|13 ✅|||962ms|
|
||||
|packages/jest-runtime/src/__tests__/runtime_require_module_no_ext.test.js|1 ✅|||261ms|
|
||||
|packages/jest-runtime/src/__tests__/runtime_require_module_or_mock_transitive_deps.test.js|6 ✅|||2s|
|
||||
|packages/jest-runtime/src/__tests__/runtime_require_module_or_mock.test.js|17 ✅|||1s|
|
||||
|packages/jest-runtime/src/__tests__/runtime_require_module.test.js|27 ✅|||2s|
|
||||
|packages/jest-runtime/src/__tests__/runtime_require_resolve.test.ts|5 ✅|||707ms|
|
||||
|packages/jest-runtime/src/__tests__/runtime_wrap.js|2 ✅|||263ms|
|
||||
|packages/jest-runtime/src/__tests__/Runtime-sourceMaps.test.js|1 ✅|||584ms|
|
||||
|packages/jest-runtime/src/__tests__/Runtime-statics.test.js|2 ✅|||162ms|
|
||||
|packages/jest-serializer/src/__tests__/index.test.ts|17 ✅|||158ms|
|
||||
|packages/jest-snapshot/src/__tests__/dedentLines.test.ts|17 ✅|||94ms|
|
||||
|packages/jest-snapshot/src/__tests__/InlineSnapshots.test.ts|22 ✅|||1s|
|
||||
|packages/jest-snapshot/src/__tests__/matcher.test.ts|1 ✅|||131ms|
|
||||
|packages/jest-snapshot/src/__tests__/mockSerializer.test.ts|10 ✅|||45ms|
|
||||
|packages/jest-snapshot/src/__tests__/printSnapshot.test.ts|71 ✅|||1s|
|
||||
|packages/jest-snapshot/src/__tests__/SnapshotResolver.test.ts|10 ✅|||98ms|
|
||||
|packages/jest-snapshot/src/__tests__/throwMatcher.test.ts|3 ✅|||481ms|
|
||||
|packages/jest-snapshot/src/__tests__/utils.test.ts|26 ✅|||214ms|
|
||||
|packages/jest-source-map/src/__tests__/getCallsite.test.ts|3 ✅|||86ms|
|
||||
|packages/jest-test-result/src/__tests__/formatTestResults.test.ts|1 ✅|||53ms|
|
||||
|packages/jest-test-sequencer/src/__tests__/test_sequencer.test.js|8 ✅|||251ms|
|
||||
|packages/jest-transform/src/__tests__/ScriptTransformer.test.ts|22 ✅|||2s|
|
||||
|packages/jest-transform/src/__tests__/shouldInstrument.test.ts|25 ✅|||155ms|
|
||||
|packages/jest-util/src/__tests__/createProcessObject.test.ts|4 ✅|||81ms|
|
||||
|packages/jest-util/src/__tests__/deepCyclicCopy.test.ts|12 ✅|||86ms|
|
||||
|packages/jest-util/src/__tests__/errorWithStack.test.ts|1 ✅|||41ms|
|
||||
|packages/jest-util/src/__tests__/formatTime.test.ts|11 ✅|||82ms|
|
||||
|packages/jest-util/src/__tests__/globsToMatcher.test.ts|4 ✅|||56ms|
|
||||
|packages/jest-util/src/__tests__/installCommonGlobals.test.ts|2 ✅|||68ms|
|
||||
|packages/jest-util/src/__tests__/isInteractive.test.ts|2 ✅|||35ms|
|
||||
|packages/jest-util/src/__tests__/isPromise.test.ts|10 ✅|||30ms|
|
||||
|packages/jest-validate/src/__tests__/validate.test.ts|23 ✅|||283ms|
|
||||
|packages/jest-validate/src/__tests__/validateCLIOptions.test.js|6 ✅|||83ms|
|
||||
|packages/jest-watcher/src/lib/__tests__/formatTestNameByPattern.test.ts|11 ✅|||129ms|
|
||||
|packages/jest-watcher/src/lib/__tests__/prompt.test.ts|3 ✅|||91ms|
|
||||
|packages/jest-watcher/src/lib/__tests__/scroll.test.ts|5 ✅|||57ms|
|
||||
|packages/jest-worker/src/__tests__/Farm.test.js|10 ✅|||158ms|
|
||||
|packages/jest-worker/src/__tests__/FifoQueue.test.js|3 ✅|||48ms|
|
||||
|packages/jest-worker/src/__tests__/index.test.js|8 ✅|||230ms|
|
||||
|packages/jest-worker/src/__tests__/PriorityQueue.test.js|5 ✅|||63ms|
|
||||
|packages/jest-worker/src/__tests__/process-integration.test.js|5 ✅|||62ms|
|
||||
|packages/jest-worker/src/__tests__/thread-integration.test.js|6 ✅|||114ms|
|
||||
|packages/jest-worker/src/__tests__/WorkerPool.test.js|3 ✅|||51ms|
|
||||
|packages/jest-worker/src/base/__tests__/BaseWorkerPool.test.js|11 ✅|||653ms|
|
||||
|packages/jest-worker/src/workers/__tests__/ChildProcessWorker.test.js|17 ✅|||184ms|
|
||||
|packages/jest-worker/src/workers/__tests__/NodeThreadsWorker.test.js|15 ✅|||258ms|
|
||||
|packages/jest-worker/src/workers/__tests__/processChild.test.js|10 ✅|||135ms|
|
||||
|packages/jest-worker/src/workers/__tests__/threadChild.test.js|10 ✅|||120ms|
|
||||
|packages/pretty-format/src/__tests__/AsymmetricMatcher.test.ts|38 ✅|||137ms|
|
||||
|packages/pretty-format/src/__tests__/ConvertAnsi.test.ts|6 ✅|||43ms|
|
||||
|packages/pretty-format/src/__tests__/DOMCollection.test.ts|10 ✅|||64ms|
|
||||
|packages/pretty-format/src/__tests__/DOMElement.test.ts|28 ✅|||148ms|
|
||||
|packages/pretty-format/src/__tests__/Immutable.test.ts|111 ✅|||443ms|
|
||||
|packages/pretty-format/src/__tests__/prettyFormat.test.ts|86 ✅|||219ms|
|
||||
|packages/pretty-format/src/__tests__/react.test.tsx|55 ✅|||325ms|
|
||||
|packages/pretty-format/src/__tests__/ReactElement.test.ts|3 ✅|||64ms|
|
||||
### ❌ <a id="user-content-r0s75" href="#r0s75">e2e/__tests__/jestChangedFiles.test.ts</a>
|
||||
```
|
||||
✅ gets hg SCM roots and dedupes them
|
||||
|
|
|
|||
|
|
@ -1,10 +1,13 @@
|
|||

|
||||
|Report|Passed|Failed|Skipped|Time|
|
||||
|:---|---:|---:|---:|---:|
|
||||
|fixtures/mocha-json.json|1 ✅|4 ❌|1 ⚪|12ms|
|
||||
## ❌ <a id="user-content-r0" href="#r0">fixtures/mocha-json.json</a>
|
||||
**6** tests were completed in **12ms** with **1** passed, **4** failed and **1** skipped.
|
||||
|Test suite|Passed|Failed|Skipped|Time|
|
||||
|:---|---:|---:|---:|---:|
|
||||
|[test/main.test.js](#r0s0)|1✅|3❌||1ms|
|
||||
|[test/second.test.js](#r0s1)||1❌|1⚪|8ms|
|
||||
|[test/main.test.js](#r0s0)|1 ✅|3 ❌||1ms|
|
||||
|[test/second.test.js](#r0s1)||1 ❌|1 ⚪|8ms|
|
||||
### ❌ <a id="user-content-r0s0" href="#r0s0">test/main.test.js</a>
|
||||
```
|
||||
Test 1
|
||||
|
|
|
|||
File diff suppressed because it is too large
Load diff
|
|
@ -1,24 +1,27 @@
|
|||

|
||||
|Report|Passed|Failed|Skipped|Time|
|
||||
|:---|---:|---:|---:|---:|
|
||||
|fixtures/external/flutter/provider-test-results.json|268 ✅|1 ❌||0ms|
|
||||
## ❌ <a id="user-content-r0" href="#r0">fixtures/external/flutter/provider-test-results.json</a>
|
||||
**269** tests were completed in **0ms** with **268** passed, **1** failed and **0** skipped.
|
||||
|Test suite|Passed|Failed|Skipped|Time|
|
||||
|:---|---:|---:|---:|---:|
|
||||
|[test/builder_test.dart](#r0s0)|24✅|||402ms|
|
||||
|[test/change_notifier_provider_test.dart](#r0s1)|10✅|||306ms|
|
||||
|[test/consumer_test.dart](#r0s2)|18✅|||340ms|
|
||||
|[test/context_test.dart](#r0s3)|31✅|||698ms|
|
||||
|[test/future_provider_test.dart](#r0s4)|10✅|||305ms|
|
||||
|[test/inherited_provider_test.dart](#r0s5)|81✅|||1s|
|
||||
|[test/listenable_provider_test.dart](#r0s6)|16✅|||353ms|
|
||||
|[test/listenable_proxy_provider_test.dart](#r0s7)|12✅|||373ms|
|
||||
|[test/multi_provider_test.dart](#r0s8)|3✅|||198ms|
|
||||
|[test/provider_test.dart](#r0s9)|11✅|||306ms|
|
||||
|[test/proxy_provider_test.dart](#r0s10)|16✅|||438ms|
|
||||
|[test/reassemble_test.dart](#r0s11)|3✅|||221ms|
|
||||
|[test/selector_test.dart](#r0s12)|17✅|||364ms|
|
||||
|[test/stateful_provider_test.dart](#r0s13)|4✅|||254ms|
|
||||
|[test/stream_provider_test.dart](#r0s14)|8✅|||282ms|
|
||||
|[test/value_listenable_provider_test.dart](#r0s15)|4✅|1❌||327ms|
|
||||
|[test/builder_test.dart](#r0s0)|24 ✅|||402ms|
|
||||
|[test/change_notifier_provider_test.dart](#r0s1)|10 ✅|||306ms|
|
||||
|[test/consumer_test.dart](#r0s2)|18 ✅|||340ms|
|
||||
|[test/context_test.dart](#r0s3)|31 ✅|||698ms|
|
||||
|[test/future_provider_test.dart](#r0s4)|10 ✅|||305ms|
|
||||
|[test/inherited_provider_test.dart](#r0s5)|81 ✅|||1s|
|
||||
|[test/listenable_provider_test.dart](#r0s6)|16 ✅|||353ms|
|
||||
|[test/listenable_proxy_provider_test.dart](#r0s7)|12 ✅|||373ms|
|
||||
|[test/multi_provider_test.dart](#r0s8)|3 ✅|||198ms|
|
||||
|[test/provider_test.dart](#r0s9)|11 ✅|||306ms|
|
||||
|[test/proxy_provider_test.dart](#r0s10)|16 ✅|||438ms|
|
||||
|[test/reassemble_test.dart](#r0s11)|3 ✅|||221ms|
|
||||
|[test/selector_test.dart](#r0s12)|17 ✅|||364ms|
|
||||
|[test/stateful_provider_test.dart](#r0s13)|4 ✅|||254ms|
|
||||
|[test/stream_provider_test.dart](#r0s14)|8 ✅|||282ms|
|
||||
|[test/value_listenable_provider_test.dart](#r0s15)|4 ✅|1 ❌||327ms|
|
||||
### ✅ <a id="user-content-r0s0" href="#r0s0">test/builder_test.dart</a>
|
||||
```
|
||||
ChangeNotifierProvider
|
||||
|
|
|
|||
|
|
@ -1,9 +1,12 @@
|
|||

|
||||
|Report|Passed|Failed|Skipped|Time|
|
||||
|:---|---:|---:|---:|---:|
|
||||
|fixtures/external/java/TEST-org.apache.pulsar.AddMissingPatchVersionTest.xml||1 ❌|1 ⚪|116ms|
|
||||
## ❌ <a id="user-content-r0" href="#r0">fixtures/external/java/TEST-org.apache.pulsar.AddMissingPatchVersionTest.xml</a>
|
||||
**2** tests were completed in **116ms** with **0** passed, **1** failed and **1** skipped.
|
||||
|Test suite|Passed|Failed|Skipped|Time|
|
||||
|:---|---:|---:|---:|---:|
|
||||
|[org.apache.pulsar.AddMissingPatchVersionTest](#r0s0)||1❌|1⚪|116ms|
|
||||
|[org.apache.pulsar.AddMissingPatchVersionTest](#r0s0)||1 ❌|1 ⚪|116ms|
|
||||
### ❌ <a id="user-content-r0s0" href="#r0s0">org.apache.pulsar.AddMissingPatchVersionTest</a>
|
||||
```
|
||||
⚪ testVersionStrings
|
||||
|
|
|
|||
|
|
@ -1,184 +1,187 @@
|
|||

|
||||
|Report|Passed|Failed|Skipped|Time|
|
||||
|:---|---:|---:|---:|---:|
|
||||
|fixtures/external/java/pulsar-test-report.xml|793 ✅|1 ❌|14 ⚪|2127s|
|
||||
## ❌ <a id="user-content-r0" href="#r0">fixtures/external/java/pulsar-test-report.xml</a>
|
||||
**808** tests were completed in **2127s** with **793** passed, **1** failed and **14** skipped.
|
||||
|Test suite|Passed|Failed|Skipped|Time|
|
||||
|:---|---:|---:|---:|---:|
|
||||
|[org.apache.pulsar.AddMissingPatchVersionTest](#r0s0)||1❌|1⚪|116ms|
|
||||
|[org.apache.pulsar.broker.admin.AdminApiOffloadTest](#r0s1)|7✅|||19s|
|
||||
|[org.apache.pulsar.broker.auth.AuthenticationServiceTest](#r0s2)|2✅|||185ms|
|
||||
|[org.apache.pulsar.broker.auth.AuthLogsTest](#r0s3)|2✅|||1s|
|
||||
|[org.apache.pulsar.broker.auth.AuthorizationTest](#r0s4)|1✅|||2s|
|
||||
|[org.apache.pulsar.broker.lookup.http.HttpTopicLookupv2Test](#r0s5)|4✅|||2s|
|
||||
|[org.apache.pulsar.broker.namespace.NamespaceCreateBundlesTest](#r0s6)|2✅|||33s|
|
||||
|[org.apache.pulsar.broker.namespace.NamespaceOwnershipListenerTests](#r0s7)|2✅|||32s|
|
||||
|[org.apache.pulsar.broker.namespace.NamespaceServiceTest](#r0s8)|10✅|||75s|
|
||||
|[org.apache.pulsar.broker.namespace.NamespaceUnloadingTest](#r0s9)|2✅|||14s|
|
||||
|[org.apache.pulsar.broker.namespace.OwnerShipCacheForCurrentServerTest](#r0s10)|1✅|||16s|
|
||||
|[org.apache.pulsar.broker.namespace.OwnershipCacheTest](#r0s11)|8✅|||16s|
|
||||
|[org.apache.pulsar.broker.protocol.ProtocolHandlersTest](#r0s12)|6✅|||946ms|
|
||||
|[org.apache.pulsar.broker.protocol.ProtocolHandlerUtilsTest](#r0s13)|3✅|||7s|
|
||||
|[org.apache.pulsar.broker.protocol.ProtocolHandlerWithClassLoaderTest](#r0s14)|1✅|||15ms|
|
||||
|[org.apache.pulsar.broker.PulsarServiceTest](#r0s15)|2✅|||96ms|
|
||||
|[org.apache.pulsar.broker.service.MessagePublishBufferThrottleTest](#r0s16)|3✅|||14s|
|
||||
|[org.apache.pulsar.broker.service.ReplicatorTest](#r0s17)|22✅|||40s|
|
||||
|[org.apache.pulsar.broker.service.TopicOwnerTest](#r0s18)|8✅|||114s|
|
||||
|[org.apache.pulsar.broker.SLAMonitoringTest](#r0s19)|4✅|||9s|
|
||||
|[org.apache.pulsar.broker.stats.BookieClientsStatsGeneratorTest](#r0s20)|2✅|||49ms|
|
||||
|[org.apache.pulsar.broker.stats.ConsumerStatsTest](#r0s21)|3✅|||21s|
|
||||
|[org.apache.pulsar.broker.stats.ManagedCursorMetricsTest](#r0s22)|1✅|||281ms|
|
||||
|[org.apache.pulsar.broker.stats.ManagedLedgerMetricsTest](#r0s23)|1✅|||285ms|
|
||||
|[org.apache.pulsar.broker.stats.prometheus.AggregatedNamespaceStatsTest](#r0s24)|1✅|||40ms|
|
||||
|[org.apache.pulsar.broker.stats.PrometheusMetricsTest](#r0s25)|15✅|||83s|
|
||||
|[org.apache.pulsar.broker.stats.SubscriptionStatsTest](#r0s26)|2✅|||2s|
|
||||
|[org.apache.pulsar.broker.systopic.NamespaceEventsSystemTopicServiceTest](#r0s27)|1✅|||1s|
|
||||
|[org.apache.pulsar.broker.transaction.buffer.InMemTransactionBufferReaderTest](#r0s28)|3✅|||28ms|
|
||||
|[org.apache.pulsar.broker.transaction.buffer.TransactionBufferClientTest](#r0s29)|4✅|||93ms|
|
||||
|[org.apache.pulsar.broker.transaction.buffer.TransactionBufferTest](#r0s30)|7✅|||81ms|
|
||||
|[org.apache.pulsar.broker.transaction.buffer.TransactionEntryImplTest](#r0s31)|1✅|||14ms|
|
||||
|[org.apache.pulsar.broker.transaction.buffer.TransactionLowWaterMarkTest](#r0s32)|2✅|||38s|
|
||||
|[org.apache.pulsar.broker.transaction.buffer.TransactionStablePositionTest](#r0s33)|2✅||1⚪|49s|
|
||||
|[org.apache.pulsar.broker.transaction.coordinator.TransactionCoordinatorClientTest](#r0s34)|3✅|||95ms|
|
||||
|[org.apache.pulsar.broker.transaction.coordinator.TransactionMetaStoreAssignmentTest](#r0s35)|1✅|||1s|
|
||||
|[org.apache.pulsar.broker.transaction.pendingack.PendingAckInMemoryDeleteTest](#r0s36)|2✅||1⚪|57s|
|
||||
|[org.apache.pulsar.broker.transaction.TransactionConsumeTest](#r0s37)|2✅|||30s|
|
||||
|[org.apache.pulsar.broker.web.RestExceptionTest](#r0s38)|3✅|||37ms|
|
||||
|[org.apache.pulsar.broker.web.WebServiceTest](#r0s39)|9✅|||27s|
|
||||
|[org.apache.pulsar.client.impl.AdminApiKeyStoreTlsAuthTest](#r0s40)|4✅|||8s|
|
||||
|[org.apache.pulsar.client.impl.BatchMessageIdImplSerializationTest](#r0s41)|4✅|||30ms|
|
||||
|[org.apache.pulsar.client.impl.BatchMessageIndexAckDisableTest](#r0s42)|4✅|||14s|
|
||||
|[org.apache.pulsar.client.impl.BatchMessageIndexAckTest](#r0s43)|5✅|||44s|
|
||||
|[org.apache.pulsar.client.impl.BrokerClientIntegrationTest](#r0s44)|15✅|||148s|
|
||||
|[org.apache.pulsar.client.impl.CompactedOutBatchMessageTest](#r0s45)|1✅|||1s|
|
||||
|[org.apache.pulsar.client.impl.ConsumerAckResponseTest](#r0s46)|1✅|||549ms|
|
||||
|[org.apache.pulsar.client.impl.ConsumerConfigurationTest](#r0s47)|4✅|||12s|
|
||||
|[org.apache.pulsar.client.impl.ConsumerDedupPermitsUpdate](#r0s48)|7✅|||4s|
|
||||
|[org.apache.pulsar.client.impl.ConsumerUnsubscribeTest](#r0s49)|1✅|||129ms|
|
||||
|[org.apache.pulsar.client.impl.KeyStoreTlsProducerConsumerTestWithAuth](#r0s50)|3✅|||23s|
|
||||
|[org.apache.pulsar.client.impl.KeyStoreTlsProducerConsumerTestWithoutAuth](#r0s51)|3✅|||8s|
|
||||
|[org.apache.pulsar.client.impl.KeyStoreTlsTest](#r0s52)|1✅|||183ms|
|
||||
|[org.apache.pulsar.client.impl.MessageChecksumTest](#r0s53)|3✅|||47s|
|
||||
|[org.apache.pulsar.client.impl.MessageChunkingTest](#r0s54)|8✅||1⚪|73s|
|
||||
|[org.apache.pulsar.client.impl.MessageParserTest](#r0s55)|2✅|||5s|
|
||||
|[org.apache.pulsar.client.impl.MultiTopicsReaderTest](#r0s56)|8✅|||35s|
|
||||
|[org.apache.pulsar.client.impl.NegativeAcksTest](#r0s57)|32✅|||11s|
|
||||
|[org.apache.pulsar.client.impl.PatternTopicsConsumerImplTest](#r0s58)|11✅|||63s|
|
||||
|[org.apache.pulsar.client.impl.PerMessageUnAcknowledgedRedeliveryTest](#r0s59)|5✅|||34s|
|
||||
|[org.apache.pulsar.client.impl.PulsarMultiHostClientTest](#r0s60)|3✅|||15s|
|
||||
|[org.apache.pulsar.client.impl.RawMessageSerDeserTest](#r0s61)|1✅|||10ms|
|
||||
|[org.apache.pulsar.client.impl.SchemaDeleteTest](#r0s62)|1✅|||2s|
|
||||
|[org.apache.pulsar.client.impl.SequenceIdWithErrorTest](#r0s63)|3✅||2⚪|18s|
|
||||
|[org.apache.pulsar.client.impl.TopicDoesNotExistsTest](#r0s64)|2✅|||4s|
|
||||
|[org.apache.pulsar.client.impl.TopicFromMessageTest](#r0s65)|5✅|||14s|
|
||||
|[org.apache.pulsar.client.impl.TopicsConsumerImplTest](#r0s66)|17✅|||133s|
|
||||
|[org.apache.pulsar.client.impl.UnAcknowledgedMessagesTimeoutTest](#r0s67)|7✅|||44s|
|
||||
|[org.apache.pulsar.client.impl.ZeroQueueSizeTest](#r0s68)|14✅|||16s|
|
||||
|[org.apache.pulsar.common.api.raw.RawMessageImplTest](#r0s69)|1✅|||316ms|
|
||||
|[org.apache.pulsar.common.compression.CommandsTest](#r0s70)|1✅|||30ms|
|
||||
|[org.apache.pulsar.common.compression.CompressorCodecBackwardCompatTest](#r0s71)|6✅|||223ms|
|
||||
|[org.apache.pulsar.common.compression.CompressorCodecTest](#r0s72)|45✅|||737ms|
|
||||
|[org.apache.pulsar.common.compression.Crc32cChecksumTest](#r0s73)|6✅|||5s|
|
||||
|[org.apache.pulsar.common.lookup.data.LookupDataTest](#r0s74)|4✅|||2s|
|
||||
|[org.apache.pulsar.common.naming.MetadataTests](#r0s75)|2✅|||161ms|
|
||||
|[org.apache.pulsar.common.naming.NamespaceBundlesTest](#r0s76)|5✅|||99ms|
|
||||
|[org.apache.pulsar.common.naming.NamespaceBundleTest](#r0s77)|6✅|||64ms|
|
||||
|[org.apache.pulsar.common.naming.NamespaceNameTest](#r0s78)|2✅|||207ms|
|
||||
|[org.apache.pulsar.common.naming.ServiceConfigurationTest](#r0s79)|4✅|||48ms|
|
||||
|[org.apache.pulsar.common.naming.TopicNameTest](#r0s80)|4✅|||529ms|
|
||||
|[org.apache.pulsar.common.net.ServiceURITest](#r0s81)|21✅|||237ms|
|
||||
|[org.apache.pulsar.common.policies.data.AutoFailoverPolicyDataTest](#r0s82)|1✅|||15ms|
|
||||
|[org.apache.pulsar.common.policies.data.AutoFailoverPolicyTypeTest](#r0s83)|1✅|||19ms|
|
||||
|[org.apache.pulsar.common.policies.data.AutoTopicCreationOverrideTest](#r0s84)|6✅|||64ms|
|
||||
|[org.apache.pulsar.common.policies.data.BacklogQuotaTest](#r0s85)|1✅|||12ms|
|
||||
|[org.apache.pulsar.common.policies.data.ClusterDataTest](#r0s86)|1✅|||9ms|
|
||||
|[org.apache.pulsar.common.policies.data.ConsumerStatsTest](#r0s87)|1✅|||8ms|
|
||||
|[org.apache.pulsar.common.policies.data.EnsemblePlacementPolicyConfigTest](#r0s88)|2✅|||948ms|
|
||||
|[org.apache.pulsar.common.policies.data.LocalPolicesTest](#r0s89)|1✅|||48ms|
|
||||
|[org.apache.pulsar.common.policies.data.NamespaceIsolationDataTest](#r0s90)|1✅|||76ms|
|
||||
|[org.apache.pulsar.common.policies.data.NamespaceOwnershipStatusTest](#r0s91)|1✅|||45ms|
|
||||
|[org.apache.pulsar.common.policies.data.OffloadPoliciesTest](#r0s92)|6✅|||216ms|
|
||||
|[org.apache.pulsar.common.policies.data.PartitionedTopicStatsTest](#r0s93)|1✅|||12ms|
|
||||
|[org.apache.pulsar.common.policies.data.PersistencePoliciesTest](#r0s94)|1✅|||19ms|
|
||||
|[org.apache.pulsar.common.policies.data.PersistentOfflineTopicStatsTest](#r0s95)|1✅|||29ms|
|
||||
|[org.apache.pulsar.common.policies.data.PersistentTopicStatsTest](#r0s96)|2✅|||51ms|
|
||||
|[org.apache.pulsar.common.policies.data.PoliciesDataTest](#r0s97)|4✅|||1s|
|
||||
|[org.apache.pulsar.common.policies.data.PublisherStatsTest](#r0s98)|2✅|||37ms|
|
||||
|[org.apache.pulsar.common.policies.data.ReplicatorStatsTest](#r0s99)|2✅|||30ms|
|
||||
|[org.apache.pulsar.common.policies.data.ResourceQuotaTest](#r0s100)|2✅|||45ms|
|
||||
|[org.apache.pulsar.common.policies.data.RetentionPolicesTest](#r0s101)|1✅|||8ms|
|
||||
|[org.apache.pulsar.common.policies.impl.AutoFailoverPolicyFactoryTest](#r0s102)|1✅|||22ms|
|
||||
|[org.apache.pulsar.common.policies.impl.MinAvailablePolicyTest](#r0s103)|1✅|||1ms|
|
||||
|[org.apache.pulsar.common.policies.impl.NamespaceIsolationPoliciesTest](#r0s104)|7✅|||265ms|
|
||||
|[org.apache.pulsar.common.policies.impl.NamespaceIsolationPolicyImplTest](#r0s105)|7✅|||309ms|
|
||||
|[org.apache.pulsar.common.protocol.ByteBufPairTest](#r0s106)|2✅|||5s|
|
||||
|[org.apache.pulsar.common.protocol.CommandUtilsTests](#r0s107)|7✅|||3s|
|
||||
|[org.apache.pulsar.common.protocol.MarkersTest](#r0s108)|6✅|||3s|
|
||||
|[org.apache.pulsar.common.protocol.PulsarDecoderTest](#r0s109)|1✅|||4s|
|
||||
|[org.apache.pulsar.common.stats.JvmDefaultGCMetricsLoggerTest](#r0s110)|1✅|||82ms|
|
||||
|[org.apache.pulsar.common.util.collections.BitSetRecyclableRecyclableTest](#r0s111)|2✅|||13ms|
|
||||
|[org.apache.pulsar.common.util.collections.ConcurrentBitSetRecyclableTest](#r0s112)|2✅|||63ms|
|
||||
|[org.apache.pulsar.common.util.collections.ConcurrentLongHashMapTest](#r0s113)|13✅|||28s|
|
||||
|[org.apache.pulsar.common.util.collections.ConcurrentLongPairSetTest](#r0s114)|15✅|||2s|
|
||||
|[org.apache.pulsar.common.util.collections.ConcurrentOpenHashMapTest](#r0s115)|12✅|||9s|
|
||||
|[org.apache.pulsar.common.util.collections.ConcurrentOpenHashSetTest](#r0s116)|11✅|||7s|
|
||||
|[org.apache.pulsar.common.util.collections.ConcurrentOpenLongPairRangeSetTest](#r0s117)|13✅|||1s|
|
||||
|[org.apache.pulsar.common.util.collections.ConcurrentSortedLongPairSetTest](#r0s118)|9✅|||342ms|
|
||||
|[org.apache.pulsar.common.util.collections.FieldParserTest](#r0s119)|2✅|||64ms|
|
||||
|[org.apache.pulsar.common.util.collections.GrowableArrayBlockingQueueTest](#r0s120)|6✅|||350ms|
|
||||
|[org.apache.pulsar.common.util.collections.GrowablePriorityLongPairQueueTest](#r0s121)|15✅|||3s|
|
||||
|[org.apache.pulsar.common.util.collections.TripleLongPriorityQueueTest](#r0s122)|3✅|||238ms|
|
||||
|[org.apache.pulsar.common.util.FieldParserTest](#r0s123)|1✅|||242ms|
|
||||
|[org.apache.pulsar.common.util.FileModifiedTimeUpdaterTest](#r0s124)|6✅|||6s|
|
||||
|[org.apache.pulsar.common.util.netty.ChannelFuturesTest](#r0s125)|5✅|||2s|
|
||||
|[org.apache.pulsar.common.util.RateLimiterTest](#r0s126)|11✅|||7s|
|
||||
|[org.apache.pulsar.common.util.ReflectionsTest](#r0s127)|12✅|||172ms|
|
||||
|[org.apache.pulsar.common.util.RelativeTimeUtilTest](#r0s128)|1✅|||39ms|
|
||||
|[org.apache.pulsar.discovery.service.web.DiscoveryServiceWebTest](#r0s129)|1✅|||5s|
|
||||
|[org.apache.pulsar.functions.worker.PulsarFunctionE2ESecurityTest](#r0s130)|2✅|||28s|
|
||||
|[org.apache.pulsar.functions.worker.PulsarFunctionPublishTest](#r0s131)|3✅|||42s|
|
||||
|[org.apache.pulsar.functions.worker.PulsarFunctionTlsTest](#r0s132)|1✅|||12s|
|
||||
|[org.apache.pulsar.io.PulsarFunctionTlsTest](#r0s133)|1✅|||30s|
|
||||
|[org.apache.pulsar.proxy.server.AdminProxyHandlerTest](#r0s134)|1✅|||474ms|
|
||||
|[org.apache.pulsar.proxy.server.AuthedAdminProxyHandlerTest](#r0s135)|1✅|||2s|
|
||||
|[org.apache.pulsar.proxy.server.FunctionWorkerRoutingTest](#r0s136)|1✅|||10ms|
|
||||
|[org.apache.pulsar.proxy.server.ProxyAdditionalServletTest](#r0s137)|1✅|||125ms|
|
||||
|[org.apache.pulsar.proxy.server.ProxyAuthenticatedProducerConsumerTest](#r0s138)|1✅|||2s|
|
||||
|[org.apache.pulsar.proxy.server.ProxyAuthenticationTest](#r0s139)|1✅|||17s|
|
||||
|[org.apache.pulsar.proxy.server.ProxyConnectionThrottlingTest](#r0s140)|1✅|||2s|
|
||||
|[org.apache.pulsar.proxy.server.ProxyEnableHAProxyProtocolTest](#r0s141)|1✅|||511ms|
|
||||
|[org.apache.pulsar.proxy.server.ProxyForwardAuthDataTest](#r0s142)|1✅|||32s|
|
||||
|[org.apache.pulsar.proxy.server.ProxyIsAHttpProxyTest](#r0s143)|10✅|||2s|
|
||||
|[org.apache.pulsar.proxy.server.ProxyKeyStoreTlsTestWithAuth](#r0s144)|3✅|||7s|
|
||||
|[org.apache.pulsar.proxy.server.ProxyKeyStoreTlsTestWithoutAuth](#r0s145)|3✅|||7s|
|
||||
|[org.apache.pulsar.proxy.server.ProxyLookupThrottlingTest](#r0s146)|1✅|||3s|
|
||||
|[org.apache.pulsar.proxy.server.ProxyParserTest](#r0s147)|5✅|||1s|
|
||||
|[org.apache.pulsar.proxy.server.ProxyRolesEnforcementTest](#r0s148)|1✅|||10s|
|
||||
|[org.apache.pulsar.proxy.server.ProxyStatsTest](#r0s149)|3✅|||533ms|
|
||||
|[org.apache.pulsar.proxy.server.ProxyTest](#r0s150)|6✅|||3s|
|
||||
|[org.apache.pulsar.proxy.server.ProxyTlsTest](#r0s151)|2✅|||414ms|
|
||||
|[org.apache.pulsar.proxy.server.ProxyTlsTestWithAuth](#r0s152)|1✅|||4ms|
|
||||
|[org.apache.pulsar.proxy.server.ProxyWithAuthorizationNegTest](#r0s153)|1✅|||2s|
|
||||
|[org.apache.pulsar.proxy.server.ProxyWithAuthorizationTest](#r0s154)|13✅|||33s|
|
||||
|[org.apache.pulsar.proxy.server.ProxyWithoutServiceDiscoveryTest](#r0s155)|1✅|||2s|
|
||||
|[org.apache.pulsar.proxy.server.SuperUserAuthedAdminProxyHandlerTest](#r0s156)|3✅|||8s|
|
||||
|[org.apache.pulsar.proxy.server.UnauthedAdminProxyHandlerTest](#r0s157)|2✅|||114ms|
|
||||
|[org.apache.pulsar.PulsarBrokerStarterTest](#r0s158)|9✅|||591ms|
|
||||
|[org.apache.pulsar.schema.compatibility.SchemaCompatibilityCheckTest](#r0s159)|23✅|||107s|
|
||||
|[org.apache.pulsar.schema.PartitionedTopicSchemaTest](#r0s160)|1✅|||29s|
|
||||
|[org.apache.pulsar.schema.SchemaTest](#r0s161)|3✅|||31s|
|
||||
|[org.apache.pulsar.stats.client.PulsarBrokerStatsClientTest](#r0s162)|2✅|||41s|
|
||||
|[org.apache.pulsar.tests.EnumValuesDataProviderTest](#r0s163)|6✅|||23ms|
|
||||
|[org.apache.pulsar.tests.TestRetrySupportBeforeMethodRetryTest](#r0s164)|1✅||4⚪|36ms|
|
||||
|[org.apache.pulsar.tests.TestRetrySupportRetryTest](#r0s165)|1✅||4⚪|27ms|
|
||||
|[org.apache.pulsar.tests.TestRetrySupportSuccessTest](#r0s166)|3✅|||1ms|
|
||||
|[org.apache.pulsar.tests.ThreadDumpUtilTest](#r0s167)|2✅|||17ms|
|
||||
|[org.apache.pulsar.utils.SimpleTextOutputStreamTest](#r0s168)|4✅|||50ms|
|
||||
|[org.apache.pulsar.utils.StatsOutputStreamTest](#r0s169)|6✅|||59ms|
|
||||
|[org.apache.pulsar.websocket.proxy.ProxyAuthenticationTest](#r0s170)|4✅|||29s|
|
||||
|[org.apache.pulsar.websocket.proxy.ProxyAuthorizationTest](#r0s171)|1✅|||1s|
|
||||
|[org.apache.pulsar.websocket.proxy.ProxyConfigurationTest](#r0s172)|2✅|||9s|
|
||||
|[org.apache.pulsar.websocket.proxy.ProxyPublishConsumeTlsTest](#r0s173)|1✅|||11s|
|
||||
|[org.apache.pulsar.websocket.proxy.ProxyPublishConsumeWithoutZKTest](#r0s174)|1✅|||7s|
|
||||
|[org.apache.pulsar.websocket.proxy.v1.V1_ProxyAuthenticationTest](#r0s175)|4✅|||30s|
|
||||
|[org.apache.pulsar.AddMissingPatchVersionTest](#r0s0)||1 ❌|1 ⚪|116ms|
|
||||
|[org.apache.pulsar.broker.admin.AdminApiOffloadTest](#r0s1)|7 ✅|||19s|
|
||||
|[org.apache.pulsar.broker.auth.AuthenticationServiceTest](#r0s2)|2 ✅|||185ms|
|
||||
|[org.apache.pulsar.broker.auth.AuthLogsTest](#r0s3)|2 ✅|||1s|
|
||||
|[org.apache.pulsar.broker.auth.AuthorizationTest](#r0s4)|1 ✅|||2s|
|
||||
|[org.apache.pulsar.broker.lookup.http.HttpTopicLookupv2Test](#r0s5)|4 ✅|||2s|
|
||||
|[org.apache.pulsar.broker.namespace.NamespaceCreateBundlesTest](#r0s6)|2 ✅|||33s|
|
||||
|[org.apache.pulsar.broker.namespace.NamespaceOwnershipListenerTests](#r0s7)|2 ✅|||32s|
|
||||
|[org.apache.pulsar.broker.namespace.NamespaceServiceTest](#r0s8)|10 ✅|||75s|
|
||||
|[org.apache.pulsar.broker.namespace.NamespaceUnloadingTest](#r0s9)|2 ✅|||14s|
|
||||
|[org.apache.pulsar.broker.namespace.OwnerShipCacheForCurrentServerTest](#r0s10)|1 ✅|||16s|
|
||||
|[org.apache.pulsar.broker.namespace.OwnershipCacheTest](#r0s11)|8 ✅|||16s|
|
||||
|[org.apache.pulsar.broker.protocol.ProtocolHandlersTest](#r0s12)|6 ✅|||946ms|
|
||||
|[org.apache.pulsar.broker.protocol.ProtocolHandlerUtilsTest](#r0s13)|3 ✅|||7s|
|
||||
|[org.apache.pulsar.broker.protocol.ProtocolHandlerWithClassLoaderTest](#r0s14)|1 ✅|||15ms|
|
||||
|[org.apache.pulsar.broker.PulsarServiceTest](#r0s15)|2 ✅|||96ms|
|
||||
|[org.apache.pulsar.broker.service.MessagePublishBufferThrottleTest](#r0s16)|3 ✅|||14s|
|
||||
|[org.apache.pulsar.broker.service.ReplicatorTest](#r0s17)|22 ✅|||40s|
|
||||
|[org.apache.pulsar.broker.service.TopicOwnerTest](#r0s18)|8 ✅|||114s|
|
||||
|[org.apache.pulsar.broker.SLAMonitoringTest](#r0s19)|4 ✅|||9s|
|
||||
|[org.apache.pulsar.broker.stats.BookieClientsStatsGeneratorTest](#r0s20)|2 ✅|||49ms|
|
||||
|[org.apache.pulsar.broker.stats.ConsumerStatsTest](#r0s21)|3 ✅|||21s|
|
||||
|[org.apache.pulsar.broker.stats.ManagedCursorMetricsTest](#r0s22)|1 ✅|||281ms|
|
||||
|[org.apache.pulsar.broker.stats.ManagedLedgerMetricsTest](#r0s23)|1 ✅|||285ms|
|
||||
|[org.apache.pulsar.broker.stats.prometheus.AggregatedNamespaceStatsTest](#r0s24)|1 ✅|||40ms|
|
||||
|[org.apache.pulsar.broker.stats.PrometheusMetricsTest](#r0s25)|15 ✅|||83s|
|
||||
|[org.apache.pulsar.broker.stats.SubscriptionStatsTest](#r0s26)|2 ✅|||2s|
|
||||
|[org.apache.pulsar.broker.systopic.NamespaceEventsSystemTopicServiceTest](#r0s27)|1 ✅|||1s|
|
||||
|[org.apache.pulsar.broker.transaction.buffer.InMemTransactionBufferReaderTest](#r0s28)|3 ✅|||28ms|
|
||||
|[org.apache.pulsar.broker.transaction.buffer.TransactionBufferClientTest](#r0s29)|4 ✅|||93ms|
|
||||
|[org.apache.pulsar.broker.transaction.buffer.TransactionBufferTest](#r0s30)|7 ✅|||81ms|
|
||||
|[org.apache.pulsar.broker.transaction.buffer.TransactionEntryImplTest](#r0s31)|1 ✅|||14ms|
|
||||
|[org.apache.pulsar.broker.transaction.buffer.TransactionLowWaterMarkTest](#r0s32)|2 ✅|||38s|
|
||||
|[org.apache.pulsar.broker.transaction.buffer.TransactionStablePositionTest](#r0s33)|2 ✅||1 ⚪|49s|
|
||||
|[org.apache.pulsar.broker.transaction.coordinator.TransactionCoordinatorClientTest](#r0s34)|3 ✅|||95ms|
|
||||
|[org.apache.pulsar.broker.transaction.coordinator.TransactionMetaStoreAssignmentTest](#r0s35)|1 ✅|||1s|
|
||||
|[org.apache.pulsar.broker.transaction.pendingack.PendingAckInMemoryDeleteTest](#r0s36)|2 ✅||1 ⚪|57s|
|
||||
|[org.apache.pulsar.broker.transaction.TransactionConsumeTest](#r0s37)|2 ✅|||30s|
|
||||
|[org.apache.pulsar.broker.web.RestExceptionTest](#r0s38)|3 ✅|||37ms|
|
||||
|[org.apache.pulsar.broker.web.WebServiceTest](#r0s39)|9 ✅|||27s|
|
||||
|[org.apache.pulsar.client.impl.AdminApiKeyStoreTlsAuthTest](#r0s40)|4 ✅|||8s|
|
||||
|[org.apache.pulsar.client.impl.BatchMessageIdImplSerializationTest](#r0s41)|4 ✅|||30ms|
|
||||
|[org.apache.pulsar.client.impl.BatchMessageIndexAckDisableTest](#r0s42)|4 ✅|||14s|
|
||||
|[org.apache.pulsar.client.impl.BatchMessageIndexAckTest](#r0s43)|5 ✅|||44s|
|
||||
|[org.apache.pulsar.client.impl.BrokerClientIntegrationTest](#r0s44)|15 ✅|||148s|
|
||||
|[org.apache.pulsar.client.impl.CompactedOutBatchMessageTest](#r0s45)|1 ✅|||1s|
|
||||
|[org.apache.pulsar.client.impl.ConsumerAckResponseTest](#r0s46)|1 ✅|||549ms|
|
||||
|[org.apache.pulsar.client.impl.ConsumerConfigurationTest](#r0s47)|4 ✅|||12s|
|
||||
|[org.apache.pulsar.client.impl.ConsumerDedupPermitsUpdate](#r0s48)|7 ✅|||4s|
|
||||
|[org.apache.pulsar.client.impl.ConsumerUnsubscribeTest](#r0s49)|1 ✅|||129ms|
|
||||
|[org.apache.pulsar.client.impl.KeyStoreTlsProducerConsumerTestWithAuth](#r0s50)|3 ✅|||23s|
|
||||
|[org.apache.pulsar.client.impl.KeyStoreTlsProducerConsumerTestWithoutAuth](#r0s51)|3 ✅|||8s|
|
||||
|[org.apache.pulsar.client.impl.KeyStoreTlsTest](#r0s52)|1 ✅|||183ms|
|
||||
|[org.apache.pulsar.client.impl.MessageChecksumTest](#r0s53)|3 ✅|||47s|
|
||||
|[org.apache.pulsar.client.impl.MessageChunkingTest](#r0s54)|8 ✅||1 ⚪|73s|
|
||||
|[org.apache.pulsar.client.impl.MessageParserTest](#r0s55)|2 ✅|||5s|
|
||||
|[org.apache.pulsar.client.impl.MultiTopicsReaderTest](#r0s56)|8 ✅|||35s|
|
||||
|[org.apache.pulsar.client.impl.NegativeAcksTest](#r0s57)|32 ✅|||11s|
|
||||
|[org.apache.pulsar.client.impl.PatternTopicsConsumerImplTest](#r0s58)|11 ✅|||63s|
|
||||
|[org.apache.pulsar.client.impl.PerMessageUnAcknowledgedRedeliveryTest](#r0s59)|5 ✅|||34s|
|
||||
|[org.apache.pulsar.client.impl.PulsarMultiHostClientTest](#r0s60)|3 ✅|||15s|
|
||||
|[org.apache.pulsar.client.impl.RawMessageSerDeserTest](#r0s61)|1 ✅|||10ms|
|
||||
|[org.apache.pulsar.client.impl.SchemaDeleteTest](#r0s62)|1 ✅|||2s|
|
||||
|[org.apache.pulsar.client.impl.SequenceIdWithErrorTest](#r0s63)|3 ✅||2 ⚪|18s|
|
||||
|[org.apache.pulsar.client.impl.TopicDoesNotExistsTest](#r0s64)|2 ✅|||4s|
|
||||
|[org.apache.pulsar.client.impl.TopicFromMessageTest](#r0s65)|5 ✅|||14s|
|
||||
|[org.apache.pulsar.client.impl.TopicsConsumerImplTest](#r0s66)|17 ✅|||133s|
|
||||
|[org.apache.pulsar.client.impl.UnAcknowledgedMessagesTimeoutTest](#r0s67)|7 ✅|||44s|
|
||||
|[org.apache.pulsar.client.impl.ZeroQueueSizeTest](#r0s68)|14 ✅|||16s|
|
||||
|[org.apache.pulsar.common.api.raw.RawMessageImplTest](#r0s69)|1 ✅|||316ms|
|
||||
|[org.apache.pulsar.common.compression.CommandsTest](#r0s70)|1 ✅|||30ms|
|
||||
|[org.apache.pulsar.common.compression.CompressorCodecBackwardCompatTest](#r0s71)|6 ✅|||223ms|
|
||||
|[org.apache.pulsar.common.compression.CompressorCodecTest](#r0s72)|45 ✅|||737ms|
|
||||
|[org.apache.pulsar.common.compression.Crc32cChecksumTest](#r0s73)|6 ✅|||5s|
|
||||
|[org.apache.pulsar.common.lookup.data.LookupDataTest](#r0s74)|4 ✅|||2s|
|
||||
|[org.apache.pulsar.common.naming.MetadataTests](#r0s75)|2 ✅|||161ms|
|
||||
|[org.apache.pulsar.common.naming.NamespaceBundlesTest](#r0s76)|5 ✅|||99ms|
|
||||
|[org.apache.pulsar.common.naming.NamespaceBundleTest](#r0s77)|6 ✅|||64ms|
|
||||
|[org.apache.pulsar.common.naming.NamespaceNameTest](#r0s78)|2 ✅|||207ms|
|
||||
|[org.apache.pulsar.common.naming.ServiceConfigurationTest](#r0s79)|4 ✅|||48ms|
|
||||
|[org.apache.pulsar.common.naming.TopicNameTest](#r0s80)|4 ✅|||529ms|
|
||||
|[org.apache.pulsar.common.net.ServiceURITest](#r0s81)|21 ✅|||237ms|
|
||||
|[org.apache.pulsar.common.policies.data.AutoFailoverPolicyDataTest](#r0s82)|1 ✅|||15ms|
|
||||
|[org.apache.pulsar.common.policies.data.AutoFailoverPolicyTypeTest](#r0s83)|1 ✅|||19ms|
|
||||
|[org.apache.pulsar.common.policies.data.AutoTopicCreationOverrideTest](#r0s84)|6 ✅|||64ms|
|
||||
|[org.apache.pulsar.common.policies.data.BacklogQuotaTest](#r0s85)|1 ✅|||12ms|
|
||||
|[org.apache.pulsar.common.policies.data.ClusterDataTest](#r0s86)|1 ✅|||9ms|
|
||||
|[org.apache.pulsar.common.policies.data.ConsumerStatsTest](#r0s87)|1 ✅|||8ms|
|
||||
|[org.apache.pulsar.common.policies.data.EnsemblePlacementPolicyConfigTest](#r0s88)|2 ✅|||948ms|
|
||||
|[org.apache.pulsar.common.policies.data.LocalPolicesTest](#r0s89)|1 ✅|||48ms|
|
||||
|[org.apache.pulsar.common.policies.data.NamespaceIsolationDataTest](#r0s90)|1 ✅|||76ms|
|
||||
|[org.apache.pulsar.common.policies.data.NamespaceOwnershipStatusTest](#r0s91)|1 ✅|||45ms|
|
||||
|[org.apache.pulsar.common.policies.data.OffloadPoliciesTest](#r0s92)|6 ✅|||216ms|
|
||||
|[org.apache.pulsar.common.policies.data.PartitionedTopicStatsTest](#r0s93)|1 ✅|||12ms|
|
||||
|[org.apache.pulsar.common.policies.data.PersistencePoliciesTest](#r0s94)|1 ✅|||19ms|
|
||||
|[org.apache.pulsar.common.policies.data.PersistentOfflineTopicStatsTest](#r0s95)|1 ✅|||29ms|
|
||||
|[org.apache.pulsar.common.policies.data.PersistentTopicStatsTest](#r0s96)|2 ✅|||51ms|
|
||||
|[org.apache.pulsar.common.policies.data.PoliciesDataTest](#r0s97)|4 ✅|||1s|
|
||||
|[org.apache.pulsar.common.policies.data.PublisherStatsTest](#r0s98)|2 ✅|||37ms|
|
||||
|[org.apache.pulsar.common.policies.data.ReplicatorStatsTest](#r0s99)|2 ✅|||30ms|
|
||||
|[org.apache.pulsar.common.policies.data.ResourceQuotaTest](#r0s100)|2 ✅|||45ms|
|
||||
|[org.apache.pulsar.common.policies.data.RetentionPolicesTest](#r0s101)|1 ✅|||8ms|
|
||||
|[org.apache.pulsar.common.policies.impl.AutoFailoverPolicyFactoryTest](#r0s102)|1 ✅|||22ms|
|
||||
|[org.apache.pulsar.common.policies.impl.MinAvailablePolicyTest](#r0s103)|1 ✅|||1ms|
|
||||
|[org.apache.pulsar.common.policies.impl.NamespaceIsolationPoliciesTest](#r0s104)|7 ✅|||265ms|
|
||||
|[org.apache.pulsar.common.policies.impl.NamespaceIsolationPolicyImplTest](#r0s105)|7 ✅|||309ms|
|
||||
|[org.apache.pulsar.common.protocol.ByteBufPairTest](#r0s106)|2 ✅|||5s|
|
||||
|[org.apache.pulsar.common.protocol.CommandUtilsTests](#r0s107)|7 ✅|||3s|
|
||||
|[org.apache.pulsar.common.protocol.MarkersTest](#r0s108)|6 ✅|||3s|
|
||||
|[org.apache.pulsar.common.protocol.PulsarDecoderTest](#r0s109)|1 ✅|||4s|
|
||||
|[org.apache.pulsar.common.stats.JvmDefaultGCMetricsLoggerTest](#r0s110)|1 ✅|||82ms|
|
||||
|[org.apache.pulsar.common.util.collections.BitSetRecyclableRecyclableTest](#r0s111)|2 ✅|||13ms|
|
||||
|[org.apache.pulsar.common.util.collections.ConcurrentBitSetRecyclableTest](#r0s112)|2 ✅|||63ms|
|
||||
|[org.apache.pulsar.common.util.collections.ConcurrentLongHashMapTest](#r0s113)|13 ✅|||28s|
|
||||
|[org.apache.pulsar.common.util.collections.ConcurrentLongPairSetTest](#r0s114)|15 ✅|||2s|
|
||||
|[org.apache.pulsar.common.util.collections.ConcurrentOpenHashMapTest](#r0s115)|12 ✅|||9s|
|
||||
|[org.apache.pulsar.common.util.collections.ConcurrentOpenHashSetTest](#r0s116)|11 ✅|||7s|
|
||||
|[org.apache.pulsar.common.util.collections.ConcurrentOpenLongPairRangeSetTest](#r0s117)|13 ✅|||1s|
|
||||
|[org.apache.pulsar.common.util.collections.ConcurrentSortedLongPairSetTest](#r0s118)|9 ✅|||342ms|
|
||||
|[org.apache.pulsar.common.util.collections.FieldParserTest](#r0s119)|2 ✅|||64ms|
|
||||
|[org.apache.pulsar.common.util.collections.GrowableArrayBlockingQueueTest](#r0s120)|6 ✅|||350ms|
|
||||
|[org.apache.pulsar.common.util.collections.GrowablePriorityLongPairQueueTest](#r0s121)|15 ✅|||3s|
|
||||
|[org.apache.pulsar.common.util.collections.TripleLongPriorityQueueTest](#r0s122)|3 ✅|||238ms|
|
||||
|[org.apache.pulsar.common.util.FieldParserTest](#r0s123)|1 ✅|||242ms|
|
||||
|[org.apache.pulsar.common.util.FileModifiedTimeUpdaterTest](#r0s124)|6 ✅|||6s|
|
||||
|[org.apache.pulsar.common.util.netty.ChannelFuturesTest](#r0s125)|5 ✅|||2s|
|
||||
|[org.apache.pulsar.common.util.RateLimiterTest](#r0s126)|11 ✅|||7s|
|
||||
|[org.apache.pulsar.common.util.ReflectionsTest](#r0s127)|12 ✅|||172ms|
|
||||
|[org.apache.pulsar.common.util.RelativeTimeUtilTest](#r0s128)|1 ✅|||39ms|
|
||||
|[org.apache.pulsar.discovery.service.web.DiscoveryServiceWebTest](#r0s129)|1 ✅|||5s|
|
||||
|[org.apache.pulsar.functions.worker.PulsarFunctionE2ESecurityTest](#r0s130)|2 ✅|||28s|
|
||||
|[org.apache.pulsar.functions.worker.PulsarFunctionPublishTest](#r0s131)|3 ✅|||42s|
|
||||
|[org.apache.pulsar.functions.worker.PulsarFunctionTlsTest](#r0s132)|1 ✅|||12s|
|
||||
|[org.apache.pulsar.io.PulsarFunctionTlsTest](#r0s133)|1 ✅|||30s|
|
||||
|[org.apache.pulsar.proxy.server.AdminProxyHandlerTest](#r0s134)|1 ✅|||474ms|
|
||||
|[org.apache.pulsar.proxy.server.AuthedAdminProxyHandlerTest](#r0s135)|1 ✅|||2s|
|
||||
|[org.apache.pulsar.proxy.server.FunctionWorkerRoutingTest](#r0s136)|1 ✅|||10ms|
|
||||
|[org.apache.pulsar.proxy.server.ProxyAdditionalServletTest](#r0s137)|1 ✅|||125ms|
|
||||
|[org.apache.pulsar.proxy.server.ProxyAuthenticatedProducerConsumerTest](#r0s138)|1 ✅|||2s|
|
||||
|[org.apache.pulsar.proxy.server.ProxyAuthenticationTest](#r0s139)|1 ✅|||17s|
|
||||
|[org.apache.pulsar.proxy.server.ProxyConnectionThrottlingTest](#r0s140)|1 ✅|||2s|
|
||||
|[org.apache.pulsar.proxy.server.ProxyEnableHAProxyProtocolTest](#r0s141)|1 ✅|||511ms|
|
||||
|[org.apache.pulsar.proxy.server.ProxyForwardAuthDataTest](#r0s142)|1 ✅|||32s|
|
||||
|[org.apache.pulsar.proxy.server.ProxyIsAHttpProxyTest](#r0s143)|10 ✅|||2s|
|
||||
|[org.apache.pulsar.proxy.server.ProxyKeyStoreTlsTestWithAuth](#r0s144)|3 ✅|||7s|
|
||||
|[org.apache.pulsar.proxy.server.ProxyKeyStoreTlsTestWithoutAuth](#r0s145)|3 ✅|||7s|
|
||||
|[org.apache.pulsar.proxy.server.ProxyLookupThrottlingTest](#r0s146)|1 ✅|||3s|
|
||||
|[org.apache.pulsar.proxy.server.ProxyParserTest](#r0s147)|5 ✅|||1s|
|
||||
|[org.apache.pulsar.proxy.server.ProxyRolesEnforcementTest](#r0s148)|1 ✅|||10s|
|
||||
|[org.apache.pulsar.proxy.server.ProxyStatsTest](#r0s149)|3 ✅|||533ms|
|
||||
|[org.apache.pulsar.proxy.server.ProxyTest](#r0s150)|6 ✅|||3s|
|
||||
|[org.apache.pulsar.proxy.server.ProxyTlsTest](#r0s151)|2 ✅|||414ms|
|
||||
|[org.apache.pulsar.proxy.server.ProxyTlsTestWithAuth](#r0s152)|1 ✅|||4ms|
|
||||
|[org.apache.pulsar.proxy.server.ProxyWithAuthorizationNegTest](#r0s153)|1 ✅|||2s|
|
||||
|[org.apache.pulsar.proxy.server.ProxyWithAuthorizationTest](#r0s154)|13 ✅|||33s|
|
||||
|[org.apache.pulsar.proxy.server.ProxyWithoutServiceDiscoveryTest](#r0s155)|1 ✅|||2s|
|
||||
|[org.apache.pulsar.proxy.server.SuperUserAuthedAdminProxyHandlerTest](#r0s156)|3 ✅|||8s|
|
||||
|[org.apache.pulsar.proxy.server.UnauthedAdminProxyHandlerTest](#r0s157)|2 ✅|||114ms|
|
||||
|[org.apache.pulsar.PulsarBrokerStarterTest](#r0s158)|9 ✅|||591ms|
|
||||
|[org.apache.pulsar.schema.compatibility.SchemaCompatibilityCheckTest](#r0s159)|23 ✅|||107s|
|
||||
|[org.apache.pulsar.schema.PartitionedTopicSchemaTest](#r0s160)|1 ✅|||29s|
|
||||
|[org.apache.pulsar.schema.SchemaTest](#r0s161)|3 ✅|||31s|
|
||||
|[org.apache.pulsar.stats.client.PulsarBrokerStatsClientTest](#r0s162)|2 ✅|||41s|
|
||||
|[org.apache.pulsar.tests.EnumValuesDataProviderTest](#r0s163)|6 ✅|||23ms|
|
||||
|[org.apache.pulsar.tests.TestRetrySupportBeforeMethodRetryTest](#r0s164)|1 ✅||4 ⚪|36ms|
|
||||
|[org.apache.pulsar.tests.TestRetrySupportRetryTest](#r0s165)|1 ✅||4 ⚪|27ms|
|
||||
|[org.apache.pulsar.tests.TestRetrySupportSuccessTest](#r0s166)|3 ✅|||1ms|
|
||||
|[org.apache.pulsar.tests.ThreadDumpUtilTest](#r0s167)|2 ✅|||17ms|
|
||||
|[org.apache.pulsar.utils.SimpleTextOutputStreamTest](#r0s168)|4 ✅|||50ms|
|
||||
|[org.apache.pulsar.utils.StatsOutputStreamTest](#r0s169)|6 ✅|||59ms|
|
||||
|[org.apache.pulsar.websocket.proxy.ProxyAuthenticationTest](#r0s170)|4 ✅|||29s|
|
||||
|[org.apache.pulsar.websocket.proxy.ProxyAuthorizationTest](#r0s171)|1 ✅|||1s|
|
||||
|[org.apache.pulsar.websocket.proxy.ProxyConfigurationTest](#r0s172)|2 ✅|||9s|
|
||||
|[org.apache.pulsar.websocket.proxy.ProxyPublishConsumeTlsTest](#r0s173)|1 ✅|||11s|
|
||||
|[org.apache.pulsar.websocket.proxy.ProxyPublishConsumeWithoutZKTest](#r0s174)|1 ✅|||7s|
|
||||
|[org.apache.pulsar.websocket.proxy.v1.V1_ProxyAuthenticationTest](#r0s175)|4 ✅|||30s|
|
||||
### ❌ <a id="user-content-r0s0" href="#r0s0">org.apache.pulsar.AddMissingPatchVersionTest</a>
|
||||
```
|
||||
⚪ testVersionStrings
|
||||
|
|
|
|||
|
|
@ -1,9 +1,12 @@
|
|||

|
||||
|Report|Passed|Failed|Skipped|Time|
|
||||
|:---|---:|---:|---:|---:|
|
||||
|fixtures/rspec-json.json|1 ✅|1 ❌|1 ⚪|0ms|
|
||||
## ❌ <a id="user-content-r0" href="#r0">fixtures/rspec-json.json</a>
|
||||
**3** tests were completed in **0ms** with **1** passed, **1** failed and **1** skipped.
|
||||
|Test suite|Passed|Failed|Skipped|Time|
|
||||
|:---|---:|---:|---:|---:|
|
||||
|[./spec/config/check_env_vars_spec.rb](#r0s0)|1✅|1❌|1⚪|0ms|
|
||||
|[./spec/config/check_env_vars_spec.rb](#r0s0)|1 ✅|1 ❌|1 ⚪|0ms|
|
||||
### ❌ <a id="user-content-r0s0" href="#r0s0">./spec/config/check_env_vars_spec.rb</a>
|
||||
```
|
||||
CheckEnvVars#call when all env vars are defined behaves like success load
|
||||
|
|
|
|||
|
|
@ -1,21 +1,26 @@
|
|||

|
||||
<details><summary>Expand for details</summary>
|
||||
|
||||
|Report|Passed|Failed|Skipped|Time|
|
||||
|:---|---:|---:|---:|---:|
|
||||
|fixtures/external/SilentNotes.trx|67 ✅||12 ⚪|1s|
|
||||
## ✅ <a id="user-content-r0" href="#r0">fixtures/external/SilentNotes.trx</a>
|
||||
**79** tests were completed in **1s** with **67** passed, **0** failed and **12** skipped.
|
||||
|Test suite|Passed|Failed|Skipped|Time|
|
||||
|:---|---:|---:|---:|---:|
|
||||
|[VanillaCloudStorageClientTest.CloudStorageCredentialsTest](#r0s0)|6✅|||30ms|
|
||||
|[VanillaCloudStorageClientTest.CloudStorageProviders.DropboxCloudStorageClientTest](#r0s1)|2✅||3⚪|101ms|
|
||||
|[VanillaCloudStorageClientTest.CloudStorageProviders.FtpCloudStorageClientTest](#r0s2)|4✅||3⚪|166ms|
|
||||
|[VanillaCloudStorageClientTest.CloudStorageProviders.GmxCloudStorageClientTest](#r0s3)|2✅|||7ms|
|
||||
|[VanillaCloudStorageClientTest.CloudStorageProviders.GoogleCloudStorageClientTest](#r0s4)|1✅||3⚪|40ms|
|
||||
|[VanillaCloudStorageClientTest.CloudStorageProviders.OnedriveCloudStorageClientTest](#r0s5)|1✅||3⚪|15ms|
|
||||
|[VanillaCloudStorageClientTest.CloudStorageProviders.WebdavCloudStorageClientTest](#r0s6)|5✅|||16ms|
|
||||
|[VanillaCloudStorageClientTest.CloudStorageTokenTest](#r0s7)|9✅|||0ms|
|
||||
|[VanillaCloudStorageClientTest.OAuth2.AuthorizationResponseErrorTest](#r0s8)|3✅|||3ms|
|
||||
|[VanillaCloudStorageClientTest.OAuth2.OAuth2UtilsTest](#r0s9)|9✅|||12ms|
|
||||
|[VanillaCloudStorageClientTest.OAuth2CloudStorageClientTest](#r0s10)|5✅|||13ms|
|
||||
|[VanillaCloudStorageClientTest.SecureStringExtensionsTest](#r0s11)|7✅|||0ms|
|
||||
|[VanillaCloudStorageClientTest.SerializeableCloudStorageCredentialsTest](#r0s12)|13✅|||43ms|
|
||||
|[VanillaCloudStorageClientTest.CloudStorageCredentialsTest](#r0s0)|6 ✅|||30ms|
|
||||
|[VanillaCloudStorageClientTest.CloudStorageProviders.DropboxCloudStorageClientTest](#r0s1)|2 ✅||3 ⚪|101ms|
|
||||
|[VanillaCloudStorageClientTest.CloudStorageProviders.FtpCloudStorageClientTest](#r0s2)|4 ✅||3 ⚪|166ms|
|
||||
|[VanillaCloudStorageClientTest.CloudStorageProviders.GmxCloudStorageClientTest](#r0s3)|2 ✅|||7ms|
|
||||
|[VanillaCloudStorageClientTest.CloudStorageProviders.GoogleCloudStorageClientTest](#r0s4)|1 ✅||3 ⚪|40ms|
|
||||
|[VanillaCloudStorageClientTest.CloudStorageProviders.OnedriveCloudStorageClientTest](#r0s5)|1 ✅||3 ⚪|15ms|
|
||||
|[VanillaCloudStorageClientTest.CloudStorageProviders.WebdavCloudStorageClientTest](#r0s6)|5 ✅|||16ms|
|
||||
|[VanillaCloudStorageClientTest.CloudStorageTokenTest](#r0s7)|9 ✅|||0ms|
|
||||
|[VanillaCloudStorageClientTest.OAuth2.AuthorizationResponseErrorTest](#r0s8)|3 ✅|||3ms|
|
||||
|[VanillaCloudStorageClientTest.OAuth2.OAuth2UtilsTest](#r0s9)|9 ✅|||12ms|
|
||||
|[VanillaCloudStorageClientTest.OAuth2CloudStorageClientTest](#r0s10)|5 ✅|||13ms|
|
||||
|[VanillaCloudStorageClientTest.SecureStringExtensionsTest](#r0s11)|7 ✅|||0ms|
|
||||
|[VanillaCloudStorageClientTest.SerializeableCloudStorageCredentialsTest](#r0s12)|13 ✅|||43ms|
|
||||
### ✅ <a id="user-content-r0s0" href="#r0s0">VanillaCloudStorageClientTest.CloudStorageCredentialsTest</a>
|
||||
```
|
||||
✅ AreEqualWorksWithDifferentPassword
|
||||
|
|
@ -133,4 +138,5 @@
|
|||
✅ SerializedXmlCanBeReadBack
|
||||
✅ SerializedXmlDoesNotContainNullProperties
|
||||
✅ SerializedXmlDoesNotContainPlaintextData
|
||||
```
|
||||
```
|
||||
</details>
|
||||
|
|
@ -1,9 +1,12 @@
|
|||

|
||||
|Report|Passed|Failed|Skipped|Time|
|
||||
|:---|---:|---:|---:|---:|
|
||||
|fixtures/swift-xunit.xml|2 ✅|1 ❌||220ms|
|
||||
## ❌ <a id="user-content-r0" href="#r0">fixtures/swift-xunit.xml</a>
|
||||
**3** tests were completed in **220ms** with **2** passed, **1** failed and **0** skipped.
|
||||
|Test suite|Passed|Failed|Skipped|Time|
|
||||
|:---|---:|---:|---:|---:|
|
||||
|[TestResults](#r0s0)|2✅|1❌||220ms|
|
||||
|[TestResults](#r0s0)|2 ✅|1 ❌||220ms|
|
||||
### ❌ <a id="user-content-r0s0" href="#r0s0">TestResults</a>
|
||||
```
|
||||
AcmeLibTests.AcmeLibTests
|
||||
|
|
|
|||
11
action.yml
11
action.yml
|
|
@ -40,6 +40,7 @@ inputs:
|
|||
Limits which test suites are listed. Supported options:
|
||||
- all
|
||||
- only-failed
|
||||
- none
|
||||
required: false
|
||||
default: 'all'
|
||||
list-tests:
|
||||
|
|
@ -74,6 +75,16 @@ inputs:
|
|||
Detailed listing of test suites and test cases will be skipped.
|
||||
default: 'false'
|
||||
required: false
|
||||
use-actions-summary:
|
||||
description: |
|
||||
Allows you to generate reports for Actions Summary
|
||||
https://github.com/orgs/github/teams/engineering/discussions/871
|
||||
default: 'true'
|
||||
required: false
|
||||
badge-title:
|
||||
description: Customize badge title
|
||||
required: false
|
||||
default: 'tests'
|
||||
token:
|
||||
description: GitHub Access Token
|
||||
required: false
|
||||
|
|
|
|||
195
dist/index.js
generated
vendored
195
dist/index.js
generated
vendored
|
|
@ -275,12 +275,14 @@ class TestReporter {
|
|||
failOnEmpty = core.getInput('fail-on-empty', { required: true }) === 'true';
|
||||
workDirInput = core.getInput('working-directory', { required: false });
|
||||
onlySummary = core.getInput('only-summary', { required: false }) === 'true';
|
||||
useActionsSummary = core.getInput('use-actions-summary', { required: false }) === 'true';
|
||||
badgeTitle = core.getInput('badge-title', { required: false });
|
||||
token = core.getInput('token', { required: true });
|
||||
octokit;
|
||||
context = (0, github_utils_1.getCheckRunContext)();
|
||||
constructor() {
|
||||
this.octokit = github.getOctokit(this.token);
|
||||
if (this.listSuites !== 'all' && this.listSuites !== 'failed') {
|
||||
if (this.listSuites !== 'all' && this.listSuites !== 'failed' && this.listSuites !== 'none') {
|
||||
core.setFailed(`Input parameter 'list-suites' has invalid value`);
|
||||
return;
|
||||
}
|
||||
|
|
@ -367,46 +369,55 @@ class TestReporter {
|
|||
throw error;
|
||||
}
|
||||
}
|
||||
core.info(`Creating check run ${name}`);
|
||||
const createResp = await this.octokit.rest.checks.create({
|
||||
head_sha: this.context.sha,
|
||||
name,
|
||||
status: 'in_progress',
|
||||
output: {
|
||||
title: name,
|
||||
summary: ''
|
||||
},
|
||||
...github.context.repo
|
||||
});
|
||||
core.info('Creating report summary');
|
||||
const { listSuites, listTests, onlySummary } = this;
|
||||
const baseUrl = createResp.data.html_url;
|
||||
const summary = (0, get_report_1.getReport)(results, { listSuites, listTests, baseUrl, onlySummary });
|
||||
core.info('Creating annotations');
|
||||
const annotations = (0, get_annotations_1.getAnnotations)(results, this.maxAnnotations);
|
||||
const isFailed = this.failOnError && results.some(tr => tr.result === 'failed');
|
||||
const conclusion = isFailed ? 'failure' : 'success';
|
||||
const passed = results.reduce((sum, tr) => sum + tr.passed, 0);
|
||||
const failed = results.reduce((sum, tr) => sum + tr.failed, 0);
|
||||
const skipped = results.reduce((sum, tr) => sum + tr.skipped, 0);
|
||||
const shortSummary = `${passed} passed, ${failed} failed and ${skipped} skipped `;
|
||||
core.info(`Updating check run conclusion (${conclusion}) and output`);
|
||||
const resp = await this.octokit.rest.checks.update({
|
||||
check_run_id: createResp.data.id,
|
||||
conclusion,
|
||||
status: 'completed',
|
||||
output: {
|
||||
title: shortSummary,
|
||||
summary,
|
||||
annotations
|
||||
},
|
||||
...github.context.repo
|
||||
});
|
||||
core.info(`Check run create response: ${resp.status}`);
|
||||
core.info(`Check run URL: ${resp.data.url}`);
|
||||
core.info(`Check run HTML: ${resp.data.html_url}`);
|
||||
core.setOutput('url', resp.data.url);
|
||||
core.setOutput('url_html', resp.data.html_url);
|
||||
const { listSuites, listTests, onlySummary, useActionsSummary, badgeTitle } = this;
|
||||
let baseUrl = '';
|
||||
if (this.useActionsSummary) {
|
||||
const summary = (0, get_report_1.getReport)(results, { listSuites, listTests, baseUrl, onlySummary, useActionsSummary, badgeTitle });
|
||||
core.info('Summary content:');
|
||||
core.info(summary);
|
||||
await core.summary.addRaw(summary).write();
|
||||
}
|
||||
else {
|
||||
core.info(`Creating check run ${name}`);
|
||||
const createResp = await this.octokit.rest.checks.create({
|
||||
head_sha: this.context.sha,
|
||||
name,
|
||||
status: 'in_progress',
|
||||
output: {
|
||||
title: name,
|
||||
summary: ''
|
||||
},
|
||||
...github.context.repo
|
||||
});
|
||||
core.info('Creating report summary');
|
||||
baseUrl = createResp.data.html_url;
|
||||
const summary = (0, get_report_1.getReport)(results, { listSuites, listTests, baseUrl, onlySummary, useActionsSummary, badgeTitle });
|
||||
core.info('Creating annotations');
|
||||
const annotations = (0, get_annotations_1.getAnnotations)(results, this.maxAnnotations);
|
||||
const isFailed = this.failOnError && results.some(tr => tr.result === 'failed');
|
||||
const conclusion = isFailed ? 'failure' : 'success';
|
||||
const passed = results.reduce((sum, tr) => sum + tr.passed, 0);
|
||||
const failed = results.reduce((sum, tr) => sum + tr.failed, 0);
|
||||
const skipped = results.reduce((sum, tr) => sum + tr.skipped, 0);
|
||||
const shortSummary = `${passed} passed, ${failed} failed and ${skipped} skipped `;
|
||||
core.info(`Updating check run conclusion (${conclusion}) and output`);
|
||||
const resp = await this.octokit.rest.checks.update({
|
||||
check_run_id: createResp.data.id,
|
||||
conclusion,
|
||||
status: 'completed',
|
||||
output: {
|
||||
title: shortSummary,
|
||||
summary,
|
||||
annotations
|
||||
},
|
||||
...github.context.repo
|
||||
});
|
||||
core.info(`Check run create response: ${resp.status}`);
|
||||
core.info(`Check run URL: ${resp.data.url}`);
|
||||
core.info(`Check run HTML: ${resp.data.html_url}`);
|
||||
core.setOutput('url', resp.data.url);
|
||||
core.setOutput('url_html', resp.data.html_url);
|
||||
}
|
||||
return results;
|
||||
}
|
||||
getParser(reporter, options) {
|
||||
|
|
@ -1731,11 +1742,14 @@ const node_utils_1 = __nccwpck_require__(5824);
|
|||
const parse_utils_1 = __nccwpck_require__(7811);
|
||||
const slugger_1 = __nccwpck_require__(3328);
|
||||
const MAX_REPORT_LENGTH = 65535;
|
||||
const MAX_ACTIONS_SUMMARY_LENGTH = 131072; // 1048576 soon
|
||||
const defaultOptions = {
|
||||
listSuites: 'all',
|
||||
listTests: 'all',
|
||||
baseUrl: '',
|
||||
onlySummary: false
|
||||
onlySummary: false,
|
||||
useActionsSummary: true,
|
||||
badgeTitle: 'tests'
|
||||
};
|
||||
function getReport(results, options = defaultOptions) {
|
||||
core.info('Generating check run summary');
|
||||
|
|
@ -1743,7 +1757,7 @@ function getReport(results, options = defaultOptions) {
|
|||
const opts = { ...options };
|
||||
let lines = renderReport(results, opts);
|
||||
let report = lines.join('\n');
|
||||
if (getByteLength(report) <= MAX_REPORT_LENGTH) {
|
||||
if (getByteLength(report) <= getMaxReportLength(options)) {
|
||||
return report;
|
||||
}
|
||||
if (opts.listTests === 'all') {
|
||||
|
|
@ -1751,18 +1765,21 @@ function getReport(results, options = defaultOptions) {
|
|||
opts.listTests = 'failed';
|
||||
lines = renderReport(results, opts);
|
||||
report = lines.join('\n');
|
||||
if (getByteLength(report) <= MAX_REPORT_LENGTH) {
|
||||
if (getByteLength(report) <= getMaxReportLength(options)) {
|
||||
return report;
|
||||
}
|
||||
}
|
||||
core.warning(`Test report summary exceeded limit of ${MAX_REPORT_LENGTH} bytes and will be trimmed`);
|
||||
return trimReport(lines);
|
||||
core.warning(`Test report summary exceeded limit of ${getMaxReportLength(options)} bytes and will be trimmed`);
|
||||
return trimReport(lines, options);
|
||||
}
|
||||
function trimReport(lines) {
|
||||
function getMaxReportLength(options = defaultOptions) {
|
||||
return options.useActionsSummary ? MAX_ACTIONS_SUMMARY_LENGTH : MAX_REPORT_LENGTH;
|
||||
}
|
||||
function trimReport(lines, options) {
|
||||
const closingBlock = '```';
|
||||
const errorMsg = `**Report exceeded GitHub limit of ${MAX_REPORT_LENGTH} bytes and has been trimmed**`;
|
||||
const errorMsg = `**Report exceeded GitHub limit of ${getMaxReportLength(options)} bytes and has been trimmed**`;
|
||||
const maxErrorMsgLength = closingBlock.length + errorMsg.length + 2;
|
||||
const maxReportLength = MAX_REPORT_LENGTH - maxErrorMsgLength;
|
||||
const maxReportLength = getMaxReportLength(options) - maxErrorMsgLength;
|
||||
let reportLength = 0;
|
||||
let codeBlock = false;
|
||||
let endLineIndex = 0;
|
||||
|
|
@ -1795,19 +1812,19 @@ function getByteLength(text) {
|
|||
}
|
||||
function renderReport(results, options) {
|
||||
const sections = [];
|
||||
const badge = getReportBadge(results);
|
||||
const badge = getReportBadge(results, options);
|
||||
sections.push(badge);
|
||||
const runs = getTestRunsReport(results, options);
|
||||
sections.push(...runs);
|
||||
return sections;
|
||||
}
|
||||
function getReportBadge(results) {
|
||||
function getReportBadge(results, options) {
|
||||
const passed = results.reduce((sum, tr) => sum + tr.passed, 0);
|
||||
const skipped = results.reduce((sum, tr) => sum + tr.skipped, 0);
|
||||
const failed = results.reduce((sum, tr) => sum + tr.failed, 0);
|
||||
return getBadge(passed, failed, skipped);
|
||||
return getBadge(passed, failed, skipped, options);
|
||||
}
|
||||
function getBadge(passed, failed, skipped) {
|
||||
function getBadge(passed, failed, skipped, options) {
|
||||
const text = [];
|
||||
if (passed > 0) {
|
||||
text.push(`${passed} passed`);
|
||||
|
|
@ -1827,21 +1844,26 @@ function getBadge(passed, failed, skipped) {
|
|||
color = 'yellow';
|
||||
}
|
||||
const hint = failed > 0 ? 'Tests failed' : 'Tests passed successfully';
|
||||
const uri = encodeURIComponent(`tests-${message}-${color}`);
|
||||
const uri = encodeURIComponent(`${options.badgeTitle}-${message}-${color}`);
|
||||
return ``;
|
||||
}
|
||||
function getTestRunsReport(testRuns, options) {
|
||||
const sections = [];
|
||||
if (testRuns.length > 1 || options.onlySummary) {
|
||||
const tableData = testRuns.map((tr, runIndex) => {
|
||||
const totalFailed = testRuns.reduce((sum, tr) => sum + tr.failed, 0);
|
||||
if (totalFailed === 0) {
|
||||
sections.push(`<details><summary>Expand for details</summary>`);
|
||||
sections.push(` `);
|
||||
}
|
||||
if (testRuns.length > 0 || options.onlySummary) {
|
||||
const tableData = testRuns
|
||||
.filter(tr => tr.passed > 0 || tr.failed > 0 || tr.skipped > 0)
|
||||
.map(tr => {
|
||||
const time = (0, markdown_utils_1.formatTime)(tr.time);
|
||||
const name = tr.path;
|
||||
const addr = options.baseUrl + makeRunSlug(runIndex).link;
|
||||
const nameLink = (0, markdown_utils_1.link)(name, addr);
|
||||
const passed = tr.passed > 0 ? `${tr.passed}${markdown_utils_1.Icon.success}` : '';
|
||||
const failed = tr.failed > 0 ? `${tr.failed}${markdown_utils_1.Icon.fail}` : '';
|
||||
const skipped = tr.skipped > 0 ? `${tr.skipped}${markdown_utils_1.Icon.skip}` : '';
|
||||
return [nameLink, passed, failed, skipped, time];
|
||||
const passed = tr.passed > 0 ? `${tr.passed} ${markdown_utils_1.Icon.success}` : '';
|
||||
const failed = tr.failed > 0 ? `${tr.failed} ${markdown_utils_1.Icon.fail}` : '';
|
||||
const skipped = tr.skipped > 0 ? `${tr.skipped} ${markdown_utils_1.Icon.skip}` : '';
|
||||
return [name, passed, failed, skipped, time];
|
||||
});
|
||||
const resultsTable = (0, markdown_utils_1.table)(['Report', 'Passed', 'Failed', 'Skipped', 'Time'], [markdown_utils_1.Align.Left, markdown_utils_1.Align.Right, markdown_utils_1.Align.Right, markdown_utils_1.Align.Right, markdown_utils_1.Align.Right], ...tableData);
|
||||
sections.push(resultsTable);
|
||||
|
|
@ -1850,33 +1872,38 @@ function getTestRunsReport(testRuns, options) {
|
|||
const suitesReports = testRuns.map((tr, i) => getSuitesReport(tr, i, options)).flat();
|
||||
sections.push(...suitesReports);
|
||||
}
|
||||
if (totalFailed === 0) {
|
||||
sections.push(`</details>`);
|
||||
}
|
||||
return sections;
|
||||
}
|
||||
function getSuitesReport(tr, runIndex, options) {
|
||||
const sections = [];
|
||||
const trSlug = makeRunSlug(runIndex);
|
||||
const nameLink = `<a id="${trSlug.id}" href="${options.baseUrl + trSlug.link}">${tr.path}</a>`;
|
||||
const icon = getResultIcon(tr.result);
|
||||
sections.push(`## ${icon}\xa0${nameLink}`);
|
||||
const time = (0, markdown_utils_1.formatTime)(tr.time);
|
||||
const headingLine2 = tr.tests > 0
|
||||
? `**${tr.tests}** tests were completed in **${time}** with **${tr.passed}** passed, **${tr.failed}** failed and **${tr.skipped}** skipped.`
|
||||
: 'No tests found';
|
||||
sections.push(headingLine2);
|
||||
const suites = options.listSuites === 'failed' ? tr.failedSuites : tr.suites;
|
||||
if (suites.length > 0) {
|
||||
const suitesTable = (0, markdown_utils_1.table)(['Test suite', 'Passed', 'Failed', 'Skipped', 'Time'], [markdown_utils_1.Align.Left, markdown_utils_1.Align.Right, markdown_utils_1.Align.Right, markdown_utils_1.Align.Right, markdown_utils_1.Align.Right], ...suites.map((s, suiteIndex) => {
|
||||
const tsTime = (0, markdown_utils_1.formatTime)(s.time);
|
||||
const tsName = s.name;
|
||||
const skipLink = options.listTests === 'none' || (options.listTests === 'failed' && s.result !== 'failed');
|
||||
const tsAddr = options.baseUrl + makeSuiteSlug(runIndex, suiteIndex).link;
|
||||
const tsNameLink = skipLink ? tsName : (0, markdown_utils_1.link)(tsName, tsAddr);
|
||||
const passed = s.passed > 0 ? `${s.passed}${markdown_utils_1.Icon.success}` : '';
|
||||
const failed = s.failed > 0 ? `${s.failed}${markdown_utils_1.Icon.fail}` : '';
|
||||
const skipped = s.skipped > 0 ? `${s.skipped}${markdown_utils_1.Icon.skip}` : '';
|
||||
return [tsNameLink, passed, failed, skipped, tsTime];
|
||||
}));
|
||||
sections.push(suitesTable);
|
||||
if (options.listSuites !== 'none') {
|
||||
const trSlug = makeRunSlug(runIndex);
|
||||
const nameLink = `<a id="${trSlug.id}" href="${options.baseUrl + trSlug.link}">${tr.path}</a>`;
|
||||
const icon = getResultIcon(tr.result);
|
||||
sections.push(`## ${icon}\xa0${nameLink}`);
|
||||
const time = (0, markdown_utils_1.formatTime)(tr.time);
|
||||
const headingLine2 = tr.tests > 0
|
||||
? `**${tr.tests}** tests were completed in **${time}** with **${tr.passed}** passed, **${tr.failed}** failed and **${tr.skipped}** skipped.`
|
||||
: 'No tests found';
|
||||
sections.push(headingLine2);
|
||||
if (suites.length > 0) {
|
||||
const suitesTable = (0, markdown_utils_1.table)(['Test suite', 'Passed', 'Failed', 'Skipped', 'Time'], [markdown_utils_1.Align.Left, markdown_utils_1.Align.Right, markdown_utils_1.Align.Right, markdown_utils_1.Align.Right, markdown_utils_1.Align.Right], ...suites.map((s, suiteIndex) => {
|
||||
const tsTime = (0, markdown_utils_1.formatTime)(s.time);
|
||||
const tsName = s.name;
|
||||
const skipLink = options.listTests === 'none' || (options.listTests === 'failed' && s.result !== 'failed');
|
||||
const tsAddr = options.baseUrl + makeSuiteSlug(runIndex, suiteIndex).link;
|
||||
const tsNameLink = skipLink ? tsName : (0, markdown_utils_1.link)(tsName, tsAddr);
|
||||
const passed = s.passed > 0 ? `${s.passed} ${markdown_utils_1.Icon.success}` : '';
|
||||
const failed = s.failed > 0 ? `${s.failed} ${markdown_utils_1.Icon.fail}` : '';
|
||||
const skipped = s.skipped > 0 ? `${s.skipped} ${markdown_utils_1.Icon.skip}` : '';
|
||||
return [tsNameLink, passed, failed, skipped, tsTime];
|
||||
}));
|
||||
sections.push(suitesTable);
|
||||
}
|
||||
}
|
||||
if (options.listTests !== 'none') {
|
||||
const tests = suites.map((ts, suiteIndex) => getTestsReport(ts, runIndex, suiteIndex, options)).flat();
|
||||
|
|
|
|||
2
dist/index.js.map
generated
vendored
2
dist/index.js.map
generated
vendored
File diff suppressed because one or more lines are too long
3
package-lock.json
generated
3
package-lock.json
generated
|
|
@ -43,6 +43,9 @@
|
|||
"prettier": "^3.3.2",
|
||||
"ts-jest": "^29.1.5",
|
||||
"typescript": "^5.5.2"
|
||||
},
|
||||
"engines": {
|
||||
"node": ">=20"
|
||||
}
|
||||
},
|
||||
"node_modules/@aashutoshrathi/word-wrap": {
|
||||
|
|
|
|||
96
src/main.ts
96
src/main.ts
|
|
@ -38,13 +38,15 @@ class TestReporter {
|
|||
readonly path = core.getInput('path', {required: true})
|
||||
readonly pathReplaceBackslashes = core.getInput('path-replace-backslashes', {required: false}) === 'true'
|
||||
readonly reporter = core.getInput('reporter', {required: true})
|
||||
readonly listSuites = core.getInput('list-suites', {required: true}) as 'all' | 'failed'
|
||||
readonly listSuites = core.getInput('list-suites', {required: true}) as 'all' | 'failed' | 'none'
|
||||
readonly listTests = core.getInput('list-tests', {required: true}) as 'all' | 'failed' | 'none'
|
||||
readonly maxAnnotations = parseInt(core.getInput('max-annotations', {required: true}))
|
||||
readonly failOnError = core.getInput('fail-on-error', {required: true}) === 'true'
|
||||
readonly failOnEmpty = core.getInput('fail-on-empty', {required: true}) === 'true'
|
||||
readonly workDirInput = core.getInput('working-directory', {required: false})
|
||||
readonly onlySummary = core.getInput('only-summary', {required: false}) === 'true'
|
||||
readonly useActionsSummary = core.getInput('use-actions-summary', {required: false}) === 'true'
|
||||
readonly badgeTitle = core.getInput('badge-title', {required: false})
|
||||
readonly token = core.getInput('token', {required: true})
|
||||
readonly octokit: InstanceType<typeof GitHub>
|
||||
readonly context = getCheckRunContext()
|
||||
|
|
@ -52,7 +54,7 @@ class TestReporter {
|
|||
constructor() {
|
||||
this.octokit = github.getOctokit(this.token)
|
||||
|
||||
if (this.listSuites !== 'all' && this.listSuites !== 'failed') {
|
||||
if (this.listSuites !== 'all' && this.listSuites !== 'failed' && this.listSuites !== 'none') {
|
||||
core.setFailed(`Input parameter 'list-suites' has invalid value`)
|
||||
return
|
||||
}
|
||||
|
|
@ -162,51 +164,61 @@ class TestReporter {
|
|||
}
|
||||
}
|
||||
|
||||
core.info(`Creating check run ${name}`)
|
||||
const createResp = await this.octokit.rest.checks.create({
|
||||
head_sha: this.context.sha,
|
||||
name,
|
||||
status: 'in_progress',
|
||||
output: {
|
||||
title: name,
|
||||
summary: ''
|
||||
},
|
||||
...github.context.repo
|
||||
})
|
||||
const {listSuites, listTests, onlySummary, useActionsSummary, badgeTitle} = this
|
||||
|
||||
core.info('Creating report summary')
|
||||
const {listSuites, listTests, onlySummary} = this
|
||||
const baseUrl = createResp.data.html_url as string
|
||||
const summary = getReport(results, {listSuites, listTests, baseUrl, onlySummary})
|
||||
let baseUrl = ''
|
||||
if (this.useActionsSummary) {
|
||||
const summary = getReport(results, {listSuites, listTests, baseUrl, onlySummary, useActionsSummary, badgeTitle})
|
||||
|
||||
core.info('Creating annotations')
|
||||
const annotations = getAnnotations(results, this.maxAnnotations)
|
||||
core.info('Summary content:')
|
||||
core.info(summary)
|
||||
await core.summary.addRaw(summary).write()
|
||||
} else {
|
||||
core.info(`Creating check run ${name}`)
|
||||
const createResp = await this.octokit.rest.checks.create({
|
||||
head_sha: this.context.sha,
|
||||
name,
|
||||
status: 'in_progress',
|
||||
output: {
|
||||
title: name,
|
||||
summary: ''
|
||||
},
|
||||
...github.context.repo
|
||||
})
|
||||
|
||||
const isFailed = this.failOnError && results.some(tr => tr.result === 'failed')
|
||||
const conclusion = isFailed ? 'failure' : 'success'
|
||||
core.info('Creating report summary')
|
||||
baseUrl = createResp.data.html_url as string
|
||||
const summary = getReport(results, {listSuites, listTests, baseUrl, onlySummary, useActionsSummary, badgeTitle})
|
||||
|
||||
const passed = results.reduce((sum, tr) => sum + tr.passed, 0)
|
||||
const failed = results.reduce((sum, tr) => sum + tr.failed, 0)
|
||||
const skipped = results.reduce((sum, tr) => sum + tr.skipped, 0)
|
||||
const shortSummary = `${passed} passed, ${failed} failed and ${skipped} skipped `
|
||||
core.info('Creating annotations')
|
||||
const annotations = getAnnotations(results, this.maxAnnotations)
|
||||
|
||||
core.info(`Updating check run conclusion (${conclusion}) and output`)
|
||||
const resp = await this.octokit.rest.checks.update({
|
||||
check_run_id: createResp.data.id,
|
||||
conclusion,
|
||||
status: 'completed',
|
||||
output: {
|
||||
title: shortSummary,
|
||||
summary,
|
||||
annotations
|
||||
},
|
||||
...github.context.repo
|
||||
})
|
||||
core.info(`Check run create response: ${resp.status}`)
|
||||
core.info(`Check run URL: ${resp.data.url}`)
|
||||
core.info(`Check run HTML: ${resp.data.html_url}`)
|
||||
core.setOutput('url', resp.data.url)
|
||||
core.setOutput('url_html', resp.data.html_url)
|
||||
const isFailed = this.failOnError && results.some(tr => tr.result === 'failed')
|
||||
const conclusion = isFailed ? 'failure' : 'success'
|
||||
|
||||
const passed = results.reduce((sum, tr) => sum + tr.passed, 0)
|
||||
const failed = results.reduce((sum, tr) => sum + tr.failed, 0)
|
||||
const skipped = results.reduce((sum, tr) => sum + tr.skipped, 0)
|
||||
const shortSummary = `${passed} passed, ${failed} failed and ${skipped} skipped `
|
||||
|
||||
core.info(`Updating check run conclusion (${conclusion}) and output`)
|
||||
const resp = await this.octokit.rest.checks.update({
|
||||
check_run_id: createResp.data.id,
|
||||
conclusion,
|
||||
status: 'completed',
|
||||
output: {
|
||||
title: shortSummary,
|
||||
summary,
|
||||
annotations
|
||||
},
|
||||
...github.context.repo
|
||||
})
|
||||
core.info(`Check run create response: ${resp.status}`)
|
||||
core.info(`Check run URL: ${resp.data.url}`)
|
||||
core.info(`Check run HTML: ${resp.data.html_url}`)
|
||||
core.setOutput('url', resp.data.url)
|
||||
core.setOutput('url_html', resp.data.html_url)
|
||||
}
|
||||
|
||||
return results
|
||||
}
|
||||
|
|
|
|||
|
|
@ -6,19 +6,24 @@ import {getFirstNonEmptyLine} from '../utils/parse-utils'
|
|||
import {slug} from '../utils/slugger'
|
||||
|
||||
const MAX_REPORT_LENGTH = 65535
|
||||
const MAX_ACTIONS_SUMMARY_LENGTH = 131072 // 1048576 soon
|
||||
|
||||
export interface ReportOptions {
|
||||
listSuites: 'all' | 'failed'
|
||||
listSuites: 'all' | 'failed' | 'none'
|
||||
listTests: 'all' | 'failed' | 'none'
|
||||
baseUrl: string
|
||||
onlySummary: boolean
|
||||
useActionsSummary: boolean
|
||||
badgeTitle: string
|
||||
}
|
||||
|
||||
const defaultOptions: ReportOptions = {
|
||||
listSuites: 'all',
|
||||
listTests: 'all',
|
||||
baseUrl: '',
|
||||
onlySummary: false
|
||||
onlySummary: false,
|
||||
useActionsSummary: true,
|
||||
badgeTitle: 'tests'
|
||||
}
|
||||
|
||||
export function getReport(results: TestRunResult[], options: ReportOptions = defaultOptions): string {
|
||||
|
|
@ -30,7 +35,7 @@ export function getReport(results: TestRunResult[], options: ReportOptions = def
|
|||
let lines = renderReport(results, opts)
|
||||
let report = lines.join('\n')
|
||||
|
||||
if (getByteLength(report) <= MAX_REPORT_LENGTH) {
|
||||
if (getByteLength(report) <= getMaxReportLength(options)) {
|
||||
return report
|
||||
}
|
||||
|
||||
|
|
@ -39,20 +44,24 @@ export function getReport(results: TestRunResult[], options: ReportOptions = def
|
|||
opts.listTests = 'failed'
|
||||
lines = renderReport(results, opts)
|
||||
report = lines.join('\n')
|
||||
if (getByteLength(report) <= MAX_REPORT_LENGTH) {
|
||||
if (getByteLength(report) <= getMaxReportLength(options)) {
|
||||
return report
|
||||
}
|
||||
}
|
||||
|
||||
core.warning(`Test report summary exceeded limit of ${MAX_REPORT_LENGTH} bytes and will be trimmed`)
|
||||
return trimReport(lines)
|
||||
core.warning(`Test report summary exceeded limit of ${getMaxReportLength(options)} bytes and will be trimmed`)
|
||||
return trimReport(lines, options)
|
||||
}
|
||||
|
||||
function trimReport(lines: string[]): string {
|
||||
function getMaxReportLength(options: ReportOptions = defaultOptions): number {
|
||||
return options.useActionsSummary ? MAX_ACTIONS_SUMMARY_LENGTH : MAX_REPORT_LENGTH
|
||||
}
|
||||
|
||||
function trimReport(lines: string[], options: ReportOptions): string {
|
||||
const closingBlock = '```'
|
||||
const errorMsg = `**Report exceeded GitHub limit of ${MAX_REPORT_LENGTH} bytes and has been trimmed**`
|
||||
const errorMsg = `**Report exceeded GitHub limit of ${getMaxReportLength(options)} bytes and has been trimmed**`
|
||||
const maxErrorMsgLength = closingBlock.length + errorMsg.length + 2
|
||||
const maxReportLength = MAX_REPORT_LENGTH - maxErrorMsgLength
|
||||
const maxReportLength = getMaxReportLength(options) - maxErrorMsgLength
|
||||
|
||||
let reportLength = 0
|
||||
let codeBlock = false
|
||||
|
|
@ -92,7 +101,7 @@ function getByteLength(text: string): number {
|
|||
|
||||
function renderReport(results: TestRunResult[], options: ReportOptions): string[] {
|
||||
const sections: string[] = []
|
||||
const badge = getReportBadge(results)
|
||||
const badge = getReportBadge(results, options)
|
||||
sections.push(badge)
|
||||
|
||||
const runs = getTestRunsReport(results, options)
|
||||
|
|
@ -101,14 +110,14 @@ function renderReport(results: TestRunResult[], options: ReportOptions): string[
|
|||
return sections
|
||||
}
|
||||
|
||||
function getReportBadge(results: TestRunResult[]): string {
|
||||
function getReportBadge(results: TestRunResult[], options: ReportOptions): string {
|
||||
const passed = results.reduce((sum, tr) => sum + tr.passed, 0)
|
||||
const skipped = results.reduce((sum, tr) => sum + tr.skipped, 0)
|
||||
const failed = results.reduce((sum, tr) => sum + tr.failed, 0)
|
||||
return getBadge(passed, failed, skipped)
|
||||
return getBadge(passed, failed, skipped, options)
|
||||
}
|
||||
|
||||
function getBadge(passed: number, failed: number, skipped: number): string {
|
||||
function getBadge(passed: number, failed: number, skipped: number, options: ReportOptions): string {
|
||||
const text = []
|
||||
if (passed > 0) {
|
||||
text.push(`${passed} passed`)
|
||||
|
|
@ -128,24 +137,29 @@ function getBadge(passed: number, failed: number, skipped: number): string {
|
|||
color = 'yellow'
|
||||
}
|
||||
const hint = failed > 0 ? 'Tests failed' : 'Tests passed successfully'
|
||||
const uri = encodeURIComponent(`tests-${message}-${color}`)
|
||||
const uri = encodeURIComponent(`${options.badgeTitle}-${message}-${color}`)
|
||||
return ``
|
||||
}
|
||||
|
||||
function getTestRunsReport(testRuns: TestRunResult[], options: ReportOptions): string[] {
|
||||
const sections: string[] = []
|
||||
const totalFailed = testRuns.reduce((sum, tr) => sum + tr.failed, 0)
|
||||
if (totalFailed === 0) {
|
||||
sections.push(`<details><summary>Expand for details</summary>`)
|
||||
sections.push(` `)
|
||||
}
|
||||
|
||||
if (testRuns.length > 1 || options.onlySummary) {
|
||||
const tableData = testRuns.map((tr, runIndex) => {
|
||||
const time = formatTime(tr.time)
|
||||
const name = tr.path
|
||||
const addr = options.baseUrl + makeRunSlug(runIndex).link
|
||||
const nameLink = link(name, addr)
|
||||
const passed = tr.passed > 0 ? `${tr.passed}${Icon.success}` : ''
|
||||
const failed = tr.failed > 0 ? `${tr.failed}${Icon.fail}` : ''
|
||||
const skipped = tr.skipped > 0 ? `${tr.skipped}${Icon.skip}` : ''
|
||||
return [nameLink, passed, failed, skipped, time]
|
||||
})
|
||||
if (testRuns.length > 0 || options.onlySummary) {
|
||||
const tableData = testRuns
|
||||
.filter(tr => tr.passed > 0 || tr.failed > 0 || tr.skipped > 0)
|
||||
.map(tr => {
|
||||
const time = formatTime(tr.time)
|
||||
const name = tr.path
|
||||
const passed = tr.passed > 0 ? `${tr.passed} ${Icon.success}` : ''
|
||||
const failed = tr.failed > 0 ? `${tr.failed} ${Icon.fail}` : ''
|
||||
const skipped = tr.skipped > 0 ? `${tr.skipped} ${Icon.skip}` : ''
|
||||
return [name, passed, failed, skipped, time]
|
||||
})
|
||||
|
||||
const resultsTable = table(
|
||||
['Report', 'Passed', 'Failed', 'Skipped', 'Time'],
|
||||
|
|
@ -159,42 +173,48 @@ function getTestRunsReport(testRuns: TestRunResult[], options: ReportOptions): s
|
|||
const suitesReports = testRuns.map((tr, i) => getSuitesReport(tr, i, options)).flat()
|
||||
sections.push(...suitesReports)
|
||||
}
|
||||
|
||||
if (totalFailed === 0) {
|
||||
sections.push(`</details>`)
|
||||
}
|
||||
return sections
|
||||
}
|
||||
|
||||
function getSuitesReport(tr: TestRunResult, runIndex: number, options: ReportOptions): string[] {
|
||||
const sections: string[] = []
|
||||
|
||||
const trSlug = makeRunSlug(runIndex)
|
||||
const nameLink = `<a id="${trSlug.id}" href="${options.baseUrl + trSlug.link}">${tr.path}</a>`
|
||||
const icon = getResultIcon(tr.result)
|
||||
sections.push(`## ${icon}\xa0${nameLink}`)
|
||||
|
||||
const time = formatTime(tr.time)
|
||||
const headingLine2 =
|
||||
tr.tests > 0
|
||||
? `**${tr.tests}** tests were completed in **${time}** with **${tr.passed}** passed, **${tr.failed}** failed and **${tr.skipped}** skipped.`
|
||||
: 'No tests found'
|
||||
sections.push(headingLine2)
|
||||
|
||||
const suites = options.listSuites === 'failed' ? tr.failedSuites : tr.suites
|
||||
if (suites.length > 0) {
|
||||
const suitesTable = table(
|
||||
['Test suite', 'Passed', 'Failed', 'Skipped', 'Time'],
|
||||
[Align.Left, Align.Right, Align.Right, Align.Right, Align.Right],
|
||||
...suites.map((s, suiteIndex) => {
|
||||
const tsTime = formatTime(s.time)
|
||||
const tsName = s.name
|
||||
const skipLink = options.listTests === 'none' || (options.listTests === 'failed' && s.result !== 'failed')
|
||||
const tsAddr = options.baseUrl + makeSuiteSlug(runIndex, suiteIndex).link
|
||||
const tsNameLink = skipLink ? tsName : link(tsName, tsAddr)
|
||||
const passed = s.passed > 0 ? `${s.passed}${Icon.success}` : ''
|
||||
const failed = s.failed > 0 ? `${s.failed}${Icon.fail}` : ''
|
||||
const skipped = s.skipped > 0 ? `${s.skipped}${Icon.skip}` : ''
|
||||
return [tsNameLink, passed, failed, skipped, tsTime]
|
||||
})
|
||||
)
|
||||
sections.push(suitesTable)
|
||||
|
||||
if (options.listSuites !== 'none') {
|
||||
const trSlug = makeRunSlug(runIndex)
|
||||
const nameLink = `<a id="${trSlug.id}" href="${options.baseUrl + trSlug.link}">${tr.path}</a>`
|
||||
const icon = getResultIcon(tr.result)
|
||||
sections.push(`## ${icon}\xa0${nameLink}`)
|
||||
|
||||
const time = formatTime(tr.time)
|
||||
const headingLine2 =
|
||||
tr.tests > 0
|
||||
? `**${tr.tests}** tests were completed in **${time}** with **${tr.passed}** passed, **${tr.failed}** failed and **${tr.skipped}** skipped.`
|
||||
: 'No tests found'
|
||||
sections.push(headingLine2)
|
||||
|
||||
if (suites.length > 0) {
|
||||
const suitesTable = table(
|
||||
['Test suite', 'Passed', 'Failed', 'Skipped', 'Time'],
|
||||
[Align.Left, Align.Right, Align.Right, Align.Right, Align.Right],
|
||||
...suites.map((s, suiteIndex) => {
|
||||
const tsTime = formatTime(s.time)
|
||||
const tsName = s.name
|
||||
const skipLink = options.listTests === 'none' || (options.listTests === 'failed' && s.result !== 'failed')
|
||||
const tsAddr = options.baseUrl + makeSuiteSlug(runIndex, suiteIndex).link
|
||||
const tsNameLink = skipLink ? tsName : link(tsName, tsAddr)
|
||||
const passed = s.passed > 0 ? `${s.passed} ${Icon.success}` : ''
|
||||
const failed = s.failed > 0 ? `${s.failed} ${Icon.fail}` : ''
|
||||
const skipped = s.skipped > 0 ? `${s.skipped} ${Icon.skip}` : ''
|
||||
return [tsNameLink, passed, failed, skipped, tsTime]
|
||||
})
|
||||
)
|
||||
sections.push(suitesTable)
|
||||
}
|
||||
}
|
||||
|
||||
if (options.listTests !== 'none') {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue