vim-ultest icon indicating copy to clipboard operation
vim-ultest copied to clipboard

Add ability to run `UlTest` in sync

Open megawubs opened this issue 2 years ago • 3 comments

I would like the ability to run tests in sync. Because some of my tests reset the database after every run. Now, all tests in the file fail, because the database is in an unexpected state.

Output from :TestFile image

Output fromt :UlTest (same test file) image

megawubs avatar Jan 18 '22 06:01 megawubs

What test runner are you using? I'm guessing it's not supported by the output parsing https://github.com/rcarriga/vim-ultest/wiki/Output-Parsing so it needs to run tests separately to get results

rcarriga avatar Jan 18 '22 09:01 rcarriga

I'm using phpunit. Thanks for the tip. Will look into the output parsing part. I might be able to help

megawubs avatar Jan 18 '22 14:01 megawubs

Happy to take contributions, as I don't have any familiarity with php myself. If you have questions please let me know :smile:

rcarriga avatar Jan 18 '22 21:01 rcarriga