Skip to content

Conversation

@Maaarcocr
Copy link
Contributor

Allow marking specific tests as known failures that won't affect exit code:

  • --known-failures=FILE: load spec names from file (one per line, # comments)
  • config.known_failures = [...]: configure in adapter

Known failures that now pass cause exit(1) with warning to update the list.


suite_specs.each do |spec|
complexity = spec.complexity || 1000
is_known = known_failures.known_failure?(spec.name)
Copy link

Choose a reason for hiding this comment

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

I'd slightly adjust the naming for clarity here to is_known_failure.

Allow marking specific tests as known failures that won't affect exit code:
- --known-failures=FILE: load spec names from file (one per line, # comments)
- config.known_failures = [...]: configure in adapter

Known failures that now pass cause exit(1) with warning to update the list.
@Maaarcocr Maaarcocr force-pushed the known-failures-support branch from b1094ef to a30d556 Compare January 8, 2026 13:17
@Maaarcocr Maaarcocr merged commit 069591c into main Jan 8, 2026
1 of 3 checks passed
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