0.8.12 • Published 9 years ago

raml-tester v0.8.12

Weekly downloads
27
License
Apache-2.0
Repository
github
Last release
9 years ago

raml-tester-js

A node.js and bower module for raml-tester-proxy.

Node.js module

Prerequisits

This module is a wrapper around raml-tester-proxy, therefore a java runtime must be installed on the target machine.

Install

npm install -g raml-tester

Usage

On the command line, just use it with

raml-tester <options>

where options are exactly the same as for raml-tester-proxy.

For the javascript API, see raml-tester.js.

Bower module

Prerequisits

The bower module connects to a running proxy server, therefore, no java environment is needed.

Install

bower install raml-tester

Usage

The following functions are defined and exposed by the variable RAML.tester:

  • setPort (port)
  • reload (ok, fail)
  • clearReports (ok, fail)
  • clearUsage (ok, fail)
  • ping (ok, fail)
  • reports (ok, fail)
  • usage (ok, fail)

They all expect a running proxy server at port 8099 (configurable with the setPort function).

Additionally, the addJasmineMatchers function provides support for jasmine.

For more details see raml-tester-browser.js.

For examples how to use it, see raml-tester-uc-js.

0.8.12

9 years ago

0.8.11

10 years ago

0.8.10

10 years ago

0.8.10-SNAPSHOT

10 years ago

0.8.9

10 years ago

0.8.8

10 years ago

0.8.6

10 years ago

0.8.3

10 years ago

0.0.4

10 years ago

0.0.3

10 years ago

0.0.2

10 years ago

0.0.1

10 years ago