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

how to change filepath for html_table_reporter in reporter options #167

Closed
DeChrish opened this issue Aug 10, 2015 · 5 comments
Closed

how to change filepath for html_table_reporter in reporter options #167

DeChrish opened this issue Aug 10, 2015 · 5 comments

Comments

@DeChrish
Copy link

I need to include 'html_table_reporter' and need to save the html reports in target filepath, but captureFile option is not workling.

@lanej
Copy link
Member

lanej commented Aug 10, 2015

@DeChrish i'm sorry but neither of the references correspond to anything in the codebase. Can you be more specific about what you're trying to do ?

@DeChrish
Copy link
Author

Mocha options :
config.mochaTest[name] = {
options: {
reporter: 'good-mocha-html-reporter',
timeout: 60000,
logErrors: true,
captureFile: directories.target + '/' + name + '/test-results.html'
}

good-mocha-html-reporter - config file:
module.exports = {
path: '', // full or relative path (relative to your execution folder)
filename: 'report.html',
mode: 'Verbose'
}

When i use 'good-mocha-html-reporter' in mocha options, the report is generated as 'report.html' which is added in reporter-config file.
I want to use captureFile option to save the report file.
Is it possible?

@geemus
Copy link
Member

geemus commented Aug 11, 2015

I suspect you may be reporting this against the wrong project. That doesn't appear to coincide with anything in fog-aws. Perhaps you should ask more directly on the mocha related project?

@geemus geemus closed this as completed Aug 11, 2015
@DeChrish
Copy link
Author

oops sorry

@geemus
Copy link
Member

geemus commented Aug 12, 2015

No problem.

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

3 participants