jira.codehaus.org

  • Log In Access more options
    • Online Help
    • Keyboard Shortcuts
    • About JIRA
    • JIRA Credits
    • What?s New
  • Dashboards Access more options (Alt+d)
  • Projects Access more options (Alt+p)
  • Issues Access more options (Alt+i)
Signup
castor
  • castor
  • CASTOR-2237 Refactor available tests to use the n...
  • CASTOR-2649

Execute tests with derby

  • Log In
  • Views
    • XML
    • Word
    • Printable

Details

  • Type: Sub-task Sub-task
  • Status: Closed Closed
  • Priority: Minor Minor
  • Resolution: Fixed
  • Affects Version/s: 1.3
  • Fix Version/s: 1.3.1
  • Component/s: JDO tests
  • Labels:
    None
  • Number of attachments :
    1
  • Options
    • Sort By Name
    • Sort By Date
    • Ascending
    • Descending
    • Download All

Attachments

  1. Text File
    patch-C2649-20090214.txt
    14/Feb/09 4:34 PM
    25 kB
    Ralf Joachim

Activity

Ascending order - Click to sort in descending order
  • All
  • Comments
  • Work Log
  • History
  • Activity
Hide
Permalink
Ralf Joachim added a comment - 14/Feb/09 2:31 PM

Duplicated by CASTOR-2655.

Show
Ralf Joachim added a comment - 14/Feb/09 2:31 PM Duplicated by CASTOR-2655 .
Hide
Permalink
Ralf Joachim added a comment - 14/Feb/09 4:25 PM

There seams to be some work left as not all possible tests are executed yet. Will add them in a minute.

Show
Ralf Joachim added a comment - 14/Feb/09 4:25 PM There seams to be some work left as not all possible tests are executed yet. Will add them in a minute.
Hide
Permalink
Ralf Joachim added a comment - 14/Feb/09 4:34 PM

Final patch. Now all possible tests (100 of 105) are excuted against derby.

Show
Ralf Joachim added a comment - 14/Feb/09 4:34 PM Final patch. Now all possible tests (100 of 105) are excuted against derby.
Hide
Permalink
Werner Guttmann added a comment - 15/Feb/09 11:52 AM

Wow, great. It's taken us a while, but it's great to see this finally working on our CI servers.

Having said that, I think we should add Maven profiles to allow easy execution of those tests on any other database. Lukas, I guess this should be pretty much straight-forward, no ?

Show
Werner Guttmann added a comment - 15/Feb/09 11:52 AM Wow, great. It's taken us a while, but it's great to see this finally working on our CI servers. Having said that, I think we should add Maven profiles to allow easy execution of those tests on any other database. Lukas, I guess this should be pretty much straight-forward, no ?
Hide
Permalink
Werner Guttmann added a comment - 15/Feb/09 12:05 PM

Ralf, after an SVN update, I am getting five tests that fail, incl. e.g. test87.TestSimple. Is this working for you ?

Show
Werner Guttmann added a comment - 15/Feb/09 12:05 PM Ralf, after an SVN update, I am getting five tests that fail, incl. e.g. test87.TestSimple. Is this working for you ?
Hide
Permalink
Ralf Joachim added a comment - 15/Feb/09 12:21 PM

All tests of suite under src/test/java pass for me against derby when executed with maven and against mysql when executed in eclipse. In other words I don't see any failure.

Show
Ralf Joachim added a comment - 15/Feb/09 12:21 PM All tests of suite under src/test/java pass for me against derby when executed with maven and against mysql when executed in eclipse. In other words I don't see any failure.
Hide
Permalink
Ralf Joachim added a comment - 15/Feb/09 12:25 PM

Before looking into maven profiles for other database engines let me try to execute scripts through junit as maintaining the list of scripts to execute for every supported database in maven pom sounds like a nightmare to me.

Show
Ralf Joachim added a comment - 15/Feb/09 12:25 PM Before looking into maven profiles for other database engines let me try to execute scripts through junit as maintaining the list of scripts to execute for every supported database in maven pom sounds like a nightmare to me.
Hide
Permalink
Werner Guttmann added a comment - 16/Feb/09 2:13 AM

Ralf, there's not the intention to maintain the list of scripts per database in Maven. That wouöd be a nightmare, indeed. But let's see whether we somehow can use environment properties to ease our life.

Show
Werner Guttmann added a comment - 16/Feb/09 2:13 AM Ralf, there's not the intention to maintain the list of scripts per database in Maven. That wouöd be a nightmare, indeed. But let's see whether we somehow can use environment properties to ease our life.

People

  • Assignee:
    Ralf Joachim
    Reporter:
    Ralf Joachim
Vote (0)
Watch (0)

Dates

  • Created:
    12/Feb/09 4:03 AM
    Updated:
    30/Dec/09 4:21 AM
    Resolved:
    14/Feb/09 4:35 PM
  • Atlassian JIRA (v5.2.7#850-sha1:b2af0c8)
  • Report a problem
  • Powered by a free Atlassian JIRA open source license for Codehaus. Try JIRA - bug tracking software for your team.