Started to look at TestNG more yesterday with a few simple tests that didn't particular test anything in particular, then noticed the
Running TestNG programmatically section in the TestNG manual and started thinking...
After about an hour of tinkering and browsing code from some other bundled plugins for IntelliJ I now have a crude, and barely functionality plugin that adds a TestNG section to the run/debug dialogs of IDEA.
This things so crude in fact, that it doesn't yet even know about the projects classpath, so is only running tests from the plugin classpath/classloader, and is just outputting test results to System.out. With a bit more tinkering, and more of an understanding of TestNG this might even become usable...
tags: java testing testng idea unit plugin intellij
links: digg this del.icio.us technorati reddit