Uploaded image for project: 'Unitils'
  1. UNI-228

Allow use of unitils outside of test frameworks

    Details

    • Type: New Feature
    • Status: Open
    • Priority: Major
    • Resolution: Unresolved
    • Affects Version/s: 3.1
    • Fix Version/s: None
    • Component/s: dataset
    • Labels:
      None

      Description

      I was simply trying to use unitils to mock up a dataset for a test version of my application, for example just doing this:

      {noformat}
          DbUnitUnitils.insertDataSet("/foo/bar/dataset.xml");
      {noformat}

      However, this results in a NullPointerException in DefaultDataSetResolver.resolve() because the "testClass" parameter is null... hmm, wait a minute... you can't use all these great tools outside of a test framework?

      I must be missing something... !?

      If not, consider this a feature request.

        Attachments

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              archie172 Archie Cobbs
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated: