I'm writing integration tests using Spring dbunit. Basically, that's fine but there's one query I need to test, but it uses a view in my db. I use @DatabaseSetup
annotation for providing xml with test data set. But in this xml I can configure only rows for db tables, for views this doesn't work, of course. Does anybody know how to create a test row in db view and use in a test?
Many thanks in advance.