First time here? Check out the FAQ!

Revision history  [back]

To send arguments to unit tests, you can configure the test environment from Project Properties under the Testing tab. If you set Environment to Use Selected Launch Configuration you can set the Run Arguments in the launch configuration, under its Environment tab. I'm not sure that's very convenient, though, if you are constantly changing this argument. The best approach then might be to just keep the Launch Configurations dialog (accessed from the Project menu) open all the time.

As far as detecting automatically which tests need to run for a particular source file: Currently there is no way to do this in Wing. Longer term, our plan is to make it possible to track code coverage and use that to selectively re-run relevant tests for a source file or directory or all things changed since last repository update, etc. That's a larger feature currently being considered for Wing 9, although it's complex enough that it's unclear how well it would actually work in practice, without further experimentation.