Uploaded image for project: 'Kuali Rice Development'
  1. Kuali Rice Development
  2. KULRICE-13865

Support different modes of operation in the Rice testing framework

    Details

    • Type: Improvement
    • Status: Open
    • Priority: Major
    • Resolution: Unresolved
    • Affects Version/s: None
    • Fix Version/s: Backlog
    • Component/s: Quality Assurance
    • Labels:
    • Rice Team:
      QA

      Description

      For KC we would like the ability to execute our unit tests using different modes of operation.

      A few things that need to be done:

      SQLDataLoaderLifecycle, ClearDatabaseLifecycle, @PerSuiteUnitTestData() - cannot always assume a single datasource

      Also KC is extending the RiceTestCase. Maybe to support this we will need to extend something else. Assuming we keep the inheritance the way it is. The RiceTestCase will need to differentiate between the server port & client port, the server config location & client config location, etc. etc.

      Also, right now KC is manually starting up a JettyLifeCycle - maybe there is a rice test case the could start up a single JettyServer (for bunded mode testing) or multiple JettyServers (for embedded mode testing). Then this would be transparent to KC.

      From our perspective all we should have to due for unit testing different modes is the following:

      1) set which mode we want to test in (bundled, embedded, remote)
      2) make sure our DB bootstrap data is separated between client & server data
      3) make sure we provide the appropriate configurations for each mode of operation (ie. a rice-config.xml when running standalone rice)

      that's all I can thing of...

        Attachments

          Activity

          Hide
          ewestfal Eric Westfall added a comment -

          Travis talked to leadership about this and indicated they would want this prior to early summer. This would be for the IRB release that they would like to have this for.

          Show
          ewestfal Eric Westfall added a comment - Travis talked to leadership about this and indicated they would want this prior to early summer. This would be for the IRB release that they would like to have this for.
          Hide
          ewestfal Eric Westfall added a comment -

          Talked to Geoff about this, he said this one could go to a later release so moving to Rice 1.1

          Show
          ewestfal Eric Westfall added a comment - Talked to Geoff about this, he said this one could go to a later release so moving to Rice 1.1

            People

            • Assignee:
              Unassigned
              Reporter:
              tschneeb Travis Schneeberger
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated: