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

Event data improvements #193

Merged
merged 1 commit into from
Nov 11, 2015
Merged

Event data improvements #193

merged 1 commit into from
Nov 11, 2015

Conversation

vadimdemedes
Copy link
Contributor

This PR lays groundwork for #132 and #192 by allowing to easily send & receive custom test properties.

duration: test.duration,
title: test.title,
error: test.assertError,
err: test.assertError,
Copy link
Member

Choose a reason for hiding this comment

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

I would prefer error for consistency.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Haha, I changed it to err for consistency too :D

Copy link
Member

Choose a reason for hiding this comment

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

I feel it's different. This is more like passing around data than variables. Think of it as a table of data and the keys are the headers. At least how it's like in my mind. Also none of the other keys are abbreviated. Just looks wrong.

sindresorhus added a commit that referenced this pull request Nov 11, 2015
@sindresorhus sindresorhus merged commit b55a05a into master Nov 11, 2015
@sindresorhus sindresorhus deleted the event-improvements branch November 11, 2015 20:02
@sindresorhus
Copy link
Member

Clean code is happy code :D

@vadimdemedes
Copy link
Contributor Author

Couldn't agree more!

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