Commit graph

210 commits

Author SHA1 Message Date
ee666f3276
Test and fix inline code 2017-06-23 17:19:47 +01:00
Jake Howard
46b9dc31af Merge pull request #13 from RealOrangeOne/tests
Add tests
2017-06-10 12:22:52 +01:00
f0c377d6b8
Add dedicated tests for jinja templates 2017-06-10 11:17:33 +01:00
270b7195c7
Types for renderer 2017-06-10 10:35:57 +01:00
bbfc3cac4c
Add type annotations to most places 2017-06-09 23:07:30 +01:00
f0d7900fc2
Merge remote-tracking branch 'origin' into tests 2017-06-09 22:40:02 +01:00
ebdfa67f3c
remove unused import 2017-06-09 22:33:40 +01:00
Jake Howard
0424b607af Merge pull request #15 from RealOrangeOne/unified-template-render
Unified template render
2017-06-08 15:34:27 +01:00
ddb51ceee4 Test file reader 2017-06-08 12:26:15 +01:00
392703e3cb Test args 2017-06-08 10:53:30 +01:00
5e41cabdcf Autoescape 2017-06-08 10:25:23 +01:00
f45f551bdf Collect coverage 2017-06-08 10:09:52 +01:00
c5400915de Add type checking 2017-06-08 10:04:09 +01:00
126ea6447a Use the unified renderer 2017-06-08 09:48:35 +01:00
09b7cddcc2 Add unified helper for jinja rendering 2017-06-08 09:48:18 +01:00
56184e25c4 Dont hit network in tests 2017-06-03 22:50:16 +01:00
bc9005e8b7 remove trailing blank lines 2017-06-01 22:14:28 +01:00
c563129d5d Actually test the file is output 2017-06-01 22:06:08 +01:00
8b914d8ae2 Test PDF renderer 2017-06-01 22:04:21 +01:00
bb4cfa962a Merge remote-tracking branch 'origin' into tests 2017-06-01 21:03:31 +01:00
e7c6e93571 Try and catch exceptions from pdf render 2017-06-01 20:51:07 +01:00
82fc33a1c4 Null check TOCs 2017-06-01 15:42:32 +01:00
44504e2584 Throw script error if tests fail 2017-05-30 17:17:37 +01:00
f38e7a53df Create wrapper for config extension 2017-05-28 22:19:45 +01:00
58e825c43b Add tests for content parser 2017-05-28 22:12:22 +01:00
538685e5b2 Test config generator 2017-05-28 16:58:58 +01:00
e71650cd3c Test hard extra config 2017-05-28 15:51:52 +01:00
3e7759c52d Remove non-determanistic test 2017-05-28 15:14:30 +01:00
e9cc191d9b test consts 2017-05-28 15:08:39 +01:00
cf210cd908 Remove basic tests 2017-05-28 14:12:22 +01:00
1b34aa2b0d better file removal 2017-05-28 14:11:35 +01:00
b7669c53ff More tests for pandoc 2017-05-28 14:06:44 +01:00
112d22b6ed Add basic pandoc build tests 2017-05-28 13:21:22 +01:00
c6100c04c6 Test html output 2017-05-28 12:33:34 +01:00
16b6002205 Fix lint 2017-05-28 11:53:58 +01:00
2f11a3c93e Fix variable name 2017-05-28 11:40:17 +01:00
Jake Howard
503996ba69 Merge branch 'master' into tests 2017-05-28 11:35:31 +01:00
Jake Howard
253ecb88f1 Merge pull request #14 from RealOrangeOne/extract-assets
Dont render assets to project dir
2017-05-28 11:35:12 +01:00
79620e7fea Remove unused import 2017-05-28 11:20:41 +01:00
413d888a77 Use actual variable 2017-05-28 11:20:02 +01:00
d725d4ee3a Remove old entries from gitignore 2017-05-28 11:14:24 +01:00
0fcd1584be Move rendered templates out of project dir 2017-05-28 11:13:36 +01:00
0c9b1324b0 Better error message when missing CSL 2017-05-27 22:34:01 +01:00
dbe4e8ae7c Verbose download of CSL 2017-05-27 22:27:47 +01:00
a7117a8f5c Override tests 2017-05-27 22:10:06 +01:00
a4d766034a Add tests for config validator 2017-05-27 22:06:55 +01:00
a46f304c55 Test config reader 2017-05-27 20:32:50 +01:00
9db3b3133d Add test runner script 2017-05-27 20:04:36 +01:00
8ce8a6f940 Delete templates after test 2017-05-27 16:43:23 +01:00
6cefbfb20d Start adding basic tests 2017-05-27 16:37:10 +01:00