searls/jasmine-maven-plugin — Issue #56: Jasmine plugin can't find specs
Author: occasl
Created: 2012-01-13 18:07:21+00:00
State: open

Hi,

I must be missing something, but I feel I have everything correctly configured. Here's the output I have from Maven debug, but the plugin can't seem to find my specs to run; it always says "Results: 0 specs, 0 failures" . Any suggestions?

```
[DEBUG] Configuring mojo 'com.github.searls:jasmine-maven-plugin:1.0.2-beta-5:bdd' -->
[DEBUG] (f) browserVersion = FIREFOX_3
[DEBUG] (f) debug = false
[DEBUG] (f) format = documentation
[DEBUG] (f) haltOnFailure = true
[DEBUG] (f) jasmineTargetDir = C:\dev\QES\stargate-ui\UiView\stargate-ui\target\jasmine
[DEBUG] (f) jsSrcDir = C:\dev\QES\stargate-ui\UiView\stargate-ui\src\main\webapp
[DEBUG] (f) jsTestSrcDir = C:\dev\QES\stargate-ui\UiView\stargate-ui\src\main\webapp\spec
[DEBUG] (f) junitXmlReportFileName = TEST-jasmine.xml
[DEBUG] (f) manualSpecRunnerHtmlFileName = ManualSpecRunner.html
[DEBUG] (f) mavenProject = MavenProject: com.qualcomm.qes.hos.ui.stargate:stargate-ui:1.0.0-SNAPSHOT @ C:\dev\QES\stargate-ui\UiView\stargate-ui\pom.xml
[DEBUG] (f) packageDir = C:\dev\QES\stargate-ui\UiView\stargate-ui\target\stargate-ui-1.0.0-SNAPSHOT
[DEBUG] (f) packageJavaScriptPath = js
[DEBUG] (f) serverPort = 8234
[DEBUG] (f) sourceIncludes = [C:\dev\QES\stargate-ui\UiView\stargate-ui/src/main/webapp/**/*.js]
[DEBUG] (f) specDirectoryName = spec
[DEBUG] (f) specIncludes = [C:\dev\QES\stargate-ui\UiView\stargate-ui/src/main/webapp/spec/**/*.js]
[DEBUG] (f) specRunnerHtmlFileName = SpecRunner.html
[DEBUG] (f) srcDirectoryName = src
[DEBUG] (f) timeout = 300
[DEBUG] -- end configuration --
```
The spec I'm trying to run is as follows under the spec directory identified above:

```javascript
describe("Jasmine Check", function() {
it("Check Ext", function() {
expect(Ext.isBoolean(true)).toBeTruthy();
});
});
```
Finally, here is how it's configured in the POM:

com.github.searls
jasmine-maven-plugin
1.0.2-beta-5

test

${basedir}/src/main/webapp/spec
${basedir}/src/main/webapp

${basedir}/src/main/webapp/**/*.js

${basedir}/src/main/webapp/spec/**/*.js

TIA,
Lou