The current solution is just a Swift script that watches the filesystem and runs swift test when it finds changes. So it is far from anything that could be upstreamed. It does run on Linux and macOS though.
But it does seem that there is some interest for something like this. And that it would probably be part of Swift PM. I'll take this up with my colleague.