Age | Commit message (Collapse) | Author | |
---|---|---|---|
2015-06-03 | Updated spec.txt. | John MacFarlane | |
2015-04-29 | Updated spec.txt. | John MacFarlane | |
2015-04-28 | Updated spec. | John MacFarlane | |
2015-04-27 | Updated spec.txt. | John MacFarlane | |
2015-04-26 | Use os.path.join in test/cmark.py. | John MacFarlane | |
For proper cross-platform paths. | |||
2015-04-18 | Added to afl_dictionary. | John MacFarlane | |
2015-04-18 | Added test/afl_dictionary. | John MacFarlane | |
2015-04-07 | Hacks to spec_tests.py to test CRLF support. | Ben Trask | |
2015-03-29 | Fixed roundtrip.sh. | John MacFarlane | |
2015-03-29 | Updated cmark path in roundtrip.sh. | John MacFarlane | |
2015-03-26 | Added shell script for round-trip spec test. | John MacFarlane | |
2015-03-21 | test/cmark.py: set default options for markdown_to_html. | John MacFarlane | |
2015-03-03 | Updated spec in test. | John MacFarlane | |
2015-02-23 | Add Makefile target to fuzz with AFL | Nick Wellnhofer | |
Also add a compact test case. As far as I understand, a good test case should exercise many code paths while being as small as possible. There's probably still room for improvement. The variable $AFL_PATH must point to the directory containing the AFL binaries. It can be set as an environment variable or passed to make on the command line. | |||
2015-02-16 | Added more --smart test cases. | John MacFarlane | |
2015-02-16 | Properly handle " with no matching close quote with --smart. | John MacFarlane | |
This occurs in fiction: when a speaker has dialogue with multiple paragraphs, a close quote is used only on the final one. Added test cases. | |||
2015-02-15 | Moved handling of --smart from renderer to parser. | John MacFarlane | |
This allows backslash escapes to disable smart quote transformations in particular cases. Closes #8. | |||
2015-02-14 | Added smart.c, smart.h with function abstracting smart punct rendering. | John MacFarlane | |
Also fixed some bugs in earlier smart handling. Now handles UTF-8. | |||
2015-02-14 | Added test for --smart option. | John MacFarlane | |
Currently one test fails. | |||
2015-02-13 | Updated test/spec.txt. | John MacFarlane | |
2015-01-31 | Updated spec.txt from CommonMark repo. | John MacFarlane | |
2015-01-24 | Moved spec.txt to test/ directory. | John MacFarlane | |
2015-01-11 | Run the spec tests only if python3 is found. | John MacFarlane | |
Otherwise skip them, running a dummy test skipping_spec_tests to signal that they are being skipped. To require the spec tests, do `cmake .. -DSPEC_TESTS=1`. Closes #278. Although I still have some qualms about tests that can appear to pass while being incomplete, I see the advantages of allowing the package to build without python3. | |||
2014-12-31 | Fix spec tests on Windows | Nick Wellnhofer | |
2014-12-31 | Fix API test on Windows | Nick Wellnhofer | |
set_tests_properties must not be called before adding the test. | |||
2014-12-29 | Updated tests to use python3. | John MacFarlane | |
2014-12-27 | pathological_tests.py: limit to 65000 reps. | John MacFarlane | |
This is because some versions of python have a limit of N = 65535 in regex `{N}`. | |||
2014-12-27 | Added pathological tests for nulls in input and nested blockquotes. | John MacFarlane | |
2014-12-26 | Use python, not python2, as name of python interpreter. | John MacFarlane | |
Partially reverts ba8f2c48b700a466a8cf7097d5f72d43372d4c37. See #251. | |||
2014-12-24 | Use python2 for man, test scripts. | John MacFarlane | |
Closes #251. | |||
2014-12-23 | Made spec_tests.py more DRY. | John MacFarlane | |
Factored test selection logic out of do_tests. Eliminated do_tests, putting the (now very short) code into main. Improves 1ba4822 @cirosantilli | |||
2014-12-22 | Added HTML normalization tests to test/CMakeLists.txt. | John MacFarlane | |
Removed from .travis.yml. This should be a standard part of the test suite. See #245. | |||
2014-12-22 | Fixed normalization bug, added more doctests for normalization. | John MacFarlane | |
* The tests test for removal of whitespace around block-level tags. * Previously whitespace wasn't removed before an initial block-level tag; this commit fixes that. * Also revised wording so it's clear that whitespace is removed on both sides of block-level tags. Closes #246 in a slightly different way. | |||
2014-12-22 | spec_tests.py: make --dump-tests sensitive to --pattern, --number. | John MacFarlane | |
Closes #249 in a slightly different way. | |||
2014-12-22 | Merge pull request #248 from cirosantilli/short-options | John MacFarlane | |
spec_tests add short options for common parameters | |||
2014-12-22 | Merge pull request #247 from cirosantilli/run-single-test-by-number | John MacFarlane | |
Add --number option to run a single test by its id | |||
2014-12-22 | Slight improvement to #250. | John MacFarlane | |
Indicate which is expected and which is actual output. | |||
2014-12-21 | Don't raise exception on invalid UTF-8 output | Ciro Santilli | |
This could be reproduced with: ./test/spec_tests.py --program kramdown --pattern Enti with Kramdown version 1.5.0. The main problem is that it would stop future tests from being carried out. After this commit it is just counted as a failure. The error message printed is of the form: Unicode error: 'utf8' codec can't decode byte 0xfc in position 8: invalid start byte '<p># \xd3\x92 \xcf\xa0 \xef\xbf\xbd</p>\n' '<p># \xd3\x92 \xcf\xa0 \xfc\x85\xb8\xb0\xa9\xb8</p>\n' | |||
2014-12-21 | spec_tests add short options for common parameters | Ciro Santilli | |
2014-12-21 | Add --number option to run a single test by its id | Ciro Santilli | |
Do not check input validity, e.g. input `>` number of tests, because other inputs don't check it either, e.g. `--pattern`. If given, the summary line will be like: 1 passed, 0 failed, 0 errored, 509 skipped | |||
2014-12-19 | Added a few more doctests for HTML normalization (#245). | John MacFarlane | |
2014-12-19 | Fixed whitespace normalization (#245). | John MacFarlane | |
2014-12-19 | Expose failure to normalize whitespaces | Ciro Santilli | |
2014-12-01 | make the diff output work | Carsten Brandt | |
2014-12-01 | fixed python script | Carsten Brandt | |
all these variables are not defined and have to be extracted from `test`. Running the script this way resulted in error: ``` python cmm/test/spec_tests.py --spec cmm/spec.txt --program "./bin/markdown --flavor=common" Traceback (most recent call last): File "cmm/test/spec_tests.py", line 137, in <module> if do_tests(cmark, tests, args.pattern, args.normalize): File "cmm/test/spec_tests.py", line 114, in do_tests result = do_test(test, normalize) File "cmm/test/spec_tests.py", line 47, in do_test print_test_header(headertext, example_number,start_line,end_line) NameError: global name 'headertext' is not defined ``` | |||
2014-11-29 | More code cleanup in spec_tests.py. | John MacFarlane | |
2014-11-29 | Reorganized code in spec_tests.py. | John MacFarlane | |
2014-11-29 | test: Factored out normalization code into normalize.py. | John MacFarlane | |
2014-11-29 | spec_tests.py: if dump_args, don't try to load dynamic library. | John MacFarlane | |
2014-11-29 | Factored out cmark.py from test programs. | John MacFarlane | |