-
Notifications
You must be signed in to change notification settings - Fork 32
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
feat: add tests (wip) #143
base: master
Are you sure you want to change the base?
Conversation
These use plenary's busted-like testing framework As such, they require that plenary is installed to run.
@amirbilu is this something you're willing to pursue, or is it not worth putting my effort into? |
This clarifies usage of the tests directory and plenary/busted's interface
`None` should be the special value `NONE`
replace with a TODO comment
if not running from the root
this commit includes tests for str_to_lines and lines_to_str It include `pending` tests for the remaining utils
previously it included the system-installed module in completions. We want the local module.
This method doesn't work right.
Please note that the current goal of the implemented tests is not to ensure that methods work right (as I've discovered and documented several bugs), but to match the current state of the codebase. This way, when a change is made, it can be quickly tested to ensure that it doesn't break anything else. |
this was a copy paste error
note: these are all wrong because the /tests directory isn't under /lua
this is hard one to test, since it's time related
@aarondill this is indeed interesting |
I haven't had the opportunity to work on this recently due to real life things. I'll continue to work on this when I can, but I would appreciate contributions if you'd like to accelerate the process. |
These use plenary's busted-like testing framework
As such, they require that plenary is installed to run.
Note: this is not a dependency for normal runtime.
Should I add a CI check that requires all tests are passing?