Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Improve feedback message when JSTD.conf isnt valid #174

Open
andy-berry-dev opened this issue Oct 25, 2013 · 0 comments
Open

Improve feedback message when JSTD.conf isnt valid #174

andy-berry-dev opened this issue Oct 25, 2013 · 0 comments

Comments

@andy-berry-dev
Copy link
Member

I was editing a JsTestDriver.conf file to debug a test and rather than using 4 spaces I used a single tab.

The tests don't run and the output I get is:

Testing presenter (ATs):
Unexpected Exception:


- Time Taken: 0secs
Error:
  Test failure or error while running tests.

Stack Trace:
org.bladerunnerjs.model.exception.command.CommandOperationException: Test failure or error while running tests.
    at com.caplin.cutlass.command.test.testrunner.TestRunnerController.run(TestRunnerController.java:142)
    at com.caplin.cutlass.command.test.TestCommand.doCommand(TestCommand.java:51)
    at org.bladerunnerjs.model.utility.CommandRunner.run(CommandRunner.java:21)
    at org.bladerunnerjs.model.BRJS.runCommand(BRJS.java:277)
    at org.bladerunnerjs.model.utility.UserCommandRunner.run(UserCommandRunner.java:25)
    at org.bladerunnerjs.model.BRJS.runUserCommand(BRJS.java:282)
    at org.bladerunnerjs.CommandRunner.run(CommandRunner.java:77)
    at org.bladerunnerjs.CommandRunner.main(CommandRunner.java:39)

org.bladerunnerjs.model.exception.command.CommandOperationException: Test failure or error while running tests.
    at com.caplin.cutlass.command.test.testrunner.TestRunnerController.run(TestRunnerController.java:142)
    at com.caplin.cutlass.command.test.TestCommand.doCommand(TestCommand.java:51)
    at org.bladerunnerjs.model.utility.CommandRunner.run(CommandRunner.java:21)
    at org.bladerunnerjs.model.BRJS.runCommand(BRJS.java:277)
    at org.bladerunnerjs.model.utility.UserCommandRunner.run(UserCommandRunner.java:25)
    at org.bladerunnerjs.model.BRJS.runUserCommand(BRJS.java:282)
    at org.bladerunnerjs.CommandRunner.run(CommandRunner.java:77)
    at org.bladerunnerjs.CommandRunner.main(CommandRunner.java:39)

This needs improving to atleast say there was an error parsing the config file or just print out the JSTD error output.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant