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

Separate/Remove the HTML reporter enhancements? #10

Open
JamesMGreene opened this issue Sep 16, 2014 · 5 comments
Open

Separate/Remove the HTML reporter enhancements? #10

JamesMGreene opened this issue Sep 16, 2014 · 5 comments

Comments

@JamesMGreene
Copy link
Owner

In QUnit core, the HTML reporter has been [mostly] divided to work independently of the core codebase. Should we also separate the HTML reporter aspects of this plugin? The plugin should still be able to be used and add value even if the HTML reporter is not being used.

Ideally, this plugin wouldn't even need to modify the HTML Reporter at all. The two things it currently updates are:

  1. The "rerun" behavior, which is sets to open up the suite's individual test page.
  2. Undoes the auto-expansion of failed tests

Also, potential future visual enhancements to the HTML Reporter as a result of a forthcoming PR for qunitjs/qunit#543 (nested suites) would also probably work wonders for cleaning up the UI of the HTML Reporter when used in conjunction with qunit-composite.

@JamesMGreene JamesMGreene changed the title Separate the HTML reporter enhancements? Separate/Remove the HTML reporter enhancements? Sep 16, 2014
@JamesMGreene
Copy link
Owner Author

@jzaefferer @Krinkle @leobalter Thoughts on this?

@jzaefferer
Copy link

Seems fine to me to drop both enhancements. For the record, I heavily prefer to release 1.16 before spending any time on this.

@JamesMGreene
Copy link
Owner Author

@jzaefferer: Yeah, definitely no need for this to hold up QUnit core v1.16.0. Core will be my first focus when I get time again.

@platinumazure
Copy link
Contributor

FYI, pull request #17 may help with item 1 in your list (in that the decision to simply drop support for the "Rerun" links would not impede access to individual suites).

@platinumazure
Copy link
Contributor

@JamesMGreene Thanks very much for merging PR #17. If you want to get back to this issue, I wanted to mention once again that #17 may simplify your decision here:

  1. The "rerun" behavior, which is sets to open up the suite's individual test page.

If you wanted to just remove the composite rerun-modifying functionality and let it follow QUnit's normal behavior, you could do so and just note in your docs that the suite links at the top of the page are useful for running individual suites.

Of course, you may have an entirely different direction in mind. If so, no worries.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants