SkillAgentSearch skills...

Hartman

generate testfiles

Install / Use

/learn @mizchi/Hartman
About this skill

Quality Score

0/100

Supported Platforms

Universal

README

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",
  "excludes": ['src/ex.coffee']
}

and run hartman

LICENSE

MIT

Related Skills

View on GitHub
GitHub Stars4
CategoryDevelopment
Updated11y ago
Forks1

Languages

CoffeeScript

Security Score

50/100

Audited on Dec 21, 2014

No findings