From 128e43118d52c09a575d3b816c6ab3900d34a79a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=CE=9Blisue?= Date: Wed, 12 Oct 2011 20:16:14 +0900 Subject: [PATCH] Add CONTRIBUTORS and improve README I remove `share/nodeunit.vim` because I release nodeunit.vim at https://github.com/lambdalisue/nodeunit.vim --- CONTRIBUTORS.md | 4 ++++ README.md | 19 +++++++++++++++++++ share/nodeunit.vim | 27 --------------------------- 3 files changed, 23 insertions(+), 27 deletions(-) delete mode 100644 share/nodeunit.vim diff --git a/CONTRIBUTORS.md b/CONTRIBUTORS.md index cd4bdebca..0485639f7 100644 --- a/CONTRIBUTORS.md +++ b/CONTRIBUTORS.md @@ -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 diff --git a/README.md b/README.md index 25118915f..7deec5af3 100644 --- a/README.md +++ b/README.md @@ -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) @@ -346,6 +347,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 @@ -418,6 +421,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 + + + + +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 ------------ diff --git a/share/nodeunit.vim b/share/nodeunit.vim deleted file mode 100644 index c5e55c1c8..000000000 --- a/share/nodeunit.vim +++ /dev/null @@ -1,27 +0,0 @@ -" Vim compiler file -" Compiler: Unit testing for javascript using nodeunit -" Maintainer: lambdalisue -" Last Change: 2011 Sep 06 -" -" How to install: -" copy this vim script into $VIM/compiler/ directory -" and add the line below to $VIM/ftplugin/javascript.vim (or coffee.vim) -" -" compiler nodeunit -" -" How to use: -" Test with ':make' command of vim. See vim plugin called 'vim-makegreen' -" -if exists("current_compiler") - finish -endif -let current_compiler = "nodeunit" - -if exists(":CompilerSet") != 2 " older Vim always used :setlocal - command -nargs=* CompilerSet setlocal -endif - -" Using folked version nodeunit found at -" http://github.com/lambdalisue/nodeunit.git -CompilerSet makeprg=echo\ $*\ >/dev/null;\ nodeunit\ --reporter\ machineout\ \"%\" -CompilerSet efm=%s:%f:%l:%c:%m