pintest-cli 0.2.2__tar.gz → 0.2.3__tar.gz

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (26) hide show
  1. {pintest_cli-0.2.2 → pintest_cli-0.2.3}/PKG-INFO +1 -1
  2. {pintest_cli-0.2.2 → pintest_cli-0.2.3}/pintest/pre_commit_hook.py +6 -2
  3. {pintest_cli-0.2.2 → pintest_cli-0.2.3}/pintest_cli.egg-info/PKG-INFO +1 -1
  4. {pintest_cli-0.2.2 → pintest_cli-0.2.3}/setup.py +1 -1
  5. {pintest_cli-0.2.2 → pintest_cli-0.2.3}/README.md +0 -0
  6. {pintest_cli-0.2.2 → pintest_cli-0.2.3}/pintest/__init__.py +0 -0
  7. {pintest_cli-0.2.2 → pintest_cli-0.2.3}/pintest/build_mapping_iterative.py +0 -0
  8. {pintest_cli-0.2.2 → pintest_cli-0.2.3}/pintest/cli.py +0 -0
  9. {pintest_cli-0.2.2 → pintest_cli-0.2.3}/pintest/cloud_mapping_db.py +0 -0
  10. {pintest_cli-0.2.2 → pintest_cli-0.2.3}/pintest/config.py +0 -0
  11. {pintest_cli-0.2.2 → pintest_cli-0.2.3}/pintest/coverage_mapper.py +0 -0
  12. {pintest_cli-0.2.2 → pintest_cli-0.2.3}/pintest/git_diff_parser.py +0 -0
  13. {pintest_cli-0.2.2 → pintest_cli-0.2.3}/pintest/post_commit_hook.py +0 -0
  14. {pintest_cli-0.2.2 → pintest_cli-0.2.3}/pintest/range_set.py +0 -0
  15. {pintest_cli-0.2.2 → pintest_cli-0.2.3}/pintest/test_mapping_db_v2.py +0 -0
  16. {pintest_cli-0.2.2 → pintest_cli-0.2.3}/pintest/update_mapping.py +0 -0
  17. {pintest_cli-0.2.2 → pintest_cli-0.2.3}/pintest_cli.egg-info/SOURCES.txt +0 -0
  18. {pintest_cli-0.2.2 → pintest_cli-0.2.3}/pintest_cli.egg-info/dependency_links.txt +0 -0
  19. {pintest_cli-0.2.2 → pintest_cli-0.2.3}/pintest_cli.egg-info/entry_points.txt +0 -0
  20. {pintest_cli-0.2.2 → pintest_cli-0.2.3}/pintest_cli.egg-info/requires.txt +0 -0
  21. {pintest_cli-0.2.2 → pintest_cli-0.2.3}/pintest_cli.egg-info/top_level.txt +0 -0
  22. {pintest_cli-0.2.2 → pintest_cli-0.2.3}/setup.cfg +0 -0
  23. {pintest_cli-0.2.2 → pintest_cli-0.2.3}/tests/__init__.py +0 -0
  24. {pintest_cli-0.2.2 → pintest_cli-0.2.3}/tests/test_git_diff_parser.py +0 -0
  25. {pintest_cli-0.2.2 → pintest_cli-0.2.3}/tests/test_new_feature.py +0 -0
  26. {pintest_cli-0.2.2 → pintest_cli-0.2.3}/tests/test_range_set.py +0 -0
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: pintest-cli
3
- Version: 0.2.2
3
+ Version: 0.2.3
4
4
  Summary: Run only the tests affected by your code changes.
5
5
  Author: Pintest Contributors
6
6
  Classifier: Development Status :: 3 - Alpha
@@ -417,8 +417,12 @@ def collect_all_tests(repo_root: Path, test_dir: str = None, verbose: bool = Fal
417
417
  return test_names
418
418
 
419
419
  except subprocess.CalledProcessError as e:
420
- if verbose:
421
- print(f"Warning: Could not collect tests: {e.stderr}", file=sys.stderr)
420
+ print(f"\n❌ Pytest failed to collect tests!", file=sys.stderr)
421
+ print(f"This usually means your project dependencies aren't installed.", file=sys.stderr)
422
+ if e.stderr:
423
+ print(f"\nPytest Error Output:\n{e.stderr}", file=sys.stderr)
424
+ elif e.stdout:
425
+ print(f"\nPytest Output:\n{e.stdout}", file=sys.stderr)
422
426
  return set()
423
427
 
424
428
 
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: pintest-cli
3
- Version: 0.2.2
3
+ Version: 0.2.3
4
4
  Summary: Run only the tests affected by your code changes.
5
5
  Author: Pintest Contributors
6
6
  Classifier: Development Status :: 3 - Alpha
@@ -5,7 +5,7 @@ with open("README.md", "r", encoding="utf-8") as fh:
5
5
 
6
6
  setup(
7
7
  name="pintest-cli",
8
- version="0.2.2",
8
+ version="0.2.3",
9
9
  description="Run only the tests affected by your code changes.",
10
10
  long_description=long_description,
11
11
  long_description_content_type="text/markdown",
File without changes
File without changes
File without changes