Closed Aboisier closed 3 years ago
Merging #60 (b4fd5d9) into main (4f398dd) will increase coverage by
14.24%
. The diff coverage isn/a
.
@@ Coverage Diff @@
## main #60 +/- ##
===========================================
+ Coverage 72.34% 86.59% +14.24%
===========================================
Files 28 24 -4
Lines 452 358 -94
Branches 40 35 -5
===========================================
- Hits 327 310 -17
+ Misses 121 42 -79
- Partials 4 6 +2
Impacted Files | Coverage Δ | |
---|---|---|
...s/travis/build/Testy/TestyTs/src/lib/tests/test.ts | 93.75% <0.00%> (-6.25%) |
:arrow_down: |
...Testy/TestyTs/src/lib/decorators/test.decorator.ts | 83.78% <0.00%> (-1.94%) |
:arrow_down: |
...travis/build/Testy/TestyTs/src/lib/cli/testyCli.ts | 70.83% <0.00%> (-0.60%) |
:arrow_down: |
...estyTs/src/lib/tests/visitors/testRunnerVisitor.ts | 95.83% <0.00%> (ø) |
|
...tyTs/src/lib/tests/visitors/testVisitor.factory.ts | ||
...visitors/decorators/loggerTestReporterDecorator.ts | ||
...s/build/Testy/TestyTs/src/lib/utils/testsLoader.ts | ||
...build/Testy/TestyTs/src/lib/tests/rootTestSuite.ts | ||
...vis/build/Testy/TestyTs/src/lib/cli/run.command.ts | 88.88% <0.00%> (+56.63%) |
:arrow_up: |
Continue to review full report at Codecov.
Legend - Click here to learn more
Δ = absolute <relative> (impact)
,ø = not affected
,? = missing data
Powered by Codecov. Last update 4f398dd...54177b7. Read the comment docs.
Purpose
Approach
Prior to this improvement, the
TestRunnerVisitor
was not aware of the configurations. The timeout was also baked-in the test by the decorator, which is unaware of the configurations, so I had to provide the configuration to the configurations to theTestRunnerVisitor
and move the timeout inside the runner, which makes sense.