a15ee392b3f1132b2a7b38fd2977c09436f5bcc4,tests/python/pants_test/backend/python/tasks/test_pytest_run_integration.py,PytestRunIntegrationTest,test_pytest_explicit_coverage,#PytestRunIntegrationTest#,109
Before Change
def test_pytest_explicit_coverage(self):
with temporary_dir() as coverage_dir:
pants_run = self.run_pants(["clean-all",
"test.pytest",
"--coverage=pants",
"--test-pytest-coverage-output-dir={}".format(coverage_dir),
"testprojects/tests/python/pants/constants_only"])
self.assert_success(pants_run)
self.assertTrue(os.path.exists(os.path.join(coverage_dir, "coverage.xml")))
def test_pytest_with_profile(self):
After Change
def test_pytest_explicit_coverage(self):
with temporary_dir() as coverage_dir:
pants_run = self.run_pants(["clean-all",
"test.pytest",
"--coverage=pants.constants_only",
f"--test-pytest-coverage-output-dir={coverage_dir}",
"testprojects/tests/python/pants/constants_only"])
self.assert_success(pants_run)
self.assertTrue(os.path.exists(os.path.join(coverage_dir, "coverage.xml")))
def test_pytest_with_profile(self):
In pattern: SUPERPATTERN
Frequency: 3
Non-data size: 5
Instances
Project Name: pantsbuild/pants
Commit Name: a15ee392b3f1132b2a7b38fd2977c09436f5bcc4
Time: 2019-10-13
Author: ericarellano@me.com
File Name: tests/python/pants_test/backend/python/tasks/test_pytest_run_integration.py
Class Name: PytestRunIntegrationTest
Method Name: test_pytest_explicit_coverage
Project Name: pantsbuild/pants
Commit Name: fff8dffd8b016645e4fd559aeb917f9e52ae8e22
Time: 2019-12-03
Author: ericarellano@me.com
File Name: tests/python/pants_test/targets/test_jvm_app_integration.py
Class Name: TestJvmAppIntegrationTest
Method Name: test_missing_files
Project Name: pantsbuild/pants
Commit Name: 06c733bcddc4523b7b9d18daf1487484817a5e06
Time: 2019-09-08
Author: ericarellano@me.com
File Name: tests/python/pants_test/option/test_quiet_option_integration.py
Class Name: TestOptionsQuietIntegration
Method Name: test_pants_no_quiet_output_file