-
Notifications
You must be signed in to change notification settings - Fork 2
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
Can we test the plugin in CI? #20
Comments
Perhaps we could also test auto-completion, so that issues like #18 once resolved never appear again |
I think yes, we can even test auto-completion by envoking vim in headless mode and jumping around the file, while evaluating the "backend" of auto-completion (giant From the top of my head I see adding a Great idea, though! |
Oh, and also — please enable Actions tab in the settings of this repo, otherwise we'll only be able to test locally (which is also nice, but incomplete). |
done |
Does Vim have some sort of (stable) API that we can use for this task? Grepping makes it brittle |
I'll look into it more, but I just meant to make a special log file and manually log stuff there in the background upon getting any kind of try-catch-ish error (caught by me), because throughout the code nearly all places are covered in sending various error messages. It's just that sometimes those errors don't bubble up (#15), so I though it would be nice to log them in the background into some file when a special flag is given, and later inspect |
A basic test would be to install everything, including Tact and tact.vim and run some command(s) on a sample contract to make sure we have reproducible installation instructions for Linux/Windows/macOS.
And maybe some other tests for plugin functionality would be be great to have.
The text was updated successfully, but these errors were encountered: