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

Reccomend Catch integrations with popular IDEs on Running Tests page #161

Open
kevlhw opened this issue Nov 9, 2017 · 3 comments
Open

Comments

@kevlhw
Copy link

kevlhw commented Nov 9, 2017

If the cpp track will be sticking with Boost for unit testing, it may be worth mentioning on the Running the Tests page that there are addons for many popular cpp environments to support boost in a friendlier way.

For example:

If you're developing with a common IDE like Visual Studio, you may wish you install plugins for Boost Testing, if available, that can make unit testing a little friendlier. Here are a few examples for Visual Studio 2017, and Visual Studio 2015.

Note that I've only tried the one for 2017. This could be kept as a VS-only note, or try to find similar addons for other popular IDEs if they need it.

@kevlhw kevlhw changed the title Reccomend Boost integrations with popular IDEs Reccomend Boost integrations with popular IDEs on Running Tests page Nov 9, 2017
@LegalizeAdulthood
Copy link
Contributor

The C++ track just switched to using Catch, but I believe there are also IDE integrations for running those tests.

@arcuru arcuru changed the title Reccomend Boost integrations with popular IDEs on Running Tests page Reccomend Catch integrations with popular IDEs on Running Tests page Apr 20, 2019
@arcuru
Copy link
Contributor

arcuru commented Apr 20, 2019

I've updated the title, I think this is a good improvement to the docs. Many IDE's also have support for Catch, I know CLion does at least - https://blog.jetbrains.com/clion/2017/03/to-catch-a-clion/

Visual Studio I believe does as well, but I'm not entirely sure if it's native or a plugin.

@CDEguia
Copy link
Contributor

CDEguia commented Sep 1, 2019

VS Code Catch plugins:

Place catch2TestExplorer.executables: "./build/*" somewhere in your settings.json file. Currently mine is set to:

        "catch2TestExplorer.executables": {
        "name": "${filename}_tests",
        "pattern": "./build/*",
        "cwd": "${absDirpath}"
        },

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

4 participants