-
Notifications
You must be signed in to change notification settings - Fork 522
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
karma_web_test
should create junit reporting outputs
#983
Comments
I think @jvanallen93 is going to take a stab at this |
I think I might be overthinking this, this seems pretty straight forward and just setting the |
@jvanallen93 yes it should have some testing. We want to assert that you run That means we need a test that runs Bazel, so there are two options:
|
Thanks for the insight and feedback @alexeagle! |
Is there any progress on this? Could this solution be reused for the "jasmine_test" rule as well? |
This here: https://github.com/bazelbuild/rules_nodejs/pulls/Toxicable We could extend it to take in whatever format karma can give us, convert it to lcov, let bazel process it. Happy to take PR's on this extending from my curren work |
Sorry, it thought this ticket was for junior test reports, not coverage per se. Or does your PR handle writing junit reports to show the tests run? |
Ah right, my mistake I misunderstood junit reporting. |
Yeah sorry peepz....life got busy. I believe I had it working, at least for Karma, just needed to spend time getting the tests in place. Now I think I'm getting some free time that I can pick this up again. |
This issue has been automatically marked as stale because it has not had any activity for 60 days. It will be closed if no further activity occurs in two weeks. Collaborators can add a "cleanup" or "need: discussion" label to keep it open indefinitely. Thanks for your contributions to rules_nodejs! |
This is still an issue that would be nice to have solved, I don't think it should be closed... |
AFACT this has been solved for some time now, at least when i use |
After trying this out again it seems like it is now possible to use the karma-junit reporter plugin without patching the karma rules. The trick is to add the plugin to the list of I don't know when the karma rule was changed to allow adding custom reporters but it works now. This was tested with latest version of I think this issue should be kept open with the intention of documenting how to add the junit reporter. |
This issue has been automatically marked as stale because it has not had any activity for 90 days. It will be closed if no further activity occurs in two weeks. Collaborators can add a "cleanup" or "need: discussion" label to keep it open indefinitely. Thanks for your contributions to rules_nodejs! |
This issue was automatically closed because it went two weeks without a reply since it was labeled "Can Close?" |
🚀 feature request
Relevant Rules
karma_web_test
Description
karma_web_test
should provide junit reporting output to be consumed by tooling.Describe the solution you'd like
karma_web_test
should automatically create junit reporting outputs.Describe alternatives you've considered
I would expect that it is possible to provide a karma config which triggers junit reporting, it seems that it makes the most sense to have the reporting automatically created.
The text was updated successfully, but these errors were encountered: