Skip to content

armgit / mocha

Public Imported from GitHub
0

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

links

TJ Holowaychuk8fb3c500207c
diff --git a/index.html b/index.html
index 3df38dd9..c6a79f62 100644
--- a/index.html
+++ b/index.html
@@ -403,6 +403,17 @@ describe('merge stuff', function(){
<pre><code> $ make tm
</code></pre>
+<h2>Example test suites</h2>
+
+<p>The following test suites are from real projects putting Mocha to use,
+ so they serve as good examples:</p>
+
+<ul>
+<li><a href="https://github.com/visionmedia/express/tree/master/test">Express</a></li>
+<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>
+</ul>
+
<h2>Running mocha's tests</h2>
<p>Run the tests:</p>
diff --git a/index.md b/index.md
index 55105861..81411c3e 100644
--- a/index.md
+++ b/index.md
@@ -368,6 +368,15 @@ Instead of reporting these as distinct suites, they are merged, yielding the fol
$ make tm
+## Example test suites
+
+ The following test suites are from real projects putting Mocha to use,
+ so they serve as good examples:
+
+ - [Express](https://github.com/visionmedia/express/tree/master/test)
+ - [Connect](https://github.com/senchalabs/connect/tree/master/test)
+ - [SuperAgent](https://github.com/visionmedia/superagent/tree/master/test/node)
+
## Running mocha's tests
Run the tests:
@@ -381,3 +390,4 @@ Instead of reporting these as distinct suites, they are merged, yielding the fol
Alter the reporter:
$ make test REPORTER=list
+