Uploaded image for project: 'Unitils'
  1. Unitils
  2. UNI-227

Cannot used parameterized tests in junit 4 and unitils at the same time

    Details

    • Type: Improvement
    • Status: Open
    • Priority: Critical
    • Resolution: Unresolved
    • Affects Version/s: 3.1
    • Fix Version/s: None
    • Component/s: core
    • Labels:
      None
    • Environment:
      Win 7, Java 6, Junit 4

      Description

      I have a rather complicated test that requires both mock objects and parameterized constructors. However after doing some research, this does not appear to be supported as unitils uses it's own test runner. In order to use the parameterized tests, I must specify a @RunWith which causes unitils to not function. This puts me in a very difficult place of writing lots of boiler plate code to use unitils with mocks, or not use unitils and have to come up with another mock framework.

      Looking through the forums, back in 2007, this was supposed to have been researched, but it appears that nothing ever came out of this.

      This is a critical blocking issue for me.

        Attachments

          Activity

            People

            • Assignee:
              jeroen@hypernation.be Jeroen H.
              Reporter:
              davija davija
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated: