JUnit runners for Jasmine
JavaScript Java
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
all
core
jasmine
testing
.gitignore
LICENSE
NOTICE
README.md
TODO
pom.xml

README.md

Menodora

Menodora is a JUnit test runner for Jasmine JavaScript tests, which you can download and use.

Usage

Start by creating a new Java class in your test directory and applying the Menodora annotations:

@RunWith(MenodoraRunner.class)
@JavaScriptContext(
        style = JasmineStyle.class,
        source = "src/main/js/*.js",
        helpers = "src/test/js/*.js",
        tests = "src/test/js/*Spec.js",
        withSimulatedDom = false)
public class JsTests { }

Now you can run this class like you would any other JUnit test, and see the test output in your IDE or build tool.