Skip to content

Conversation

@thomasbellio
Copy link

@thomasbellio thomasbellio commented Aug 25, 2025

Description

The main reason for this proposed pull request is to make it easier to run tests locally with busted, for developers and maintainers. Currently the docs indicate adding a tests/busted.lua file and then running the nvim -l ./tests/busted.lua tests.

This pull request simply codifies that flow into the source tree and updates the .busted configuration to automatically use the tests/busted.lua file.

If this PR were to be merged running tests with busted is simplified to just running:

busted tests

This PR also updates the 'tests/busted.lua' to get the bootstrap.lua file from the local repository, rather than pulling down using curl. This will make it easier to modify the 'bootstrap.lua' and validate changes from the local branch.

This makes it simpler to get up and running with a test cycle for contributors.

@thomasbellio thomasbellio changed the title Add busted lua ci: Add busted lua to codify testing with busted Aug 25, 2025
@thomasbellio thomasbellio changed the title ci: Add busted lua to codify testing with busted ci(tests): Add busted lua to codify testing with busted Aug 25, 2025
@thomasbellio thomasbellio changed the title ci(tests): Add busted lua to codify testing with busted ci(tests): add busted.lua to codify testing with busted Aug 25, 2025
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