question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Report Directory Structure when using an outputFile name

See original GitHub issue

There seems to be an issue with the report directory structure when specifying an output directory and outputFile.

Using the karma.conf:

junitReporter: {
        outputDir: 'reports/karma',
        outputFile: 'report.xml',
        suite: ''
    },

I would expect: /reports/karma/$browserName/report.xml /reports/karma/$browserName/report.xml /reports/karma/$browserName/report.xml etc etc for the various browsers, however my output appears like so: screen shot 2015-08-11 at 11 01 34

Without specifying the outputFile the output is as expected

junitReporter: {
        outputDir: 'reports/karma',
        outputFile: undefined,
        suite: ''
    },

screen shot 2015-08-11 at 11 03 38

Issue Analytics

  • State:closed
  • Created 8 years ago
  • Comments:11 (6 by maintainers)

github_iconTop GitHub Comments

4reactions
punisherxcommented, Feb 9, 2018

I still had this issue with a newer version, but just for your information you can set useBrowserName to false:

junitReporter: {
   outputDir: 'reports/karma',
   outputFile: results.xml,
   suite: '',
   useBrowserName: false
},
0reactions
fraserhartcommented, Aug 24, 2015

Beautiful. Thanks guys 😃

Read more comments on GitHub >

github_iconTop Results From Across the Web

How to export the directory tree of a folder in Windows
You can use any name for it, and you can specify any file type, ... Open the output file and the entire directory...
Read more >
List Your Folder Structure in Windows - UW Finance
Create a list of all folders in a directory using the Windows command prompt. Use this inventory of existing folders and files to...
Read more >
Folder Structure Settings | Altium Designer 23 User Manual
Use custom output file name - select to use a custom output file name. Click the drop-down arrow to open a list from...
Read more >
Exporting A Directory Tree of A Folder in Windows - FSV Blog
1. Navigate to the folder and open cmd. Using the Windows Explorer, go to the folder that you need exported. · 2. Run...
Read more >
How to properly set the output file structure with maven ...
The exact name of the file under the tar does not matter to me; what does matter is that the bin folder and...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found