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

TESTS!!!! #17

Open
lukesutton opened this issue May 26, 2021 · 0 comments
Open

TESTS!!!! #17

lukesutton opened this issue May 26, 2021 · 0 comments
Labels
enhancement New feature or request

Comments

@lukesutton
Copy link
Owner

We only have minimal tests for the auto layout solver at present. Not great.

Thankfully, since most rendering is ultimately just updating a buffer, it's simple for us to perform isolated tests for everything, without worrying about having an actual terminal on hand.

One option — especially for the layouts — is to use a Quickcheck style library to derive a range of inputs. That's more likely to catch edge cases when compared to crafting specific tests.

@lukesutton lukesutton added the enhancement New feature or request label May 26, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant