Uploaded image for project: 'XWiki Platform'
  1. XWiki Platform
  2. XWIKI-1417

Functional tests for all databases

    XMLWordPrintable

Details

    • Improvement
    • Resolution: Fixed
    • Minor
    • 1.1 M3
    • 1.1 M1, 1.1 M2
    • None
    • maven2.1,hsqldb,mysql,postgresql,derby
    • maven,test,patch

    Description

      For now, functional tests works only for hsqldb database, because:

      1. xwiki-enterprise-database create database only for hsqldb
      2. xwiki-enterprise create distribution only for hsqldb (src/main/resources/hibernate.cfg.hsql.xml)

      I propose small changes to xwiki maven build configuration, what will allow to create distribution for all databases and run functional tests on it. patches is attached.
      Databases selected by profile, ex: mvn -Pmysql install

      This changes will be useful in integration test system.

      This changes may be dangerous for normal users, because xwiki-enterprise-database will damage data in 'xwiki' pgsql/mysql databases on localhost. Maybe we need somehow disable this by default.

      Attachments

        1. xwiki-platform-pom-1417.diff
          4 kB
          Artem Melentev
        2. xwiki-product-enterprise-1417.diff
          5 kB
          Artem Melentev
        3. xwiki-product-enterprise-1417-r1.diff
          6 kB
          Artem Melentev

        Activity

          People

            amelentev Artem Melentev
            amelentev Artem Melentev
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: