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

Rewrite the tests! now they're cross-platform! #7315

Merged
merged 6 commits into from
Jul 19, 2019

Conversation

strega-nil
Copy link
Contributor

@strega-nil strega-nil commented Jul 18, 2019

Currently, the test framework is Visual Studio's unit testing framework -- this is undiscoverable, and not cross platform. This PR rewrites the tests to use catch2, since it's single header and thus doesn't require any special handling.

  • write catch2 tests
  • rewrite/at least delete the VS project files
  • documentation!

@Rastaban Rastaban added the info:internal This PR or Issue was filed by the vcpkg team. label Jul 18, 2019
still need to test on macOS
also, delete tests.pch.h
@cbezault
Copy link
Contributor

Bless you for moving all those test files.

@grdowns grdowns self-assigned this Jul 19, 2019
@grdowns grdowns merged commit 8250553 into microsoft:master Jul 19, 2019
@strega-nil strega-nil deleted the new-tests branch July 19, 2019 04:41
strega-nil added a commit to strega-nil/vcpkg that referenced this pull request May 5, 2021
* begin exploratory rewriting of tests

* continue working on tests

* more test work! holy butts vcpkg-tests/plan.cpp was a bunch of work

* finish writing new tests

  - [x] write catch2 tests
  - [ ] rewrite/at least delete the VS project files
  - [ ] document running tests

* Fix tests to work on WSL, rewrite test vcxproj

still need to test on macOS
also, delete tests.pch.h

* Condense add_test calls
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
info:internal This PR or Issue was filed by the vcpkg team.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants