Re: [PATCH v8 0/3] Add unit test framework and project plan
- From
Junio C Hamano <gitster@pobox.com>
- Date
- Oct 9, 2023, 23:50 UTC
- Message-ID
- <xmqqh6mzwe24.fsf@gitster.g>
- In-Reply-To
- <cover.1696889529.git.steadmon@google.com>
Josh Steadmon <steadmon@google.com> writes:
Show 16 quoted lines
> Changes in v8:
> - Flipped return values for TEST, TEST_TODO, and check_* macros &
> functions. This makes it easier to reason about control flow for
> patterns like:
> if (check(some_condition)) { ... }
> - Moved unit test binaries to t/unit-tests/bin to simplify .gitignore
> patterns.
> - Removed testing of some strbuf implementation details in t-strbuf.c
>
>
> Josh Steadmon (2):
> unit tests: Add a project plan document
> ci: run unit tests in CI
>
> Phillip Wood (1):
> unit tests: add TAP unit test frameworkThank you, all.
The other topic to adjust for cmake by Dscho builds on this topic, and it needs to be rebased on this updated round. I think I did so correctly, but because I use neither cmake or Windows, the result is not even compile tested. Sanity checking the result is very much appreciated when I push out the result of today's integration cycle.
$ git log --oneline --first-parent --decorate master..js/doc-unit-tests-with-cmake d0773c1331 (js/doc-unit-tests-with-cmake) cmake: handle also unit tests 192de6de57 cmake: use test names instead of full paths e1d97bc4df cmake: fix typo in variable name e07499b8a7 artifacts-tar: when including `.dll` files, don't forget the unit-tests 11264f8f42 unit-tests: do show relative file paths 6c76c5b32d unit-tests: do not mistake `.pdb` files for being executable 295af2ef26 cmake: also build unit tests 31c2361349 (js/doc-unit-tests) ci: run unit tests in CI 3a47942530 unit tests: add TAP unit test framework eeea7d763a unit tests: add a project plan document