58 Commits

Author SHA1 Message Date
Tony Brix
e5571beb52 linting 2018-01-06 01:19:43 -06:00
Tony Brix
9e0ec53ebb fix bench 2018-01-06 01:16:46 -06:00
Tony Brix
52bfc9c4db use front-matter for test options 2018-01-06 01:16:06 -06:00
Tony Brix
951f2c3916 change folder name to compiled_tests 2018-01-02 13:57:24 -06:00
Tony Brix
31005193a7 always "fix" tests before testing 2018-01-02 13:53:05 -06:00
Tony Brix
5d2e796ca2 remove invalid failing test check 2018-01-02 12:07:55 -06:00
Tony Brix
f31d3fa43f change .text to .md 2018-01-02 11:59:52 -06:00
Tony Brix
cf8ed1d1e0 allow test flags to be more than true or false 2017-12-22 11:05:30 -06:00
Christopher Jeffrey
1c188ebb55 [test] return proper exit code on tests passing. 2014-05-01 17:50:48 -05:00
Christopher Jeffrey
b9b941ebea Revert "see #302. remove all obsolete features. keep things easy to revert."
This reverts commit f9c90b0cdb15d6a3ef087b79364b979fb8ef81bb.

Revert "Fix test cases. Since we have removed the headerPrefix option. There"

This reverts commit 509b284c7cc09232562c89a91453797ab88fd73f.
2013-12-23 08:00:35 -06:00
Christopher Jeffrey
2d5090b1de Merge remote-tracking branch 'lepture/feature-renderer'
Conflicts:
	README.md
	lib/marked.js
2013-12-04 04:57:30 -06:00
Christopher Jeffrey
1f2e95e4ab Merge remote-tracking branch 'Mithgol/travis-ci' 2013-12-04 00:24:17 -06:00
Hsiaoming Yang
509b284c7c Fix test cases. Since we have removed the headerPrefix option. There
will be no id on headings.
2013-12-04 14:13:19 +08:00
Christopher Jeffrey
37698ee7e0 list-like lines = lists in gfm. fixes #120. 2013-08-07 08:52:01 -05:00
Christopher Jeffrey
81e2062cee add a preprocessor for tests. 2013-08-07 06:47:37 -05:00
Mithgol
eceb35d1e6 skip tests that are known to fail, as enumerated in chjj/marked#136 2013-08-04 21:50:35 -07:00
Christopher Jeffrey
9eafd2ede9 add .npmignore. minor. 2013-08-04 07:15:37 -05:00
Christopher Jeffrey
5dd2456866 refactor exit code 1 on test failure. 2013-08-04 07:13:03 -05:00
Christopher Jeffrey
48f239bbaf Merge pull request #219 from Mithgol/exit-code
`node test` should have non-zero exit code if some tests failed
2013-08-04 05:13:29 -07:00
Christopher Jeffrey
75dff71cb1 remove all non-word characters from heading id's. see #181. 2013-08-04 07:04:51 -05:00
Christopher Jeffrey
6dca44b2d9 copy new tests to test/new. have --fix add heading id's to original tests. 2013-08-04 06:59:41 -05:00
Mithgol
1866bafd97 ; 2013-08-04 02:01:32 -07:00
Mithgol
9803facf8f node test should have non-zero exit code if some tests failed 2013-08-03 21:53:28 -07:00
Mithgol
cc87c6fac5 runTests() should return true if tests passed, false if some failed 2013-08-03 21:46:48 -07:00
Christopher Jeffrey
bee9e8e5c3 attempt all benchmarks. 2013-05-28 20:37:59 -05:00
Christopher Jeffrey
58a692dbd4 Merge pull request #130 from lepture/bench-fix
fix benchmark
2013-03-30 09:24:15 -07:00
Christopher Jeffrey
c7664d947a add smartypants test. 2013-03-17 02:07:30 -05:00
Hsiaoming Yang
6a30b517b1 1. fix benchmark for showdown
2. remove discount benchmark // not working on v0.8.x
3. add robotskirt benchmark
4. add target of bench in Makefile
5. add devDependencies in package.json
2013-03-01 17:25:28 +08:00
Christopher Jeffrey
873170ba5c remove test/fix and test/fix.js. 2013-02-12 01:19:48 -06:00
Christopher Jeffrey
6246784914 allow options for tests and benchmarks. 2013-02-07 04:27:39 -06:00
Christopher Jeffrey
78dc1f1190 Require marked relatively for tests. 2013-01-20 17:44:25 -06:00
Christopher Jeffrey
995cb0ca00 fix options merge. 2013-01-09 13:43:36 -06:00
Christopher Jeffrey
57123433f5 more test refactoring. 2013-01-06 22:03:59 -06:00
Christopher Jeffrey
313349217b refactor tests. 2013-01-06 21:43:11 -06:00
Christopher Jeffrey
fdc1d61f53 clean up tests. 2013-01-03 08:30:51 -06:00
Christopher Jeffrey
75053dd0c0 refactor test. dont use html prettifier. 2012-03-11 00:45:28 -06:00
Christopher Jeffrey
1bf3dc4bf7 quick and dirty test interface for clientside 2012-03-11 00:43:00 -06:00
Christopher Jeffrey
791cf53772 rename setDefaults to setOptions, refactor. update benchmarks. 2012-02-20 08:50:43 -06:00
Christopher Jeffrey
3e42b67057 always sanitize html blocks, even if pedantic. benchmarks. 2012-02-19 21:51:52 -06:00
Christopher Jeffrey
b2189ab99c optimize options more 2012-02-19 21:29:23 -06:00
Christopher Jeffrey
2eb297cda3 undo main.text change for benchmark comparisons, refactor test/index.js 2012-01-28 16:55:21 -06:00
Christopher Jeffrey
91bb13c714 add markdown test suite's backslash escape test 2012-01-14 04:57:24 -06:00
Christopher Jeffrey
a731a41f44 fix benchmark 2012-01-09 08:57:58 -06:00
Christopher Jeffrey
c216a1ee7e add paragraph test, refactor, change comments 2012-01-06 01:07:45 -06:00
Christopher Jeffrey
5d4fed5c7a ridiculous optimization 2012-01-03 03:36:03 -06:00
Christopher Jeffrey
c94db866bf gfm autolinks and em underscores. more compliant strong and em. 2012-01-02 23:59:13 -06:00
Christopher Jeffrey
6b7397d1e5 add tests for gfm, move some things around 2011-12-17 17:35:23 -06:00
Christopher Jeffrey
83d114730a Cleaning up
Make benchmarks work with npm markdown-js
Clean todo list
Clean up readme
Add new benchmarks
Dont count lines in the readme
Add CLI example in readme
2011-12-10 15:28:16 -06:00
Christopher Jeffrey
628994fec1 more benchmarks 2011-10-22 08:36:34 -05:00
Christopher Jeffrey
ec66281957 benchmarks, readme 2011-08-26 05:20:42 -05:00