Skip to content

armgit / mocha

Public Imported from GitHub
0

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

misc

TJ Holowaychuk90e41ec20644
diff --git a/index.html b/index.html
index 12641049..325ea223 100644
--- a/index.html
+++ b/index.html
@@ -422,6 +422,13 @@ test('#length', function(){
<p> <img src="http://f.cl.ly/items/3T3G1h1d3Z2i3M3Y1Y0Y/Screen%20Shot%202012-02-23%20at%208.37.13%20PM.png" alt="code coverage reporting" /></p>
+<h3>Markdown</h3>
+
+<p> The &ldquo;markdown&rdquo; reporter generates a markdown TOC and body for your
+ test suite. This is great if you want to use the tests as documentation
+ within a Github wiki page, or a markdown file in the repository that
+ Github can render. For example here is the Connect <a href="https://github.com/senchalabs/connect/blob/90a725343c2945aaee637e799b1cd11e065b2bff/tests.md">test output</a>.</p>
+
<h3>Doc</h3>
<p> The &ldquo;doc&rdquo; reporter outputs a hierarchical HTML body representation
@@ -469,6 +476,14 @@ test('#length', function(){
<p> View the entire <a href="https://github.com/visionmedia/superagent/blob/master/Makefile">Makefile</a> for reference.</p>
+<h3>Min</h3>
+
+<p> The &ldquo;min&rdquo; reporter displays the summary only, while still outputting errors
+ on failure. This reporter works great with <code>--watch</code> as it clears the terminal
+ in order to keep your test summary at the top.</p>
+
+<p> <img src="http://f.cl.ly/items/460B2r3p3M3k2D3J250m/Screen%20Shot%202012-03-24%20at%2010.46.01%20AM.png" alt="" /></p>
+
<h3>XUnit</h3>
<p> Documentation needed.</p>
diff --git a/index.md b/index.md
index b6fc3454..c412ea8c 100644
--- a/index.md
+++ b/index.md
@@ -387,12 +387,13 @@ Testing asynchronous code with Mocha could not be simpler! Simply invoke the cal
![code coverage reporting](http://f.cl.ly/items/3T3G1h1d3Z2i3M3Y1Y0Y/Screen%20Shot%202012-02-23%20at%208.37.13%20PM.png)
-### Markdown
+### Min
- The "markdown" reporter generates a markdown TOC and body for your
- test suite. This is great if you want to use the tests as documentation
- within a Github wiki page, or a markdown file in the repository that
- Github can render. For example here is the Connect [test output](https://github.com/senchalabs/connect/blob/90a725343c2945aaee637e799b1cd11e065b2bff/tests.md).
+ The "min" reporter displays the summary only, while still outputting errors
+ on failure. This reporter works great with `--watch` as it clears the terminal
+ in order to keep your test summary at the top.
+
+ ![](http://f.cl.ly/items/460B2r3p3M3k2D3J250m/Screen%20Shot%202012-03-24%20at%2010.46.01%20AM.png)
### Doc
@@ -446,6 +447,13 @@ Testing asynchronous code with Mocha could not be simpler! Simply invoke the cal
Documentation needed.
+### Markdown
+
+ The "markdown" reporter generates a markdown TOC and body for your
+ test suite. This is great if you want to use the tests as documentation
+ within a Github wiki page, or a markdown file in the repository that
+ Github can render. For example here is the Connect [test output](https://github.com/senchalabs/connect/blob/90a725343c2945aaee637e799b1cd11e065b2bff/tests.md).
+
### HTML
The __HTML__ reporter is currently the only browser reporter