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

Update the documentation for the skip parameter in the test #2102

Merged
merged 9 commits into from
Mar 13, 2024

Conversation

gmpassos
Copy link
Contributor

It's not documented that test(skip:) will overwrite the behavior of the group(skip:)

  • [v] I’ve reviewed the contributor guide and applied the relevant portions to this PR.

@gmpassos gmpassos changed the title Update the documentation for the skip parameter in the test funct… Update the documentation for the skip parameter in the test Sep 26, 2023
@kevmoo
Copy link
Member

kevmoo commented Jan 11, 2024

This PR needs to be rebased

@gmpassos
Copy link
Contributor Author

This PR needs to be rebased

Resolved

gmpassos and others added 3 commits January 24, 2024 17:21
Add a unit test for the described behavior.
Update an integration test to demonstrate that a suite level `@Skip()`
annotation cannot be overridden, it will always show as _one_ test
skipped.

Remove all but the first `[]` link for each reference in the paragraph.
Surround the other references with backticks for code blocks.
@natebosch
Copy link
Member

Hmm, I pushed a commit which added tests, but the PR didn't update like it should.

I'm not sure if there is some way to poke the PR to get it to pick up the new commit?

gmpassos@62855be

@gmpassos
Copy link
Contributor Author

I think that the PR is OK now. It's showing the changed test files.

@gmpassos
Copy link
Contributor Author

Why use 1group1 and 1test1 in the documentation? Is this recognized in a different way by dartdoc?

@natebosch
Copy link
Member

Why use 1group1 and 1test1 in the documentation? Is this recognized in a different way by dartdoc?

Unintentional typos, I ran a shortcut to change the surrounding characters but typed 1 instead of ` for the surrounding character.

@natebosch
Copy link
Member

@jakemac53 - can you take another look with the added tests?

@natebosch natebosch merged commit 6a4e75a into dart-lang:master Mar 13, 2024
33 checks passed
copybara-service bot pushed a commit to dart-lang/sdk that referenced this pull request Mar 14, 2024
Revisions updated by `dart tools/rev_sdk_deps.dart`.

dartdoc (https://github.com/dart-lang/dartdoc/compare/89a3b4a..b001a15):
  b001a150  2024-03-13  Kallen Tu  Remove ModelElementRenderer. (dart-lang/dartdoc#3717)
  e8ee7983  2024-03-12  Kallen Tu  Remove EnumFieldRenderer. (dart-lang/dartdoc#3716)

ecosystem (https://github.com/dart-lang/ecosystem/compare/49a3cbb..5a900ca):
  5a900ca  2024-03-12  Moritz  Only check text files for "do not submit" string (dart-lang/ecosystem#243)

http (https://github.com/dart-lang/http/compare/8da6e0e..5dfea72):
  5dfea72  2024-03-11  Derek Xu  Add getters to classes (dart-lang/http#1151)

test (https://github.com/dart-lang/test/compare/ba64bbb..6a4e75a):
  6a4e75a6  2024-03-13  Graciliano Monteiro Passos  Update the documentation for the `skip` parameter in the `test` (dart-lang/test#2102)

web (https://github.com/dart-lang/web/compare/51e594b..2f13cd5):
  2f13cd5  2024-03-12  Devon Carew  fix unresolved dartdoc links (dart-lang/web#200)
  686827a  2024-03-12  Srujan Gaddam  Remove reference to static interop and point to dart.dev page for JS interop (dart-lang/web#206)
  9b7e29d  2024-03-12  Devon Carew  Add a 'sourced from mdn docs' line to the MDN sourced dartdoc (dart-lang/web#198)

Change-Id: I99e68e24efda6f0f95ac3b0a51a2c76e0b0971f3
Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/357661
Commit-Queue: Devon Carew <devoncarew@google.com>
Reviewed-by: Konstantin Shcheglov <scheglov@google.com>
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.

4 participants