Skip to content

armgit / mocha

Public Imported from GitHub
0

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

spec

Tj Holowaychukc33d473a2826
diff --git a/index.md b/index.md
index f8c73e04..94631148 100644
--- a/index.md
+++ b/index.md
@@ -235,12 +235,20 @@ Testing asynchronous code with Mocha could not be simpler! Simply invoke the cal
### Dot Matrix
- The Dot Matrix reporter is simply a series of dots
+ The "dot" matrix reporter is simply a series of dots
that represent test cases, failures highlight in red,
pending in blue, slow as yellow.
![dot matrix reporter](images/reporter-dot.png)
+### Spec
+
+ The "spec" reporter outputs a hierarchical view
+ nested just as the test cases are.
+
+ ![spec reporter](images/reporter-spec.png)
+ ![spec reporter with failure](images/reporter-spec-fail.png)
+
### TAP
The TAP reporter emits lines for a [Test-Anything-Protocol](http://en.wikipedia.org/wiki/Test_Anything_Protocol) consumer.