0.2.2 • Published 9 years ago

hartman v0.2.2

Weekly downloads
-
License
ISC
Repository
-
Last release
9 years ago

Hartman

Automatic mocha style unit test generator by dirs for common.js envinroment(node.js browserify).

Good for you.

npm install -g hartman

How to use

$ hartman --src src --test test --input js --ouput coffee --suffix spec
app/
	foo.js
	bar.js
spec/
	foo-spec.coffee
	bar-spec.coffee

Generated file

# require '../src/foo'
describe "src/foo", ->
  it "should be written"

Option files

hartman.json

{
  "srcDir": "src",
  "testDir": "spec",
  "inputType": "coffee",
  "outputType": "ts",
  "suffix": "spec"
}

and run hartman

LICENSE

MIT

0.2.2

9 years ago

0.2.1

9 years ago

0.1.0

10 years ago

0.0.1

12 years ago

0.0.0

12 years ago