Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

add tests to verify render output #160

Open
15 tasks
christianparpart opened this issue Jan 23, 2021 · 0 comments
Open
15 tasks

add tests to verify render output #160

christianparpart opened this issue Jan 23, 2021 · 0 comments
Labels
enhancement New feature or request test Unit tests VT: rasterizer Rendering of the terminal into a pixmap using `terminal_renderer` library

Comments

@christianparpart
Copy link
Member

christianparpart commented Jan 23, 2021

I have found this: https://github.com/marketplace/actions/setup-opengl

With that i can add PNG screenshot support as VT sequence and then implement tests to verify render output.

Tests could cover the following rendering tests:

  • sixel image
  • emoji variants
  • ligatures
  • glyph positioning for known problematic groups
  • SGR decorations
  • contour: input mappings (shortcuts)
  • contour: live config change
  • contour: Special keyboard layouts

Additional action items

  • VT sequence: screenshot #161 VT sequence to take screenshot (png and maybe BMP or TGA for easier pixel testing?) at a given cell region (default: so grid cells, main page area)
  • VT sequence to set font #162 VT sequence to set current font. OSC 50 ; Pt ST
  • test runner script that must also work locally for quick-testing during development; similar to isoltest
  • test runner: if failure, it should be available if highlighting the regions that du not Match by blending a tint color into it and report hier many pixels out of how many in total whether affected. Also show expected and actual separately.
  • test runner: interactive mode for updating expectations
  • Add to Github Actions
  • upload failed test results to artifact store. A test case result should contain all, expectation and actual and actual with highlighted regions side by side.
@christianparpart christianparpart added enhancement New feature or request GL terminal view test Unit tests labels Jan 23, 2021
@christianparpart christianparpart added this to the 0.2.0 milestone Jan 23, 2021
@christianparpart christianparpart modified the milestones: 0.2.0, 0.3.0 Jan 31, 2021
@christianparpart christianparpart modified the milestones: 0.3.0, 0.4.0 Jun 13, 2021
@christianparpart christianparpart added VT: rasterizer Rendering of the terminal into a pixmap using `terminal_renderer` library and removed GL terminal view labels Jun 24, 2021
@christianparpart christianparpart removed this from the 2023-1 milestone Dec 28, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request test Unit tests VT: rasterizer Rendering of the terminal into a pixmap using `terminal_renderer` library
Projects
None yet
Development

No branches or pull requests

1 participant