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

10 Commits

Author SHA1 Message Date
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
Aidan Woods
a636bf7bfa
Update phpunit version 2019-04-07 16:37:49 +01:00
Aidan Woods
88ab68fd0b
Refactor into namespaces for PSR-4 2019-04-07 16:37:47 +01:00
Daniel Rudolf
73dbe2fd17
Remove PHPUnit bootstrap in favour of composer 2016-09-05 22:04:46 +02:00
Emanuil Rusev
c62365adc4 improve extensibility of test case 2014-09-26 02:06:16 +03:00
Emanuil Rusev
37416b5f07 simplify folder name 2014-04-28 21:53:34 +03:00
Emanuil Rusev
22affa124b travis should be able to run tests in 5.2 2014-04-26 01:06:15 +03:00
Emanuil Rusev
cd1c030362 tests should use autoloader 2014-04-24 22:44:30 +03:00
Emanuil
2f051b821c improve indentation in phpunit.xml.dist 2013-07-22 00:01:48 +03:00
Emanuil
85dd9fd965 migrate tests to phpunit 2013-07-21 23:14:30 +03:00