Commit Graph

11 Commits

Author SHA1 Message Date
Corey McCandless
dd698d18ef Add track Contributing Guide and Generator documentation (#1900)
* Add Track Contributing Guide

* Add test generator documentation

* fix heading format

* fix table HTML

* incorporate review suggestions

Suggestions: https://github.com/exercism/python/pull/1900#pullrequestreview-272542702

Co-authored-by: Michael Morehouse <640167+yawpitch@users.noreply.github.com>
2019-08-08 17:49:02 +01:00
Corey McCandless
23f671e3a3 Use import with context for generators (#1896) 2019-08-07 09:45:02 -04:00
Corey McCandless
866a1ef9f3 word-count: add test template (#1888) 2019-08-06 14:45:35 -04:00
Corey McCandless
18c90d81da Add support for additional tests to generator script (#1886) 2019-08-06 14:41:00 -04:00
Corey McCandless
ac581690af twelve-days: add test template (#1883)
- add header, footer generator macros
2019-08-06 13:35:53 +01:00
Corey McCandless
3050a360cc hamming: add test template
- add 'is error_case' Jinja2 test
- create Jinja2 macros file, add utility method macro
2019-07-29 23:42:12 -05:00
Corey McCandless
a725ccb0fd high-scores: add test template (#1866)
* high-scores: add test template

* add missing exception assignment

* skip `scores` tests
2019-07-24 21:05:08 +01:00
Corey McCandless
d207e1ce66 hello-world: add test template (#1863)
* hello-world: add test template

* generate_tests.py: use NamedTemporaryFile instead of mkstemp
2019-07-24 12:35:16 -04:00
Corey McCandless
36166de0fa generator: fix fd operation calls (#1865) 2019-07-24 11:34:00 -04:00
Corey McCandless
61f4f2bef3 generator: run black on rendering before --check (#1864) 2019-07-24 10:54:59 -04:00
Corey McCandless
380ae91f33 Create test suite generator (requires per-exercise templates) (#1857)
* Add test generator script

* add .flake8 file to handle line length discrepency with black

* add requirements file for generator script

* Run bin/generate_tests.py in Travis HOUSEKEEPING job to ensure template changes have been applied

* add --check flag to generator script and refactor CI calls

Co-authored-by: Michael Morehouse <640167+yawpitch@users.noreply.github.com>
2019-07-24 09:49:01 -04:00