junit.framework.AssertionFailedError: You are overriding the setUp() method without calling super.setUp().  You must call the superclass setUp() method in your TestCase subclass to ensure proper initialization.

strutstestcase | nobody | 1 decade ago
tip
Your exception is missing from the Samebug knowledge base.
Here are the best solutions we found on the Internet.
Click on the to mark the helpful solution and get rewards for you help.
  1. 0

    How to use CactusStrutsTestCase

    strutstestcase | 1 decade ago | nobody
    junit.framework.AssertionFailedError: You are overriding the setUp() method without calling super.setUp().  You must call the superclass setUp() method in your TestCase subclass to ensure proper initialization.
  2. 0

    AssertionFailedError: You are overriding...

    strutstestcase | 1 decade ago | nobody
    junit.framework.AssertionFailedError: You are overriding the setUp() method without calling super.setUp().  You must call the superclass setUp() and tearDown() methods in your TestCase subclass to ensure proper initialization.

    Root Cause Analysis

    1. junit.framework.AssertionFailedError

      You are overriding the setUp() method without calling super.setUp().  You must call the superclass setUp() method in your TestCase subclass to ensure proper initialization.

      at servletunit.struts.CactusStrutsTestCase.init()
    2. servletunit.struts
      CactusStrutsTestCase.setRequestPathInfo
      1. servletunit.struts.CactusStrutsTestCase.init(CactusStrutsTestCase.java:73)
      2. servletunit.struts.CactusStrutsTestCase.setRequestPathInfo(CactusStrutsTestCase.java:195)
      2 frames
    3. com.ibx.cactus
      HelloActionTest.testAction
      1. com.ibx.cactus.test.HelloActionTest.testAction(HelloActionTest.java:37)
      1 frame