Test output happens to be a lot less uniform than compile errors, so your bet here is using test-runner-specific plugins you can find online. There are as many plugins as there are test runners, if not more.
In addition, terminal mode, added in Vim 8.1, provides a good way to run tests while continuing to work on your code.