Skip to content

Combine output into one report when running multiple files? #32

Open
@JoshMock

Description

More of a request than a bug -- and I may be interested and willing to contribute work if the idea seems cogent: when running grunt mocha_phantomjs on more than one HTML file, it'd be handy to have a custom reporter that compiles all the output into a single result.

As it stands right now, if it's running on, say, 20 files, and there's a test failure in the first test file, you have to scroll all the way back up through 20 sets of test results to read the error output, rather than a single concatenated set of results.

If the idea seems worth pursuing, a potential follow-up concept would be making it more performant on a large number of files by not starting a fresh Phantom process for each file. That may be more of a concern for the mocha-phantomjs project than this, though. I'm not intimate enough with the code of either project to know where that line is drawn.

Let me know your thoughts! Like I said, I'd be happy to contribute if you think the idea has merit.

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions