Page MenuHomeDevCentral

Test HTML and Markdown outputs
ClosedPublic

Authored by dereckson on Feb 7 2022, 06:03.
Tags
None
Referenced Files
F29617747: D2503.diff
Mon, May 18, 16:42
F29529043: D2503.diff
Mon, May 18, 04:10
Unknown Object (File)
Wed, May 13, 08:36
Unknown Object (File)
Wed, May 13, 08:36
Unknown Object (File)
Wed, May 13, 08:35
Unknown Object (File)
Tue, May 12, 23:01
Unknown Object (File)
Tue, May 12, 05:47
Unknown Object (File)
Tue, May 12, 01:18
Subscribers
None

Details

Summary

This change provides the classes architecture,
and the output tests.

Follow-up changes will provide concrete implementation.

Ref T1678.

Test Plan

Integration tests provided

Diff Detail

Repository
rKREPORT Keruald Report
Lint
Lint Warnings
SeverityLocationCodeMessage
Warningtests/WithSampleReport.php:21PHPCS.W.Generic.Files.LineLength.TooLongGeneric.Files.LineLength.TooLong
Warningtests/WithSampleReport.php:22PHPCS.W.Generic.Files.LineLength.TooLongGeneric.Files.LineLength.TooLong
Warningtests/WithSampleReport.php:26PHPCS.W.Generic.Files.LineLength.TooLongGeneric.Files.LineLength.TooLong
Warningtests/WithSampleReport.php:35PHPCS.W.Generic.Files.LineLength.TooLongGeneric.Files.LineLength.TooLong
Warningtests/WithSampleReport.php:36PHPCS.W.Generic.Files.LineLength.TooLongGeneric.Files.LineLength.TooLong
Unit
Test Failures
Branch
arcpatch-D2503_1
Build Status
Buildable 3906
Build 4157: arc lint + arc unit

Unit TestsFailed

TimeTest
1 msKeruald\Reporting\Tests\Output\HTMLOutputTest
Keruald\Reporting\Tests\Output\HTMLOutputTest::testRender Failed asserting that two strings are equal.
1 msKeruald\Reporting\Tests\Output\MarkdownOutputTest
Keruald\Reporting\Tests\Output\MarkdownOutputTest::testRender Failed asserting that two strings are equal.

Event Timeline

dereckson created this revision.

Seems to work fine, see D2505 for some fixes.

@DorianWinty was able to use this to create a report output.

Test failure is expected, implementation is D2505.

This revision is now accepted and ready to land.Feb 9 2022, 17:37
This revision was landed with ongoing or failed builds.Feb 9 2022, 17:41
This revision was automatically updated to reflect the committed changes.