Tony Brix
5768180999
travis build stages ( #1113 )
...
* add travis build stages
* add emoji
2018-03-04 08:40:04 -05:00
Steven
ec78260e11
Fix urls to markedjs
2018-03-03 14:20:24 -05:00
Jamie Davis
2846212bb0
test: add time check
...
Fail tests that take more than 1 second
2018-02-26 21:04:22 -05:00
Tony Brix
06b1df9b54
clean up
2018-02-26 17:58:43 -06:00
Josh Bruce
b2922c95b3
Switched out tabs for spaces
2018-02-26 17:53:28 -05:00
Jamie Davis
97b7305164
pretty test output
...
Problem:
On hangs, test output is hard to read.
Solution:
Print test name before starting.
Bonus:
Also print an approximation of how long each test takes to run.
For #1084 .
2018-02-26 16:58:46 -05:00
Federico Soave
9fd5192b03
fix test in browser. Remember to fix() beforehand.
2018-02-13 20:01:53 +01:00
Federico Soave
3b4e724cda
Merge remote-tracking branch 'marked/master' into lint
2018-02-09 05:28:28 +01:00
Federico Soave
dd09a6862c
test the minified version with node test --minified
2018-02-09 01:18:57 +01:00
Federico Soave
d4db0b2e65
[lint] remove unused variable
2018-02-07 22:04:05 +01:00
Tony Brix
05e770d435
reformat text runner
2018-02-02 07:01:09 +01:00
kythyria
1c780b9985
Fix the regexes for thematic breaks
...
Commonmark and GFM both agree that -_- is literal characters, not <hr>,
as all three characters must be the same.
Also change the test harness to only look for .text and .html files
since it was choking on vim's swapfiles.
And add some tests to catch what this fixes.
2018-01-25 17:08:13 +01:00
Federico Soave
49982e82cc
disable gfm for old markdown.pl test case
2018-01-23 16:29:32 +01:00
Tony Brix
7b6e2ef53d
remove -g flag
2018-01-07 12:20:06 -06:00
Tony Brix
51c97590ac
use --glob
2018-01-07 11:54:28 -06:00
Tony Brix
f04e1669bd
fix test names
2018-01-07 11:31:16 -06:00
Tony Brix
7747978035
enable only certain tests
2018-01-07 11:25:24 -06:00
Tony Brix
bf4022e00d
sort tests
2018-01-06 21:09:49 -06:00
Tony Brix
33b8848964
add error message on bench
2018-01-06 14:59:21 -06:00
Tony Brix
29426551a7
clean up
2018-01-06 12:05:16 -06:00
Tony Brix
b61af2a2c3
clean up
2018-01-06 10:46:21 -06:00
Tony Brix
26de4f1298
fix octal literal
2018-01-06 01:44:32 -06:00
Tony Brix
03f510d5b7
add markdown-it to bench
2018-01-06 01:44:10 -06:00
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