Questions tagged [js-test-driver]

js-test-driver is an open source JavaScript unit tests runner written in Java.

Js-test-driver, a project started at Google, is able to run from command line and reports results to the standard output. As a result, it is possible to fully automate JavaScript tests and run them on a continuous integration server.

The goal of JsTestDriver is to build a JavaScript test runner which:

  • easily integrates with continuous builds systems and
  • allows running tests on multiple browsers quickly to ease TDD style development.

Project page

122 questions
0
votes
1 answer

jsTestDriver: org.jvyaml.ParserException when running tests

I try to run javascript tests with jsTestDriver. When I start the tests, an exception occured. The problem does not occur when the .conf file of jsTestDriver contains only one filepath in args, e.g.: plugin: - name: "coverage" jar:…
maria90
  • 269
  • 4
  • 10
-3
votes
1 answer

Need help in creating JUNIT test for this piece of code

public void readInput(Scanner sc) { while (sc.hasNext()) { //check if we are in a tag to begin with String s = new String(sc.next()); if (Pattern.matches("[\\p{Punct}\\p{IsPunctuation}]", s.substring( s.length() -…
1 2 3
8
9