The Google Test Adapter is a Visual Studio Package (VSPackage) designed to complement the functionality of the "Test Adapter for Google Test" project. It facilitates the integration of the Google Test framework with Visual Studio Test Explorer for cross-platform C++ projects. This extension enables developers to seamlessly run and view the results of their Google Test unit tests directly within Visual Studio, even when working on Linux projects.
- Cross-Platform Support: Run and manage Google Test unit tests on cross-platform C++ projects, including Linux.
- Visual Studio Integration: Integrate Google Test results into the Visual Studio Test Explorer for a unified testing experience.
- Seamless Workflow: Enjoy a seamless workflow by executing and viewing test results within the familiar Visual Studio environment.
- Download the latest release from the GitHub Releases page.
- Run the installer and follow the on-screen instructions.
- Restart Visual Studio to activate the Google Test Adapter.
- Open your cross-platform C++ project in Visual Studio.
- Write your unit tests using the Google Test framework.
- Build your project.
- Open the Test Explorer in Visual Studio (
Test
>Windows
>Test Explorer
). - Your Google Test unit tests should now appear in the Test Explorer.
- Run your tests and view the results directly within Visual Studio.
Checkout out Wiki for more information on usage
The Google Test Adapter provides various configuration options to customize its behavior. These options can be accessed through the Visual Studio options menu.
To access the options:
- Open Visual Studio.
- Navigate to
Tools
>Options
. - In the left navigation pane, select
Google Test Adapter
.
Checkout out Wiki for more information on usage
We welcome contributions from the community. If you find any issues or have suggestions for improvements, please open an issue or create a pull request on the GitHub repository.
This project is licensed under the MIT License.
- The Google Test Adapter is built upon the Google Test framework, a powerful and widely used C++ testing library.
- This project is complementary to the "Test Adapter for Google Test" project.
For any inquiries or support, please contact [[email protected]].