dignifiedquire / dignifiedquire/grunt-testacular

task testacularServer does nothing

Open
#5 21 comments 0 reactions 0 assignees View on GitHub
Dominant language
JavaScript
Stars
27
Forks
5
PR merge metrics
No merged PRs in 30d

Description

I'm quite new to node.js, grunt and even testacular. So please bare with me, if I'm doing a stupid mistake.

I wanted to use testacular tests in my first grunt project. I'm currently using testacular 0.5.5 grunt-testacular 0.3.0 and node.js 0.8.14 on WIndows 7.

I have a testacular.conf.js which is working when run with testacular directly via "testacular start". When I then use "grunt testacularRun" its running the tests with the expected results (its reporting failed tests).

But when I run "grunt testacularServer" its doing nothing. I get this output:

```
C:\Users\mzrinck\Documents\grunt\test1>grunt.cmd testacularServer
Running "testacularServer:unit" (testacularServer) task

Done, without errors.
```

This is my task in grunt.js:

``` javascript
testacularServer: {
unit: {
configFile: 'testacular.conf.js'
}
},
```

The grunt.js and testacular.conf.js are in the same folder.

What is wrong here?

Thanks for any help.

Contributor guide

No contributing guide indexed for this repository

Research direction

Start with grunt.js and testacular.conf.js, then run the reported `grunt testacularServer` command and compare it with `grunt testacularRun` and direct `testacular start`. Trace how the server task handles the supplied configFile; done means the configured server behavior is observable instead of the task immediately reporting success and exiting.

Written by the indexing model from the issue text.

Assessment

Tech stack
javascript, node.js
Domain
testing-qa, tooling
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.