Closed apua closed 7 years ago
WOW, it's cool! I will look into it :D
@apua I took a look into Vader.vim, and thought it would be very useful to test user view behavior. But for now I can't come up with test cases, because this plugin is too premature 😞, the test case above will so not be passed. I'll keep this in mind, though. If you have idea, feel free to add some!
Hey, I read Vader's README again, and found that I missed something: I thought each test case have to be in separated files, but in fact they can be in one file. I'll think about how to setup a clean environment (venv-like?) to test this plugin (maybe unit test (for methods) first).
I think Vader is too verbose to do unit test, and I found another plugin: LucHermitte/vim-UT, which only aims at testing functions results.
For the following reasons, I choose Vader.vim (again) for testing:
So this issue is solved with be1f865, feel free to add more test cases.
LucHermitte responded :smile: But Vader.vim is ok now, maybe I'll use LucHermitte/vim-UT in my other repos.
an example below