Page MenuHomeDevCentral

Test HTML and Markdown outputs
ClosedPublic

Authored by dereckson on Feb 7 2022, 06:03.
Tags
None
Referenced Files
F5421822: D2503.id6308.diff
Sun, Mar 9, 15:25
Unknown Object (File)
Fri, Mar 7, 11:44
Unknown Object (File)
Wed, Mar 5, 21:50
Unknown Object (File)
Wed, Mar 5, 00:22
Unknown Object (File)
Mon, Mar 3, 00:41
Unknown Object (File)
Fri, Feb 28, 20:54
Unknown Object (File)
Fri, Feb 28, 16:17
Unknown Object (File)
Thu, Feb 27, 09:23
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.