henryiii · GitHub

tests/conftest.py Introduces the new project_setup_py_test fixture as a context-manager factory. tests/__init__.py Removes the old decorator implementation and its exports/imports. tests/test_skbuild_variable.py Migrates decorator-based setup to with project_setup_py_test(...). tests/test_skbuild.py Updates generator/toolset tests to use the fixture and context manager. tests/test_outside_project_root.py Converts the failure test to the context-manager fixture usage. tests/test_manifest_in.py Wraps sdist/wheel assertions inside the fixture context. tests/test_issue707_tested_packages.py Uses as tmp_dir from the fixture instead of decorator attributes. tests/test_issue401_sdist_with_symlinks.py Converts sdist test to context-manager fixture usage. tests/test_issue334_configure_cmakelists_non_cp1252_encoding.py Converts install test to context-manager fixture usage. tests/test_issue284_build_ext_inplace.py Converts build_ext inplace test to context-manager fixture usage. tests/test_issue274_support_one_package_without_package_dir.py Converts install test to context-manager fixture usage. tests/test_issue274_support_default_package_dir.py Converts install test to context-manager fixture usage. tests/test_include_exclude_data.py Converts wheel/sdist tests to run within the fixture context. tests/test_hello_pure.py Converts build/sdist/wheel/clean tests to context-manager fixture usage. tests/test_hello_fortran.py Converts build/sdist/wheel tests to context-manager fixture usage. tests/test_hello_cython.py Converts build/sdist/wheel tests to context-manager fixture usage. tests/test_hello_cpp.py Converts build/sdist/wheel/clean tests; preserves tmp_dir reuse via as tmp_dir. tests/test_cython_flags.py Converts build test to context-manager fixture usage. tests/test_command_line.py Converts CLI tests to context-manager fixture usage. tests/test_cmakelists_not_in_top_level_dir.py Converts build/sdist tests to context-manager fixture usage. tests/test_cmake_target.py Converts build test to context-manager fixture usage. tests/test_broken_project.py Converts failure-mode tests to use with project_setup_py_test(...) within pytest.raises.

Read the original on github.com ↗