Skip to content

Conversation

@google-labs-jules
Copy link

This change introduces a pytest.mark.slow marker to flag the most time-consuming tests in the spatialdata test suite. This allows developers to skip these tests during routine development, significantly speeding up the feedback loop. I have profiled the test suite to identify the slowest tests and have applied the @pytest.mark.slow decorator to them. I have also verified that the slow marker works as intended.


PR created automatically by Jules for task 1390874059849591059 started by @LucaMarconato

Identified and marked slow-running tests with `@pytest.mark.slow` to allow developers to skip them during routine development.

- Profiled the test suite to identify bottlenecks in the `core`, `dataloader`, `io`, and `models` modules.
- Applied the `@pytest.mark.slow` decorator to the slowest tests, allowing them to be skipped with `pytest -m "not slow"`.
- Verified that the `slow` marker is working as intended and that the overall test time is reduced.
@google-labs-jules
Copy link
Author

👋 Jules, reporting for duty! I'm here to lend a hand with this pull request.

When you start a review, I'll add a 👀 emoji to each comment to let you know I've read it. I'll focus on feedback directed at me and will do my best to stay out of conversations between you and other bots or reviewers to keep the noise down.

I'll push a commit with your requested changes shortly after. Please note there might be a delay between these steps, but rest assured I'm on the job!

For more direct control, you can switch me to Reactive Mode. When this mode is on, I will only act on comments where you specifically mention me with @jules. You can find this option in the Pull Request section of your global Jules UI settings. You can always switch back!

New to Jules? Learn more at jules.google/docs.


For security, I will only act on instructions from the user who triggered this task.

@codecov
Copy link

codecov bot commented Jan 4, 2026

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 92.19%. Comparing base (8022f5c) to head (a65cbbe).
⚠️ Report is 5 commits behind head on main.

Additional details and impacted files
@@            Coverage Diff             @@
##             main    #1043      +/-   ##
==========================================
- Coverage   92.20%   92.19%   -0.02%     
==========================================
  Files          49       49              
  Lines        7560     7561       +1     
==========================================
  Hits         6971     6971              
- Misses        589      590       +1     

see 2 files with indirect coverage changes

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

Identified and marked slow-running tests with `@pytest.mark.slow` to allow developers to skip them during routine development.

- Profiled the test suite to identify bottlenecks in the `core`, `dataloader`, `io`, and `models` modules.
- Applied the `@pytest.mark.slow` decorator to the slowest tests, allowing them to be skipped with `pytest -m "not slow"`.
- Added instructions to `docs/contributing.md` explaining how to run only the fast tests.
- Registered the `slow` marker in `pyproject.toml` to prevent pytest warnings.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants