Comments (5)
Not currently, but I'm open to suggestions. 😄
What's your use case exactly?
from pytest-cpp.
currently the use case would be to mark by feature set, types of tests and target module. i.e.: if i have a camera_lib .so being built from n classes, someone can run all the unittests for camera by running -m="unittest,camera_lib". Or someone can run all RPC interface tests that are marked as rpctest, endtoend and using_camera_lib. we have multiple test types/categories, these are just examples I brainstormed.
from pytest-cpp.
I see, thanks. Out of curiosity, do you use Boost.Python or Google Tests?
One option which is straightforward would be to automatically mark tests with the name of their executable, so all tests collected from camera_lib
would have a camera_lib
mark. Do you have other suggestions on how you would like to add some other custom marks?
from pytest-cpp.
Maybe if we could generate pytest (real) tests and each test would run the cpp test by command line then we could mark tests and have fixtures for them as well.
from pytest-cpp.
@nrbnlulu at runtime you mean? That's a possibility, but would require a significant rewrite of the plugin.
from pytest-cpp.
Related Issues (20)
- Add support for Catch2 v3 HOT 12
- Catch2: escape special characters in test names HOT 1
- Google: Support expected failures HOT 11
- Type-Parametrized Gtests failure HOT 4
- Collect error when using xdist and temporary .pyc file is deleted
- Ignore python test files maybe? HOT 10
- Skipping invalid test suites HOT 3
- Verbose boost test logging to stdout HOT 6
- C++ tests not collected due to '*_test' mask on Windows HOT 4
- Add a way to use valgrind, catchsegv or similar tool HOT 2
- Add support for Catch testing framework HOT 4
- No skipped message is included in result.xml file
- Key Error after upgrade to 2.1.0 HOT 4
- Getting some warnings with pytest 7.0 HOT 2
- Incompatibility between pytest 6.x and pytest-cpp==2.1.2 HOT 2
- Error when using gtest arguments HOT 5
- Add type-checking with mypy
- Issues if a test exits before xml is created HOT 1
- Add support of prefix-ish parameter to run executable HOT 15
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from pytest-cpp.