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

implement #3130 - add record_xml_attribute fixture #3132

Conversation

raphaelcastaneda
Copy link

Allows insertion of new xml attributes on <testcase> elements, or overwriting their default values.

@raphaelcastaneda raphaelcastaneda force-pushed the feature/add-record-xml-attribute branch 3 times, most recently from 8d6fe39 to 2fc4175 Compare January 19, 2018 00:41
@raphaelcastaneda raphaelcastaneda changed the title implement #3130 - adding record_xml_attribute fixture implement #3130 - add record_xml_attribute fixture Jan 19, 2018
@raphaelcastaneda raphaelcastaneda force-pushed the feature/add-record-xml-attribute branch from 2fc4175 to a699ec1 Compare January 19, 2018 00:49
@coveralls
Copy link

Coverage Status

Coverage decreased (-0.02%) to 92.599% when pulling a699ec1 on raphaelcastaneda:feature/add-record-xml-attribute into 1fd67c9 on pytest-dev:features.

Copy link
Member

@nicoddemus nicoddemus left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The code looks great! Could you please also add some documentation to usage.rst, similar to the description of record_xml_property? I think you can also show the xsd structure you described in #3130 so it is clear what attributes the user is allowed to change.

@coveralls
Copy link

coveralls commented Jan 20, 2018

Coverage Status

Coverage decreased (-0.02%) to 92.605% when pulling a5e60b6 on raphaelcastaneda:feature/add-record-xml-attribute into 3b3d237 on pytest-dev:features.

Copy link
Member

@nicoddemus nicoddemus left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks @raphaelcastaneda, LGTM!

@raphaelcastaneda raphaelcastaneda force-pushed the feature/add-record-xml-attribute branch from 0d3edc0 to f518e95 Compare January 22, 2018 23:12
update incorrect expected attribute value in test_record_attribute

attr names must be strings

Update CHANGELOG formatting

update usage documentation

Fix versionadded for record_xml_attribute

Indent the xml schema properly inside the warning box in the docs
@raphaelcastaneda raphaelcastaneda force-pushed the feature/add-record-xml-attribute branch from f518e95 to a5e60b6 Compare January 22, 2018 23:15
@raphaelcastaneda
Copy link
Author

Squashing the commits. Hopefully this also gives the tests a chance to run without that network error :)

@nicoddemus nicoddemus merged commit 49773b5 into pytest-dev:features Jan 29, 2018
@raphaelcastaneda raphaelcastaneda deleted the feature/add-record-xml-attribute branch January 29, 2018 18:57
@raphaelcastaneda raphaelcastaneda restored the feature/add-record-xml-attribute branch January 29, 2018 18:58
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.

3 participants