• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

kettle-rb / tree_haver / 20890570373 / 1
87%
main: 87%

Build:
DEFAULT BRANCH: main
Ran 11 Jan 2026 06:10AM UTC
Files 30
Run time 1s
Badge
Embed ▾
README BADGES
x

If you need to use a raster PNG badge, change the '.svg' to '.png' in the link

Markdown

Textile

RDoc

HTML

Rst

11 Jan 2026 06:07AM UTC coverage: 87.954% (+1.1%) from 86.857%
20890570373.1

push

github

pboling
💥 BREAKING CHANGES; new features; fixes; more specs

### Added

- **Shared Example Groups for Backend API Compliance Testing**
  - `node_api_examples.rb` - Tests for Node API compliance:
    - `"node api compliance"` - Core Node interface (type, start_byte, end_byte, children)
    - `"node position api"` - Position API (start_point, end_point, start_line, end_line, source_position)
    - `"node children api"` - Children traversal (#child, #first_child, #last_child)
    - `"node enumerable behavior"` - Enumerable methods (#each, #map, #select, #find)
    - `"node comparison behavior"` - Comparison and equality (#==, #<=>, #hash)
    - `"node text extraction"` - Text content (#text, #to_s)
    - `"node inspection"` - Debug output (#inspect)
  - `tree_api_examples.rb` - Tests for Tree API compliance:
    - `"tree api compliance"` - Core Tree interface (root_node, source, errors, warnings, comments)
    - `"tree error handling"` - Error detection (#has_error?, #errors)
    - `"tree traversal"` - Depth-first traversal via root_node
  - `parser_api_examples.rb` - Tests for Parser API compliance:
    - `"parser api compliance"` - Core Parser interface (#parse, #parse_string, #language=)
    - `"parser incremental parsing"` - Incremental parsing support
    - `"parser error handling"` - Error recovery behavior
  - `language_api_examples.rb` - Tests for Language API compliance:
    - `"language api compliance"` - Core Language interface (#backend, #name/#language_name)
    - `"language comparison"` - Comparison and equality
    - `"language factory methods"` - Factory methods (.from_library, .from_path)
  - `backend_api_examples.rb` - Tests for Backend module API compliance:
    - `"backend module api"` - Backend availability and capabilities
    - `"backend class structure"` - Nested class verification
    - `"backend integration"` - Full parse cycle testing
  - `spec/support/shared_examples.rb` - Master loader for all shared examples
  - `spec/integration/ba... (continued)

929 of 1171 branches covered (79.33%)

Branch coverage included in aggregate %.

2291 of 2490 relevant lines covered (92.01%)

70.03 hits per line

Source Files on job 20890570373.1
  • Tree
  • List 30
  • Changed 11
  • Source Changed 0
  • Coverage Changed 11
Coverage ∆ File Lines Relevant Covered Missed Hits/Line Branch Hits Branch Misses
  • Back to Build 20890570373
  • 07e06173 on github
  • Prev Job for on main (#20887817615.1)
  • Next Job for on main (#20891049801.1)
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc