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

Spec: Remove "todo" from Assertion event data #119

Merged
merged 2 commits into from
Sep 25, 2020
Merged

Conversation

Krinkle
Copy link
Member

@Krinkle Krinkle commented Sep 24, 2020

  • This is redundant with the information already available in
    in the TestEnd event data.

  • We don't know of any testing frameworks that support flipping
    the "todo" status on a per-assertion basis, nor does that
    seem likely in the future as "Todo test" is defined as a test
    with one or more expected failures.

  • Presence of this in the spec was a barrier to entry as it means
    common assertion exception objects would require being cloned,
    mutated, or otherwise mapped to set accordingly.

Fixes #105.

@Krinkle Krinkle requested a review from keithamus September 24, 2020 21:13
* This is redundant with the information available in
  in the TestEnd event data.

* We don't know of any testing frameworks that support flipping
  the "todo" status on a per-assertion basis, nor does that
  seem likely in the future as "Todo test" is defined as a test
  with one or more expected failures.

* Presence of this in the spec was a barrier to entry as it means
  common assertion exception objects would require being cloned,
  mutated, or otherwise mapped to set accordingly.

Fixes #105.
@Krinkle Krinkle force-pushed the spec-rm-assert-todo branch from 852206f to f547d28 Compare September 24, 2020 21:25
Copy link

@keithamus keithamus left a comment

Choose a reason for hiding this comment

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

👍

@Krinkle Krinkle merged commit 7118646 into main Sep 25, 2020
@Krinkle Krinkle deleted the spec-rm-assert-todo branch September 25, 2020 21:36
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

todo property on assertions feels incorrect
2 participants