x icon indicating copy to clipboard operation
x copied to clipboard

feat: update teatest v2 to use charm.land

Open lrstanley opened this issue 1 month ago • 2 comments

Changes in this PR

  • Updated teatest v2 to use charm.land & bubbletea 2.0.0-rc.1 from beta.3

  • Updated snapshots, though not sure if there should be a change. Looks like the core of the snapshots is still correct, but rendering adds a few new characters around the resulting text, I assume due to how bubbletea v2s new renderer does this.

  • [x] I have read CONTRIBUTING.md.

  • [ ] I have created a discussion that was approved by a maintainer (for new features).

lrstanley avatar Nov 10 '25 11:11 lrstanley

Codecov Report

:white_check_mark: All modified and coverable lines are covered by tests. :white_check_mark: Project coverage is 91.01%. Comparing base (3bf63bc) to head (34abe26). :warning: Report is 5 commits behind head on main.

Additional details and impacted files
@@             Coverage Diff             @@
##             main     #637       +/-   ##
===========================================
+ Coverage   31.69%   91.01%   +59.32%     
===========================================
  Files         162        2      -160     
  Lines       14518      256    -14262     
===========================================
- Hits         4601      233     -4368     
+ Misses       9636       17     -9619     
+ Partials      281        6      -275     

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.

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

codecov[bot] avatar Nov 10 '25 11:11 codecov[bot]

Looks like tests are failing on Windows due to \r line endings being added, I suspect something windows-terminal-specific. With teatest, and the new tea.View being used, which seems to render more raw terminal sequences than before, what's the best way to resolve this?

lrstanley avatar Nov 10 '25 11:11 lrstanley