mvllow / modes.nvim

Prismatic line decorations for the adventurous vim user
550 stars 13 forks source link

Add tests #26

Closed mvllow closed 2 years ago

mvllow commented 2 years ago

Usually when something is added or changed in modes, I test locally and push up. Unfortunately, issues arise almost every update due to how different everyone's environment is.

I would love to learn more about tests in lua, but also am unaware of what exactly to test. PR's are welcome and appreciated 😌

PriceHiller commented 2 years ago

I'll be playing around with testing... it's about time I really learn lua properly and plenary anyhow. If you want we can get a CI pipeline going as well, I am more used to CI/CD in gitlab, but I'm sure we can get a simple docker image and a pipeline here on github w/ actions.

PriceHiller commented 2 years ago

I have the basic workflow here. Using a Makefile via make test. Relying on plenary, so plenary is going to become a test requirement if I stick to plenary. If plenary sounds good, I'll keep going with it and get these tests built out 😃.

mvllow commented 2 years ago

Plenary should be fine – I see that used quite often 😌 Thank you for working on this!

PriceHiller commented 2 years ago

Yeah, no problem. I'll get cracking on it then with plenary.

mvllow commented 2 years ago

Closed via #27 😌