├── .github └── workflows │ ├── docs-deploy.yml │ ├── release.yml │ └── test.yml ├── .gitignore ├── .versup.json ├── LICENSE ├── README.md ├── cmake ├── FindPytest.cmake └── PytestAddTests.cmake ├── doc ├── _extensions │ ├── changelog.py │ └── github_user.py ├── _static │ └── style.css ├── api_reference.rst ├── conf.py ├── environment_variables.rst ├── favicon.ico ├── glossary.rst ├── index.rst ├── installing.rst ├── integration.rst ├── introduction.rst ├── release │ ├── index.rst │ ├── migration_notes.rst │ └── release_notes.rst ├── requirements.txt └── tutorial.rst ├── example ├── CMakeLists.txt ├── src │ ├── CMakeLists.txt │ ├── foo │ │ ├── CMakeLists.txt │ │ ├── foo.cpp │ │ └── foo.h │ └── python │ │ ├── CMakeLists.txt │ │ └── main.cpp └── test │ ├── CMakeLists.txt │ ├── fooTest.cpp │ ├── resource │ └── foo.txt │ ├── subfolder │ └── test_example2.py │ └── test_example.py ├── pyproject.toml ├── src └── pytest_cmake │ ├── __init__.py │ └── __main__.py └── test ├── 01-modify-name ├── CMakeLists.txt ├── data │ ├── conftest.py │ └── test_sample_data.py ├── strings │ └── test_string_methods.py └── test_math_operations.py ├── 02-library-path ├── CMakeLists.txt └── test_path.py ├── 03-python-path ├── CMakeLists.txt └── test_path.py ├── 04-environment ├── CMakeLists.txt └── test_env.py ├── 05-properties ├── CMakeLists.txt ├── check_test_property.cmake └── test_property.py ├── 06-extra-args ├── CMakeLists.txt ├── conftest.py ├── custom_args │ └── test_custom_args.py └── test_args.py ├── 07-working-directory ├── CMakeLists.txt ├── subdir │ └── test_correct.py └── test_incorrect.py ├── 08-test-paths ├── CMakeLists.txt ├── pytest.ini ├── test_a │ ├── choice.py │ ├── math │ │ └── test_add.py │ └── test_upper.py ├── test_b │ ├── math │ │ ├── test_power.py │ │ └── test_subtract.py │ └── test_concat.py └── test_incorrect.py ├── CMakeLists.txt └── utils └── compare_discovered_tests.cmake /.github/workflows/docs-deploy.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/python-cmake/pytest-cmake/HEAD/.github/workflows/docs-deploy.yml -------------------------------------------------------------------------------- /.github/workflows/release.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/python-cmake/pytest-cmake/HEAD/.github/workflows/release.yml -------------------------------------------------------------------------------- /.github/workflows/test.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/python-cmake/pytest-cmake/HEAD/.github/workflows/test.yml -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/python-cmake/pytest-cmake/HEAD/.gitignore -------------------------------------------------------------------------------- /.versup.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/python-cmake/pytest-cmake/HEAD/.versup.json -------------------------------------------------------------------------------- /LICENSE: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/python-cmake/pytest-cmake/HEAD/LICENSE -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/python-cmake/pytest-cmake/HEAD/README.md -------------------------------------------------------------------------------- /cmake/FindPytest.cmake: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/python-cmake/pytest-cmake/HEAD/cmake/FindPytest.cmake -------------------------------------------------------------------------------- /cmake/PytestAddTests.cmake: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/python-cmake/pytest-cmake/HEAD/cmake/PytestAddTests.cmake -------------------------------------------------------------------------------- /doc/_extensions/changelog.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/python-cmake/pytest-cmake/HEAD/doc/_extensions/changelog.py -------------------------------------------------------------------------------- /doc/_extensions/github_user.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/python-cmake/pytest-cmake/HEAD/doc/_extensions/github_user.py -------------------------------------------------------------------------------- /doc/_static/style.css: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/python-cmake/pytest-cmake/HEAD/doc/_static/style.css -------------------------------------------------------------------------------- /doc/api_reference.rst: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/python-cmake/pytest-cmake/HEAD/doc/api_reference.rst -------------------------------------------------------------------------------- /doc/conf.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/python-cmake/pytest-cmake/HEAD/doc/conf.py -------------------------------------------------------------------------------- /doc/environment_variables.rst: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/python-cmake/pytest-cmake/HEAD/doc/environment_variables.rst -------------------------------------------------------------------------------- /doc/favicon.ico: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/python-cmake/pytest-cmake/HEAD/doc/favicon.ico -------------------------------------------------------------------------------- /doc/glossary.rst: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/python-cmake/pytest-cmake/HEAD/doc/glossary.rst -------------------------------------------------------------------------------- /doc/index.rst: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/python-cmake/pytest-cmake/HEAD/doc/index.rst -------------------------------------------------------------------------------- /doc/installing.rst: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/python-cmake/pytest-cmake/HEAD/doc/installing.rst -------------------------------------------------------------------------------- /doc/integration.rst: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/python-cmake/pytest-cmake/HEAD/doc/integration.rst -------------------------------------------------------------------------------- /doc/introduction.rst: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/python-cmake/pytest-cmake/HEAD/doc/introduction.rst -------------------------------------------------------------------------------- /doc/release/index.rst: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/python-cmake/pytest-cmake/HEAD/doc/release/index.rst -------------------------------------------------------------------------------- /doc/release/migration_notes.rst: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/python-cmake/pytest-cmake/HEAD/doc/release/migration_notes.rst -------------------------------------------------------------------------------- /doc/release/release_notes.rst: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/python-cmake/pytest-cmake/HEAD/doc/release/release_notes.rst -------------------------------------------------------------------------------- /doc/requirements.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/python-cmake/pytest-cmake/HEAD/doc/requirements.txt -------------------------------------------------------------------------------- /doc/tutorial.rst: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/python-cmake/pytest-cmake/HEAD/doc/tutorial.rst -------------------------------------------------------------------------------- /example/CMakeLists.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/python-cmake/pytest-cmake/HEAD/example/CMakeLists.txt -------------------------------------------------------------------------------- /example/src/CMakeLists.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/python-cmake/pytest-cmake/HEAD/example/src/CMakeLists.txt -------------------------------------------------------------------------------- /example/src/foo/CMakeLists.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/python-cmake/pytest-cmake/HEAD/example/src/foo/CMakeLists.txt -------------------------------------------------------------------------------- /example/src/foo/foo.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/python-cmake/pytest-cmake/HEAD/example/src/foo/foo.cpp -------------------------------------------------------------------------------- /example/src/foo/foo.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/python-cmake/pytest-cmake/HEAD/example/src/foo/foo.h -------------------------------------------------------------------------------- /example/src/python/CMakeLists.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/python-cmake/pytest-cmake/HEAD/example/src/python/CMakeLists.txt -------------------------------------------------------------------------------- /example/src/python/main.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/python-cmake/pytest-cmake/HEAD/example/src/python/main.cpp -------------------------------------------------------------------------------- /example/test/CMakeLists.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/python-cmake/pytest-cmake/HEAD/example/test/CMakeLists.txt -------------------------------------------------------------------------------- /example/test/fooTest.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/python-cmake/pytest-cmake/HEAD/example/test/fooTest.cpp -------------------------------------------------------------------------------- /example/test/resource/foo.txt: -------------------------------------------------------------------------------- 1 | en:hello 2 | fr:bonjour 3 | es:hola -------------------------------------------------------------------------------- /example/test/subfolder/test_example2.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/python-cmake/pytest-cmake/HEAD/example/test/subfolder/test_example2.py -------------------------------------------------------------------------------- /example/test/test_example.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/python-cmake/pytest-cmake/HEAD/example/test/test_example.py -------------------------------------------------------------------------------- /pyproject.toml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/python-cmake/pytest-cmake/HEAD/pyproject.toml -------------------------------------------------------------------------------- /src/pytest_cmake/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /src/pytest_cmake/__main__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/python-cmake/pytest-cmake/HEAD/src/pytest_cmake/__main__.py -------------------------------------------------------------------------------- /test/01-modify-name/CMakeLists.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/python-cmake/pytest-cmake/HEAD/test/01-modify-name/CMakeLists.txt -------------------------------------------------------------------------------- /test/01-modify-name/data/conftest.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/python-cmake/pytest-cmake/HEAD/test/01-modify-name/data/conftest.py -------------------------------------------------------------------------------- /test/01-modify-name/data/test_sample_data.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/python-cmake/pytest-cmake/HEAD/test/01-modify-name/data/test_sample_data.py -------------------------------------------------------------------------------- /test/01-modify-name/strings/test_string_methods.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/python-cmake/pytest-cmake/HEAD/test/01-modify-name/strings/test_string_methods.py -------------------------------------------------------------------------------- /test/01-modify-name/test_math_operations.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/python-cmake/pytest-cmake/HEAD/test/01-modify-name/test_math_operations.py -------------------------------------------------------------------------------- /test/02-library-path/CMakeLists.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/python-cmake/pytest-cmake/HEAD/test/02-library-path/CMakeLists.txt -------------------------------------------------------------------------------- /test/02-library-path/test_path.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/python-cmake/pytest-cmake/HEAD/test/02-library-path/test_path.py -------------------------------------------------------------------------------- /test/03-python-path/CMakeLists.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/python-cmake/pytest-cmake/HEAD/test/03-python-path/CMakeLists.txt -------------------------------------------------------------------------------- /test/03-python-path/test_path.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/python-cmake/pytest-cmake/HEAD/test/03-python-path/test_path.py -------------------------------------------------------------------------------- /test/04-environment/CMakeLists.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/python-cmake/pytest-cmake/HEAD/test/04-environment/CMakeLists.txt -------------------------------------------------------------------------------- /test/04-environment/test_env.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/python-cmake/pytest-cmake/HEAD/test/04-environment/test_env.py -------------------------------------------------------------------------------- /test/05-properties/CMakeLists.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/python-cmake/pytest-cmake/HEAD/test/05-properties/CMakeLists.txt -------------------------------------------------------------------------------- /test/05-properties/check_test_property.cmake: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/python-cmake/pytest-cmake/HEAD/test/05-properties/check_test_property.cmake -------------------------------------------------------------------------------- /test/05-properties/test_property.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/python-cmake/pytest-cmake/HEAD/test/05-properties/test_property.py -------------------------------------------------------------------------------- /test/06-extra-args/CMakeLists.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/python-cmake/pytest-cmake/HEAD/test/06-extra-args/CMakeLists.txt -------------------------------------------------------------------------------- /test/06-extra-args/conftest.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/python-cmake/pytest-cmake/HEAD/test/06-extra-args/conftest.py -------------------------------------------------------------------------------- /test/06-extra-args/custom_args/test_custom_args.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/python-cmake/pytest-cmake/HEAD/test/06-extra-args/custom_args/test_custom_args.py -------------------------------------------------------------------------------- /test/06-extra-args/test_args.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/python-cmake/pytest-cmake/HEAD/test/06-extra-args/test_args.py -------------------------------------------------------------------------------- /test/07-working-directory/CMakeLists.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/python-cmake/pytest-cmake/HEAD/test/07-working-directory/CMakeLists.txt -------------------------------------------------------------------------------- /test/07-working-directory/subdir/test_correct.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/python-cmake/pytest-cmake/HEAD/test/07-working-directory/subdir/test_correct.py -------------------------------------------------------------------------------- /test/07-working-directory/test_incorrect.py: -------------------------------------------------------------------------------- 1 | raise RuntimeError("This test files should have been excluded") 2 | -------------------------------------------------------------------------------- /test/08-test-paths/CMakeLists.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/python-cmake/pytest-cmake/HEAD/test/08-test-paths/CMakeLists.txt -------------------------------------------------------------------------------- /test/08-test-paths/pytest.ini: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/python-cmake/pytest-cmake/HEAD/test/08-test-paths/pytest.ini -------------------------------------------------------------------------------- /test/08-test-paths/test_a/choice.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/python-cmake/pytest-cmake/HEAD/test/08-test-paths/test_a/choice.py -------------------------------------------------------------------------------- /test/08-test-paths/test_a/math/test_add.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/python-cmake/pytest-cmake/HEAD/test/08-test-paths/test_a/math/test_add.py -------------------------------------------------------------------------------- /test/08-test-paths/test_a/test_upper.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/python-cmake/pytest-cmake/HEAD/test/08-test-paths/test_a/test_upper.py -------------------------------------------------------------------------------- /test/08-test-paths/test_b/math/test_power.py: -------------------------------------------------------------------------------- 1 | def test_power(): 2 | assert 2 ** 3 == 8 3 | -------------------------------------------------------------------------------- /test/08-test-paths/test_b/math/test_subtract.py: -------------------------------------------------------------------------------- 1 | def test_substraction(): 2 | assert 2 - 1 == 1 3 | -------------------------------------------------------------------------------- /test/08-test-paths/test_b/test_concat.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/python-cmake/pytest-cmake/HEAD/test/08-test-paths/test_b/test_concat.py -------------------------------------------------------------------------------- /test/08-test-paths/test_incorrect.py: -------------------------------------------------------------------------------- 1 | raise RuntimeError("This test files should have been excluded") 2 | -------------------------------------------------------------------------------- /test/CMakeLists.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/python-cmake/pytest-cmake/HEAD/test/CMakeLists.txt -------------------------------------------------------------------------------- /test/utils/compare_discovered_tests.cmake: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/python-cmake/pytest-cmake/HEAD/test/utils/compare_discovered_tests.cmake --------------------------------------------------------------------------------