Unit Testing, Agile Development, Leadership & .NET - By Roy Osherove
Check out TestNG too (http://testng.org/)
It has had annotations and lack of inheritance and many other cool features for ages now, and dealing with suites is definitely better than the example you give above.
For my Java testing needs I am a fan of TestNG as well, its supported paramterized tests for a while.
In terms of MbUnit data driving a test like JUnit 4.0 you should look at the combintional\factory test.
Adapting a factory to act as a datasource would'nt be too tricky. If your after a data driven test like VSTS then take a look at MbUnit's data fixture.
what you didn't mention, and perhaps hadn't seen, is that JUnit 4 will find and execute ALL @Before methods in your test case inheritance tree, super classes' first.
I am having one doubt plz clearify,I am getting line separators error when i am passing xml data as string and result is also in xml string.Can u tell what I have to do.