0.3.4 • Published 9 years ago

mocha-http-server v0.3.4

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

mocha-http-server

Lightweight HTTP server designed to run mocha tests in a browser. Bundles up your test modules automatically, deduping dependencies and adds source map support.

Features

  • Use CommonJS modules in your tests
  • Built-in modules supported via browserify shims.
  • Supports CoffeeScript test modules out of the box.
  • Automatic source map support in Chrome.

CLI

mocha-http [options] [files]

Options:
  -?, --help                      output usage information
  -v, --version                   output the version number
  -b, --browser                   open browser automatically
  -h, --host                      hostname to bind to
  -p, --port                      port to listen on
  -t, --timeout <ms>              set test-case timeout in milliseconds [2000]
  --check-leaks                   check for global variable leaks
  --globals <names>,...           allow the given global [names]
  --recursive                     include sub directories

Usage:

$ mocha-http tests
0.3.4

9 years ago

0.3.3

9 years ago

0.3.2

9 years ago

0.3.1

9 years ago

0.3.0

9 years ago

0.2.9

9 years ago

0.2.8

9 years ago

0.2.7

9 years ago

0.2.6

9 years ago

0.2.5

10 years ago

0.2.4

10 years ago

0.2.3

10 years ago

0.2.2

10 years ago

0.2.1

10 years ago

0.2.0

10 years ago

0.1.3

10 years ago

0.1.2

10 years ago

0.1.1

10 years ago

0.1.0

10 years ago

0.0.1

10 years ago