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

Reports are not getting generated #1

Closed
IdanAdar opened this issue Mar 2, 2017 · 1 comment
Closed

Reports are not getting generated #1

IdanAdar opened this issue Mar 2, 2017 · 1 comment

Comments

@IdanAdar
Copy link

IdanAdar commented Mar 2, 2017

Hi,

I am using Jasmine for a project, and I am attempting to integrate it with Jenkins.
I noticed that in the examples it is being executed from jasmine-xml-reporter. Is this a requirement? (npm newb...)

This is what I am doing:

mkdir testresults
./node_modules/.bin/jasmine --junitreport --output=testresults/

I first created testresults because apparently it is not being created otherwise.
Is it supposed to?

Second,
I also notice that whether the test fails or succeeds, no report is actually generated inside testresult.

I must be missing something obvious... because it is running:

Started
.


1 spec, 0 failures
Finished in 0.005 seconds

I have the following packages installed:

  • jasmine 2.5.0
  • jasmine-core 2.5.2
  • jasmine-xml-reporter 1.0.6
  • jasmine-reporters 2.2.0
@IdanAdar IdanAdar changed the title Jenkins integration Reports are not getting generated Mar 2, 2017
@raelgc
Copy link
Owner

raelgc commented Mar 2, 2017

Hi @IdanAdar and thanks for raising this issue.

In theory, you should run the examples with jasmine-xml-reporter.

But probably requiring jasmine-xml-reporter/boot.js will be enough.

@IdanAdar IdanAdar closed this as completed Mar 3, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants