Skip to content

armgit / mocha

Public Imported from GitHub
0

☕️ Classic, reliable, trusted test framework for Node.js and the browser

more images

Tj Holowaychuk5c1269ddfb76
diff --git a/images/reporter-progress.png b/images/reporter-progress.png
new file mode 100644
index 00000000..d23ba365
Binary files /dev/null and b/images/reporter-progress.png differ
diff --git a/images/reporter-spec-duration.png b/images/reporter-spec-duration.png
new file mode 100644
index 00000000..d8a59acf
Binary files /dev/null and b/images/reporter-spec-duration.png differ
diff --git a/images/reporter-tap.png b/images/reporter-tap.png
new file mode 100644
index 00000000..cac4adf0
Binary files /dev/null and b/images/reporter-tap.png differ
diff --git a/index.html b/index.html
index db7a5c41..46018ad8 100644
--- a/index.html
+++ b/index.html
@@ -41,6 +41,7 @@
<li>extensible reporting, bundled with 9+ reporters</li>
<li>extensible test DSLs or &ldquo;interfaces&rdquo;</li>
<li>before, after, before each, after each hooks</li>
+<li>coffee-script support</li>
<li>TextMate bundle</li>
<li>and more!</li>
</ul>
@@ -152,6 +153,7 @@ Options:
-g, --grep &lt;pattern&gt; only run tests matching &lt;pattern&gt;
-t, --timeout &lt;ms&gt; set test-case timeout in milliseconds [2000]
-s, --slow &lt;ms&gt; "slow" test threshold in milliseconds [75]
+ -C, --no-colors force disabling of colors
-G, --growl enable growl support
</code></pre>
@@ -274,7 +276,7 @@ describe('app', function(){
<p> The TAP reporter emits lines for a <a href="http://en.wikipedia.org/wiki/Test_Anything_Protocol">Test-Anything-Protocol</a> consumer.</p>
-<p> <img src="http://f.cl.ly/items/2O0X3h0d1Q430O1t1T3p/Screenshot.png" alt="test anything protocol" /></p>
+<p> <img src="images/reporter-tap.png" alt="test anything protocol" /></p>
<h3>Landing Strip</h3>
@@ -292,6 +294,12 @@ describe('app', function(){
<p> <img src="images/reporter-list.png" alt="list reporter" /></p>
+<h3>Progress</h3>
+
+<p> The progress reporter implements a simple progress-bar:</p>
+
+<p> <img src="images/reporter-progress.png" alt="progress bar" /></p>
+
<h3>JSON</h3>
<p> The JSON reporter outputs a single large JSON object when
@@ -455,6 +463,7 @@ describe('merge stuff', function(){
<li> <a href="https://github.com/senchalabs/connect/tree/master/test">Connect</a></li>
<li> <a href="https://github.com/visionmedia/superagent/tree/master/test/node">SuperAgent</a></li>
<li> <a href="https://github.com/LearnBoost/websocket.io/tree/master/test">WebSocket.io</a></li>
+<li> <a href="https://github.com/visionmedia/mocha/tree/master/test">Mocha</a></li>
</ul>
diff --git a/index.md b/index.md
index 0650d42b..f8c73e04 100644
--- a/index.md
+++ b/index.md
@@ -245,7 +245,7 @@ Testing asynchronous code with Mocha could not be simpler! Simply invoke the cal
The TAP reporter emits lines for a [Test-Anything-Protocol](http://en.wikipedia.org/wiki/Test_Anything_Protocol) consumer.
- ![test anything protocol](http://f.cl.ly/items/2O0X3h0d1Q430O1t1T3p/Screenshot.png)
+ ![test anything protocol](images/reporter-tap.png)
### Landing Strip
@@ -262,7 +262,13 @@ Testing asynchronous code with Mocha could not be simpler! Simply invoke the cal
the bottom of the output.
![list reporter](images/reporter-list.png)
-
+
+### Progress
+
+ The progress reporter implements a simple progress-bar:
+
+ ![progress bar](images/reporter-progress.png)
+
### JSON
The JSON reporter outputs a single large JSON object when