Repository navigation
Conversation
jhunkeler
marked this pull request as draft
September 24, 2026 20:10
jhunkeler
force-pushed
the
unittest
branch
2 times, most recently
from
October 9, 2026 05:43
88ce69b to
45ae9d4
Compare
* Change stats wording * Add wrappers for TEST_STATS_SHOW and TEST_STATS_UPDATE * Update comment on TEST_BEGIN to match usage
* All stub functions are set to skip
* Rename TEST_DESCRIBE to TEST_MARK, as in "mark what is happening" * Errors are bright bold red * Pretty up test summary output * TEST_END has been renamed to TEST_RETURN * TEST_RETURN shall be called before the closing brace, not after * TEST_SUITE_BEGIN takes a name argument to be used by the TEST_SUITE_ macros/functions
* Since the stats array is based on the number of possible return codes, just define the max as the last element in the enum
* Add TEST_VMSG to properly handle variadic arguments passed in *
* Incorporate into log file name
* Add environment verbose mode toggle
* Now all return types call the teardown function
* Remove mktemps usage * Add TEST_SUITE_SAFE_NAME() - sanitize the suite name * When creating logs, namespace them using the suite name as the parent directory * Rename TestRedirect.origin member to .unit_name * Add TestRedirect.unit_suite member * Fail if the log directory or its leaf cannot be created
* Set STCUNIT_REFTYPE to "tags" for tagged versions and "heads" for named branches
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.
Let's do the impossible