Skip to content

Commit

Permalink
Merge pull request caolan#102 from lambdalisue/machineout
Browse files Browse the repository at this point in the history
Improve vim comipler and add instruction of machineout reporter
  • Loading branch information
Caolan McMahon committed Oct 29, 2011
2 parents 72a756f + 128e431 commit 3abe84e
Show file tree
Hide file tree
Showing 3 changed files with 23 additions and 27 deletions.
4 changes: 4 additions & 0 deletions CONTRIBUTORS.md
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,10 @@ Nodeunit contributors (sorted alphabeticaly)
* Improvements to default test reporter
* HTTP test utility

* **[Λlisue](https://github.com/lambdalisue)**

* Add machineout reporter

* **[Matthias Lübken](https://github.com/luebken)**

* Utility functions for tracking incomplete tests on exit
Expand Down
19 changes: 19 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@ __Contributors__
* [alexkwolfe](https://github.com/alexkwolfe)
* [azatoth](https://github.com/azatoth)
* [coffeemate](https://github.com/coffeemate)
* [lambdalisue](https://github.com/lambdalisue)
* [luebken](https://github.com/luebken)
* [orlandov](https://github.com/orlandov)
* [Sannis](https://github.com/Sannis)
Expand Down Expand Up @@ -344,6 +345,8 @@ Built-in Test Reporters
* __html__ - Outputs a HTML report to stdout
* __junit__ - Creates jUnit compatible XML reports, which can be used with
continuous integration tools such as [Hudson](http://hudson-ci.org/).
* __machineout__ - Simple reporter for machine analysis. There is [nodeunit.vim](https://github.com/lambdalisue/nodeunit.vim)
which is useful for TDD on VIM


Writing a Test Reporter
Expand Down Expand Up @@ -416,6 +419,22 @@ __Note:__ There was a bug in node v0.2.0 causing the tests to hang, upgrading
to v0.2.1 fixes this.


__machineout__ reporter
----------------------------------------------

The default reporter is really readable for human but for machinally analysis.
When you want to analyze the output of nodeunit, use __machineout__ reporter and you will get

<img src="https://github.com/caolan/nodeunit/raw/master/img/example_machineout.png" />


nodeunit with vim
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
There is [nodeunit.vim](https://github.com/lambdalisue/nodeunit.vim) so you can use nodeunit with VIM.
That compiler use __machineout__ reporter and it is useful to use with [vim-makegreen](https://github.com/reinh/vim-makegreen)
Contributing
------------
Expand Down
27 changes: 0 additions & 27 deletions share/nodeunit.vim

This file was deleted.

0 comments on commit 3abe84e

Please sign in to comment.