On Thu, 05 Feb 2009, Erick Fleming wrote: > Looking for samples or advice for unit testing DataViews. I've been using > ListViews, since they are easy to test.
What exactly do you want to test? That the data rendered is displayed correctly? Can you show some example code that you'd like to test? There shouldn't be anything special about it, you should abstract out how the dataview gets it data, for example by using dependency injection, and provide the data in the test. Best wishes, Timo -- Timo Rantalaiho Reaktor Innovations Oy <URL: http://www.ri.fi/ > --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional commands, e-mail: users-h...@wicket.apache.org