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

test: move the suite over to busted #79

Merged
merged 2 commits into from
Jun 16, 2024
Merged

Conversation

AdeAttwood
Copy link
Owner

Summary:

Right now we are using a custom test runner. This move the suite over to
busted, this will make things much more maintainable going forward. The two
main reasons for moving are.

  1. The custom runner as some bugs, when running assertions we are not getting
    the correct results.

  2. All of the busted mocking features. We can use spy and mock, this will allow
    us to remove the nvim_mock. This file is not amazing and confuses the lsp
    often.

Test Plan:

CI

Summary:

Right now we are using a custom test runner. This move the suite over to
busted, this will make things much more maintainable going forward. The two
main reasons for moving are.

1) The custom runner as some bugs, when running assertions we are not getting
the correct results.

2) All of the busted mocking features. We can use spy and mock, this will allow
us to remove the nvim_mock. This file is not amazing and confuses the lsp
often.

Test Plan:

CI
Summary:

This runs the new tests in our existing CI. We will remove the old tests later
when we know everything runs together so we know everything works.

Test Plan:

CI
@AdeAttwood AdeAttwood marked this pull request as ready for review June 16, 2024 16:17
@AdeAttwood AdeAttwood merged commit cb4f586 into 0.x Jun 16, 2024
5 checks passed
@AdeAttwood AdeAttwood deleted the adeattwood/move-to-busted branch June 16, 2024 16:17
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.

1 participant