@@ -8,7 +8,7 @@ CodeRoad allows you to play interactive coding tutorials in your editor.
88
99Requires:
1010
11- - VSCode 1.34 +
11+ - VSCode 1.40 +
1212- Git
1313- Node 10+
1414
@@ -40,15 +40,29 @@ This extension contributes the following settings:
4040
4141- ` coderoad.start ` : starts the extension
4242
43- ##Support New Programming Languages
43+ ##Supported Programming Languages
4444
45- In order to get theextension to support anew language, you'll need the following:
45+ To support a new programming language, thetest runner needs to support aformat called TAP ( https://testanything.org/ ).
4646
47- 1 . Test runner and CLI command to run test runner
48- 2 . Parser for test runner output (eg. TAP, JSON) that can determine if tests passed or return the failure message
49- 3 . Load prism markdown highlighting styles
47+ Some test frameworks can be modified to use tap, see a list of TAP reporters:https://github.com/sindresorhus/awesome-tap#reporters .
5048
51- TODO: A simple way to package all three together would be ideal.
49+ ###JavaScript
50+
51+ #####Jest
52+
53+ ``` json
54+ {
55+ "scripts" : {
56+ "test" :" jest"
57+ },
58+ "devDependencies" : {
59+ "jest-tap-reporter" :" 1.9.0"
60+ },
61+ "jest" : {
62+ "reporters" : [" jest-tap-reporter" ]
63+ }
64+ }
65+ ```
5266
5367##Known Issues
5468