Submit Your Ideas

We want to hear from you - vote for the features and improvements you'd most like to see, or submit your own ideas if you don't find them already listed.

Open source the test splitting (and duration recording) code

I've been surprised many times by the behavior of

$ circleci tests split

 

It would be great if we could see that code to determine how the splitting is working. I've ended up filing several one-off tickets asking for help, but every time I have an issue, I feel like I'm operating completely black-box, and would love to just look at the code myself, which I don't imagine would be sensitive/proprietary?

 

The other code I'd love access to is whatever is transposing the junit XML assets into the json object that gets passed along as the timings file to subsequent builds. It seems like it may not take into account the difference between testsuite duration and aggregate testcase duration when determining how to split tests by filename -- so would save us a bunch of hassle to just understand that piece (and even contribute) if possible.

 

Thanks for considering!

  • Avatar32.5fb70cce7410889e661286fd7f1897de Guest
  • Feb 21 2018
  • Future consideration
  • Attach files