Coder Social home page Coder Social logo

Comments (10)

killercentury avatar killercentury commented on August 19, 2024

Found the same issue

from karma-junit-reporter.

lukasz-karolewski avatar lukasz-karolewski commented on August 19, 2024

+1
same here

from karma-junit-reporter.

dignifiedquire avatar dignifiedquire commented on August 19, 2024

@kether667 can you confirm that #49 fixes the issue?

from karma-junit-reporter.

lukasz-karolewski avatar lukasz-karolewski commented on August 19, 2024

just tested, i confirm that #49 fixes #48

from karma-junit-reporter.

dignifiedquire avatar dignifiedquire commented on August 19, 2024

Should be fixed in 0.3.3

from karma-junit-reporter.

merlosy avatar merlosy commented on August 19, 2024

Hi all,

It seems I still have the issue:

PhantomJS 1.9.8 (Linux 0.0.0): Executed 21 of 23 (skipped 2) SUCCESS (0.047 secs / 0.099 secs)
�[33m25 08 2015 11:33:46.243:WARN [reporter.junit]: �[39mCannot write JUnit xml
    ENOENT, open '/test/results/PhantomJS_1.9.8_(Linux_0.0.0)/test-results-jenkins.xml'

I'm using:

  • node v0.12.7
  • grunt-cli v0.1.13
  • grunt v0.4.5
  • bower v1.4.1
  • karma-junit-reporter v0.3.3

Regarding my karma definition:

junitReporter: {
      outputDir: '/test/results/',
      outputFile: 'test-results-jenkins.xml'
},

I'm trying to build it with Jenkins.. If I have a look in my jenkins workspace, the 'result' folder is not created. Do I have to sudo the build process?

Any other ideas?

from karma-junit-reporter.

watchwithmike avatar watchwithmike commented on August 19, 2024

Similar to @merlosy I'm still seeing this problem in 0.3.6

PhantomJS 1.9.8 (Mac OS X 0.0.0): Executed 250 of 250 SUCCESS (7.251 secs / 0.693 secs)
30 09 2015 21:01:52.134:WARN [reporter.junit]: Cannot write JUnit xml
    ENOENT, open '/Users/mike/git/project-name/build/test/PhantomJS_1.9.8_(Mac_OS_X_0.0.0)/test-results.xml'

When I role back to 0.2.2 and just use the outputFile parameter I get the expected results.

from karma-junit-reporter.

adriaanthomas avatar adriaanthomas commented on August 19, 2024

The ENOENT error looks like #67. The problem is that the browser-specific directory was not created.

from karma-junit-reporter.

watchwithmike avatar watchwithmike commented on August 19, 2024

@adriaanthomas Thank you, I agree that looks like the same problem. I'll await the next release.

from karma-junit-reporter.

dignifiedquire avatar dignifiedquire commented on August 19, 2024

Release was cut this morning

from karma-junit-reporter.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.