pintest-cli 0.3.7__tar.gz → 0.3.8__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 (29) hide show
  1. {pintest_cli-0.3.7 → pintest_cli-0.3.8}/PKG-INFO +1 -1
  2. {pintest_cli-0.3.7 → pintest_cli-0.3.8}/pintest/cli.py +1 -1
  3. {pintest_cli-0.3.7 → pintest_cli-0.3.8}/pintest_cli.egg-info/PKG-INFO +1 -1
  4. {pintest_cli-0.3.7 → pintest_cli-0.3.8}/setup.py +1 -1
  5. {pintest_cli-0.3.7 → pintest_cli-0.3.8}/tests/test_cli_e2e.py +2 -2
  6. {pintest_cli-0.3.7 → pintest_cli-0.3.8}/README.md +0 -0
  7. {pintest_cli-0.3.7 → pintest_cli-0.3.8}/pintest/__init__.py +0 -0
  8. {pintest_cli-0.3.7 → pintest_cli-0.3.8}/pintest/build_mapping_iterative.py +0 -0
  9. {pintest_cli-0.3.7 → pintest_cli-0.3.8}/pintest/cloud_mapping_db.py +0 -0
  10. {pintest_cli-0.3.7 → pintest_cli-0.3.8}/pintest/config.py +0 -0
  11. {pintest_cli-0.3.7 → pintest_cli-0.3.8}/pintest/coverage_mapper.py +0 -0
  12. {pintest_cli-0.3.7 → pintest_cli-0.3.8}/pintest/git_diff_parser.py +0 -0
  13. {pintest_cli-0.3.7 → pintest_cli-0.3.8}/pintest/post_commit_hook.py +0 -0
  14. {pintest_cli-0.3.7 → pintest_cli-0.3.8}/pintest/pre_commit_hook.py +0 -0
  15. {pintest_cli-0.3.7 → pintest_cli-0.3.8}/pintest/push_cache.py +0 -0
  16. {pintest_cli-0.3.7 → pintest_cli-0.3.8}/pintest/pytest_plugin.py +0 -0
  17. {pintest_cli-0.3.7 → pintest_cli-0.3.8}/pintest/range_set.py +0 -0
  18. {pintest_cli-0.3.7 → pintest_cli-0.3.8}/pintest/test_mapping_db_v2.py +0 -0
  19. {pintest_cli-0.3.7 → pintest_cli-0.3.8}/pintest/update_mapping.py +0 -0
  20. {pintest_cli-0.3.7 → pintest_cli-0.3.8}/pintest_cli.egg-info/SOURCES.txt +0 -0
  21. {pintest_cli-0.3.7 → pintest_cli-0.3.8}/pintest_cli.egg-info/dependency_links.txt +0 -0
  22. {pintest_cli-0.3.7 → pintest_cli-0.3.8}/pintest_cli.egg-info/entry_points.txt +0 -0
  23. {pintest_cli-0.3.7 → pintest_cli-0.3.8}/pintest_cli.egg-info/requires.txt +0 -0
  24. {pintest_cli-0.3.7 → pintest_cli-0.3.8}/pintest_cli.egg-info/top_level.txt +0 -0
  25. {pintest_cli-0.3.7 → pintest_cli-0.3.8}/setup.cfg +0 -0
  26. {pintest_cli-0.3.7 → pintest_cli-0.3.8}/tests/__init__.py +0 -0
  27. {pintest_cli-0.3.7 → pintest_cli-0.3.8}/tests/test_git_diff_parser.py +0 -0
  28. {pintest_cli-0.3.7 → pintest_cli-0.3.8}/tests/test_new_feature.py +0 -0
  29. {pintest_cli-0.3.7 → pintest_cli-0.3.8}/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.3.7
3
+ Version: 0.3.8
4
4
  Summary: Run only the tests affected by your code changes.
5
5
  Author: Pintest Contributors
6
6
  Classifier: Development Status :: 3 - Alpha
@@ -141,7 +141,7 @@ class PintestRunner:
141
141
  return 0
142
142
 
143
143
  test_list = sorted(test_selection)
144
- chunk_size = 500
144
+ chunk_size = 1000
145
145
  has_xdist = pytest_args and any(
146
146
  arg == '-n' or arg.startswith('-n=') or arg == '--numprocesses' or arg.startswith('--numprocesses=')
147
147
  for arg in pytest_args
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: pintest-cli
3
- Version: 0.3.7
3
+ Version: 0.3.8
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.3.7",
8
+ version="0.3.8",
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",
@@ -163,8 +163,8 @@ def test_pintest_chunking_and_fail_fast(dummy_repo):
163
163
  from pintest.cli import PintestRunner
164
164
  runner = PintestRunner(dummy_repo, verbose=True)
165
165
 
166
- # Generate 505 dummy test names
167
- dummy_tests = {f"tests/test_math.py::test_dummy_{i}" for i in range(505)}
166
+ # Generate 1005 dummy test names
167
+ dummy_tests = {f"tests/test_math.py::test_dummy_{i}" for i in range(1005)}
168
168
 
169
169
  # Run with fail-fast (-x)
170
170
  # Since these dummy tests don't exist, pytest will fail on the first chunk.
File without changes
File without changes