69a95616bc5ab498166adf939e5634e6fa2ff0ae,tests/python/pants_test/backend/python/tasks/test_pytest_run.py,PythonTestBuilderTest,test_coverage_modules_dne_option,#PythonTestBuilderTest#,259
Before Change
self.assertEqual([1, 2, 5, 6], not_run_statements)
def test_coverage_modules_dne_option(self):
self.assert_modules_dne(coverage="modules:does_not_exist,nor_does_this")
def test_coverage_modules_dne_env(self):
with environment_as(PANTS_PY_COVERAGE="modules:does_not_exist,nor_does_this"):
self.assert_modules_dne()
After Change
covered_file = os.path.join(self.build_root, "lib", "core.py")
// modules: should trump .coverage
self.run_failing_tests(targets=[self.green, self.red], failed_targets=[self.red],
coverage="modules:does_not_exist,nor_does_this")
all_statements, not_run_statements = self.load_coverage_data(covered_file)
self.assertEqual([1, 2, 5, 6], all_statements)
self.assertEqual([1, 2, 5, 6], not_run_statements)
In pattern: SUPERPATTERN
Frequency: 3
Non-data size: 7
Instances
Project Name: pantsbuild/pants
Commit Name: 69a95616bc5ab498166adf939e5634e6fa2ff0ae
Time: 2015-07-10
Author: john.sirois@gmail.com
File Name: tests/python/pants_test/backend/python/tasks/test_pytest_run.py
Class Name: PythonTestBuilderTest
Method Name: test_coverage_modules_dne_option
Project Name: pantsbuild/pants
Commit Name: 69a95616bc5ab498166adf939e5634e6fa2ff0ae
Time: 2015-07-10
Author: john.sirois@gmail.com
File Name: tests/python/pants_test/backend/python/tasks/test_pytest_run.py
Class Name: PythonTestBuilderTest
Method Name: test_coverage_modules_dne_option
Project Name: pantsbuild/pants
Commit Name: 69a95616bc5ab498166adf939e5634e6fa2ff0ae
Time: 2015-07-10
Author: john.sirois@gmail.com
File Name: tests/python/pants_test/backend/python/tasks/test_pytest_run.py
Class Name: PythonTestBuilderTest
Method Name: test_junit_xml_option
Project Name: pantsbuild/pants
Commit Name: 69a95616bc5ab498166adf939e5634e6fa2ff0ae
Time: 2015-07-10
Author: john.sirois@gmail.com
File Name: tests/python/pants_test/backend/python/tasks/test_pytest_run.py
Class Name: PythonTestBuilderTest
Method Name: test_coverage_paths_dne_option