|
From: Luke B. <lb...@pa...> - 2007-04-11 02:15:10
|
> I have an already existing library that I want to start adding tests to. > I can't seem to make the ASUnit XUL UI pick up on the package names in my > library. Is there some way to do this that I missed? > The XUL UI is a bit confusing when it comes to creating TestCases for existing classes. You'll want to get it set up with the source path and test path, and then (strangely), tell it to create a class using a fully qualified *existing* class name. You should be prompted before it overwrites the file. At this point, you can choose to ignore the class-creation step, while allowing the TestCase to be created properly. I have used this feature many times and fully trust it, but just for good measure, you should be certain that your code is checked into version control and up to date. Does that answer your question? Thanks, Luke Bayes www.asunit.org |