Skip to content

Conversation

@juanca
Copy link

@juanca juanca commented Nov 8, 2018

Motivation

I want to split my tests by individual test timings.

Changes

Ensures line_number is present in the XML result for each test.

Concerns

  1. Should the tests assert for specific line numbers?
  2. Are shared examples captured correctly?

This can be useful for splitting a test suite by individual tests (instead of just files).
Looks like the metadata is buried in `example_group` hashes.
@sj26
Copy link
Owner

sj26 commented Nov 8, 2018

Hi @juanca, thanks for your contribution!

I generally don't accept anything that isn't provided by junit or the junit xml standard. This gem is intended for shoe-horning rspec output into junit consumers. Are these attributes produced or consumed in junit elsewhere?

If you're looking for a format for capturing rich rspec information for programmatic analysis then you might like to consider rspec's built-in json output.

@sj26 sj26 closed this Nov 8, 2018
@juanca
Copy link
Author

juanca commented Nov 8, 2018

No problem, appreciate the quick response!

Are these attributes produced or consumed in junit elsewhere?

I did a bit of research and it looks like an overwhelming "no."

Closing.

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

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants