1
0
mirror of https://github.com/erusev/parsedown.git synced 2023-08-10 21:13:06 +03:00
Commit Graph

5 Commits

Author SHA1 Message Date
Aidan Woods
dbe37bcb0e
Type check tests 2019-04-07 16:38:16 +01:00
Aidan Woods
f2f7433dcf
Switch to CommonMarkStrict tests 2019-04-07 16:38:11 +01:00
Aidan Woods
4fa89c1a80
Fix regex compilation 2019-04-07 16:38:09 +01:00
Daniel Rudolf
4c0734d935
Sync phpunit data set and CommonMark spec example numbers 2019-04-07 16:38:07 +01:00
Daniel Rudolf
734b4fc3d7
Test Parsedown against cached expect-to-pass CommonMark spec examples
This test suite runs tests the same way as `test/CommonMarkTestWeak.php`, but uses a cached set of CommonMark spec examples in `test/commonmark/`. It is executed along with Parsedown's default test suite and runs various CommonMark spec examples, which are expected to pass. If they don't pass, the Parsedown build fails. The intention of this test suite is to make sure, that previously passed CommonMark spec examples don't fail due to unwanted side-effects of code changes.

You can re-create the `test/commonmark/` directory by executing the PHPUnit group `update`. The test suite will then run `test/CommonMarkTestWeak.php` and create files with the Markdown source and the resulting HTML markup of all passed tests. The command to execute looks like the following:

    $ phpunit --group update
2019-04-07 16:38:07 +01:00