Unit test « XML « Spring Q&A





1. Failed Load myclass-context.xml in junit testing    stackoverflow.com

@RunWith(SpringJUnit4ClassRunner.class)
@ContextConfiguration
public class Myclass extends AbstractTransactionalJUnit4SpringContextTests
{   
    @Test
    public final void testHandleRequestView() throws ServletException, IOException
    {
      ...

2. Unit-Testing XML    forum.springsource.org

Hi folks, I thought you might be interested in this article. It described how to use the new XMLUnit 1.1 to do XML unit testing. XMLUnit is heavily used in SWS. ...