qunitjs / js-reporters

📋 Common Reporter Interface (CRI) for JavaScript testing frameworks.
MIT License
60 stars 18 forks source link

aws codebuild reports integration #122

Closed Leooo closed 4 years ago

Leooo commented 4 years ago

Hello, this issue is to ask for information / guidance on integrating qunit (used through ember-qunit) with AWS Codebuild, more specifically display test reports in AWS.

Going through the AWS docs, my starting point is that:

Cucumber JSON JUnit XML NUnit XML NUnit3 XML TestNG XML Visual Studio TRX

Any idea what would be the way forward when using js-reporters, for non-specialists? Would that be compatible with AWS Codebuild reports? If not, what would be needed to let them be?

Many thanks

Leooo commented 4 years ago

@flore77 @Krinkle please any idea? Thanks

Krinkle commented 4 years ago

The js-reporters project is still very much in an early stage. But if using QUnit, then probably a plugin for it will do the job. If you're running it through something like Karma, then that may also have plugins available that do it for you.

Are you running it on Node.js CLI, or in the browser? If in the browser, how are you currently running it in integration?

Leooo commented 4 years ago

@Krinkle thanks for the response, I'm using ember test command to run the tests in my CI using ember-qunit (and actually ember-exam but I think that is a detail).

Leooo commented 4 years ago

I will investigate using plugins yes - not sure how to do using ember-qunit but I'll explore thanks.

Leooo commented 4 years ago

@Krinkle any hint on how to add such plugins into ember-qunit please? Not finding any issues / precedents for that, and the setup instructions in the addon are not very explicit ("include after the Qunit core script")

Leooo commented 4 years ago

update: have been shown https://github.com/simplabs/testem-gitlab-reporter by @turbo87 that may help

Leooo commented 4 years ago

@turbo87 adding https://github.com/simplabs/testem-gitlab-reporter + https://github.com/xdumaine/testem-multi-reporter as per the docs works like charm for codebuild reports thanks!