WIP: Introspection APIs (#366)#378
Draft
eschaton wants to merge 13 commits into
Draft
Conversation
Set tab_width to 8, indent_size to 4, and indent_style to space.
For consistency with other API, `tcase_name()` now takes a TCase and returns its name, rather than returning the name of the currently-running TCase. The currently-running TCase is exposed by a new API, `tcase_current()`. This also required changing the `tcase_fn_start()` internal function to take the currently-running TCase, so I also took the opportunity to rename it to `_tcase_fn_start()` so that it's clearly an exposed internal function.
Collaborator
Author
|
Anyone have any idea what the test failures here might be, based on eyeballing my commits? I expect it's related to my change to make |
This reverts commit c259dc0.
For consistency with other API, `tcase_name()` now takes a TCase and returns its name, rather than returning the name of the currently-running test case. The name of the currently-running test case is exposed by a new API, `tcase_current_name()`.
Since it's an exposed internal function, `tcase_fn_start()` should be `_tcase_fn_start()` instead.
59ea0dc to
28d0c7c
Compare
Collaborator
Author
|
Turns out one just can't rely on being able to get a filled-in |
Collaborator
Author
|
Remaining to-do items:
|
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Adding introspection APIs for test suite runners, suites, test cases, and tests.