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

Q: Overriding Jest testResultsProcessor #2824

Closed
Dubes opened this issue Jul 20, 2017 · 2 comments
Closed

Q: Overriding Jest testResultsProcessor #2824

Dubes opened this issue Jul 20, 2017 · 2 comments

Comments

@Dubes
Copy link
Contributor

Dubes commented Jul 20, 2017

Overriding testResultProcessor config for jest is not supported without ejecting. I was wondering why and whether you would see an alternative.

Context
We are a distributed team working on a multi-module project based on many technologies (java, groovy and of course react!)

What I am trying to achieve
I am trying to add a reporter to jest so that my CI server can parse them.
I can see that having this enabled on every test run would be an overhead, right now, I would see it as an extension to CI Heuristics.

Why I need it
We use Bamboo for our CI pipeline. Bamboo can parse unit test reports in many formats (JUnit for e.x.) and Bamboo uses this data to provide lot of useful information to the team at a quick glance, such as:

  • Are the number of tests growing or shrinking from the build plan screen
  • Which test failed the build
  • History of an individual test case: does it fail often? This has in the past help us identify areas in our code/test strategy which can require attention
  • Create JIRA ticket quickly which preserves the context so that one can take a look at it later.

Other info
react-scripts: 1.0.10
CI Server: Bamboo

Thoughts, feedback, criticism welcome.

@gaearon
Copy link
Contributor

gaearon commented Jul 20, 2017

Please add a separate script that passes it as command line argument. That should be enough.

#2474 (comment)

@Dubes
Copy link
Contributor Author

Dubes commented Jul 20, 2017

Thank you! I must improve my git issue searching skills!

@lock lock bot locked and limited conversation to collaborators Jan 21, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

2 participants