Skip to content

Add E2E testing package via VT and XPty#46

Open
aymanbagabas wants to merge 4 commits intomainfrom
testing
Open

Add E2E testing package via VT and XPty#46
aymanbagabas wants to merge 4 commits intomainfrom
testing

Conversation

@aymanbagabas
Copy link
Member

@aymanbagabas aymanbagabas commented Sep 11, 2025

  • PoC
  • Integrate into uv.Terminal
  • Integrate into Bubble Tea v2 future request

@aymanbagabas aymanbagabas force-pushed the testing branch 2 times, most recently from f066cf5 to 5b297d0 Compare September 11, 2025 17:52
@aymanbagabas aymanbagabas marked this pull request as ready for review October 16, 2025 17:38

// Snapshot records the current state of the terminal as a golden file using the name
// provided by the testing.TB instance and the snapshot number.
func (tt *TestTerminal) Snapshot() {
Copy link
Member Author

Choose a reason for hiding this comment

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

TODO, we want to serialize the full state of the terminal somehow and preserve all the cells with their data, size, cursor, modes and state of the terminal emulator.

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