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

fix: TAP Schema treats SKIP as a directive, at the end of the line #262

Merged
merged 1 commit into from
Nov 18, 2020
Merged

fix: TAP Schema treats SKIP as a directive, at the end of the line #262

merged 1 commit into from
Nov 18, 2020

Conversation

gregswift
Copy link
Contributor

@gregswift gregswift commented Nov 16, 2020

Playing around with tap-to-junit vlaidations I found that the only safe way
to get the skips parsed was to use capitalized # SKIP with the space after the description.

Technically lowercase seems to be allowed but the majority of the schema's
examples show capitalized.

https://testanything.org/tap-version-13-specification.html

In the schema it also says any explanation of why it was skipped should go
after the # SKIP, but the description of the test still goes to the left.

I wasn't sure what all would be necessary but it would be kewl to have the
returned status value for the reason they were skipped map to a string
to append to the line.

Playing around with tap-to-junit vlaidations I found that the only safe way
to get the skips parsed was to use capitalized `# SKIP` with the space after
the description.

Technically lowercase seems to be allowed but the majority of the schema's
examples show capitalized.

In the schema it also says any explanation of why it was skipped should go
after the `# SKIP`, but the description of the test still goes to the left.

https://testanything.org/tap-version-13-specification.html
@carlossg carlossg merged commit 529b532 into instrumenta:master Nov 18, 2020
@carlossg
Copy link
Collaborator

thanks!

@gregswift gregswift deleted the tap-schema branch November 19, 2020 16:54
@gregswift
Copy link
Contributor Author

@carlossg any idea when the next release might be?

@carlossg
Copy link
Collaborator

not sure I can cut one, if @garethr doesn't do it I'll give it a try

carlossg added a commit that referenced this pull request Mar 29, 2021
@carlossg
Copy link
Collaborator

this test is failing I don't know what happened in CI when it was merged

carlossg added a commit that referenced this pull request Mar 29, 2021
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