Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commita8b34a5

Browse files
committed
test snippets docs
1 parent87ede1b commita8b34a5

7 files changed

+16
-13
lines changed

‎_posts/2016-01-07-test-snippets.md

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
---
2+
layout:docs
3+
title:Test snippets
4+
id:test-snippets
5+
file:2016-01-07-test-snippets.md
6+
---
7+
Test Runners may have pre-made[Atom snippets](https://atom.io/docs/latest/using-atom-snippets) to quickly generate test files. See[*mocha-coderoad* snippets](https://github.com/coderoad/mocha-coderoad/blob/master/snippets.cson) as an example.
8+
9+
Open up*Atom* ->*Open Your Snippets*. Add the contents of`snippets.cson` to your global`snippets.cson` file. Read the project README to see which snippets are available and which prefixes you should use. For example: 'mochacr-f' for testing a "mocha-coderoad" function.

‎_posts/2016-01-07-test-examples.mdrenamed to‎_posts/2016-01-08-test-examples.md

Lines changed: 1 addition & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
layout:docs
33
title:Test Examples
44
id:test-examples
5-
file:2016-01-07-test-examples.md
5+
file:2016-01-08-test-examples.md
66
---
77

88
Here are examples using*mocha* with*chai*'s*expect*. See the[docs](http://chaijs.com/api/bdd/).
@@ -122,9 +122,3 @@ if (process.env.TASK_POSITION !== '4') {
122122
```
123123

124124
See a full[example](https://github.com/coderoad/coderoad-functional-school/blob/master/tutorial/1/04/01-forEach.spec.js).
125-
126-
###Test Writing Tool
127-
128-
It's entirely possible to create a simplified testing tool that could make writing tests faster & easier.
129-
130-
The easiest solution would be to use editor snippets to generate a page of tests from a simple configuration object. This does not yet exist.

‎_posts/2016-01-08-config.mdrenamed to‎_posts/2016-01-09-config.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
layout:docs
33
title:Config
44
id:config
5-
file:2016-01-08-config.md
5+
file:2016-01-09-config.md
66
---
77
CodeRoad tutorial configurations can be set in the*package.json* config.
88

‎_posts/2016-01-09-publish.mdrenamed to‎_posts/2016-01-10-publish.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
layout:docs
33
title:Publishing
44
id:publish
5-
file:2016-01-09-publish.md
5+
file:2016-01-10-publish.md
66
---
77
Make sure your tutorial is ready and user tested before publishing to NPM.
88

‎_posts/2016-01-10-test-runner.mdrenamed to‎_posts/2016-01-11-test-runner.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
layout:docs
33
title:Test Runners
44
id:test-runners
5-
file:2016-01-10-test-runner.md
5+
file:2016-01-11-test-runner.md
66
---
77
A CodeRoad test runner works by creating a child process and calling a test framework with target files, then returning the result as a JSON object.
88

@@ -86,6 +86,6 @@ The result should output the *taskPosition* after the test. The field *change* r
8686

8787
####4. handleLog
8888

89-
A callback function that should return the output**log** statement.
89+
A callback function that should return the output**log** statement.
9090

9191
*If you need help setting up a new test runner, please send an email tocoderoadapp@gmail.com.*

‎_posts/2016-01-11-roadmap.mdrenamed to‎_posts/2016-01-12-roadmap.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
layout:docs
33
title:Test Runners
44
id:test-runners
5-
file:2016-01-11-test-runner.md
5+
file:2016-01-12-test-runner.md
66
---
77
CodeRoad will become more flexible & powerful with time.
88

‎_posts/2016-01-12-contributing.mdrenamed to‎_posts/2016-01-13-contributing.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
layout:docs
33
title:Contributing
44
id:contributing
5-
file:2016-01-12-contributing.md
5+
file:2016-01-13-contributing.md
66
---
77
See our[development boards](https://coderoad.herokuapp.com/).
88

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp