Skip to content

Make pytest output more verbose#1729

Closed
candleindark wants to merge 1 commit intodandi:masterfrom
candleindark:pytest-more-verbose
Closed

Make pytest output more verbose#1729
candleindark wants to merge 1 commit intodandi:masterfrom
candleindark:pytest-more-verbose

Conversation

@candleindark
Copy link
Member

This PR makes pytest output more verbose so that failure of comparison between model objects and their expected output can be meaningfully depicted. This PR and dandi/dandi-schema#341 together form a solution to address the issue described at #1716 (comment).

@candleindark candleindark requested a review from Copilot October 24, 2025 23:12
Copy link
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull Request Overview

This PR increases pytest verbosity to provide more detailed output when tests fail, particularly for model object comparisons. The change enables better debugging by showing more information about test failures.

Key Changes

  • Increased pytest verbosity from -v to -vv in the tox configuration

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

@codecov
Copy link

codecov bot commented Oct 24, 2025

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 75.08%. Comparing base (a79fffc) to head (35b1e40).
⚠️ Report is 86 commits behind head on master.

Additional details and impacted files
@@            Coverage Diff             @@
##           master    #1729      +/-   ##
==========================================
- Coverage   75.11%   75.08%   -0.04%     
==========================================
  Files          84       84              
  Lines       11856    11856              
==========================================
- Hits         8906     8902       -4     
- Misses       2950     2954       +4     
Flag Coverage Δ
unittests 75.08% <ø> (-0.04%) ⬇️

Flags with carried forward coverage won't be shown. Click here to find out more.

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

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

@candleindark candleindark added the DX Developer eXperience label Oct 24, 2025
@yarikoptic
Copy link
Member

yarikoptic commented Oct 25, 2025

I think we should not do it by default! there is posargs so users can add -v when needed

@yarikoptic yarikoptic closed this Oct 25, 2025
@candleindark candleindark deleted the pytest-more-verbose branch October 27, 2025 17:58
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

DX Developer eXperience

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants