How to run a junit test while the project doe not compile


Its a plugin project, kotlin with idea community.

while working on something, and while the project doesn't compile because i'm in the middle of some refactoring,  I couldn't run a unit test that doesn't need any of the project's classes or classpath, just junit. how to do that?