You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tuscany.apache.org by "Robbie Minshall (JIRA)" <tu...@ws.apache.org> on 2007/01/11 22:27:27 UTC

[jira] Created: (TUSCANY-1048) SDO CTS. Contribute Paramatized Test Cases, and application server test harness

SDO CTS.  Contribute Paramatized Test Cases, and application server test harness 
---------------------------------------------------------------------------------

                 Key: TUSCANY-1048
                 URL: https://issues.apache.org/jira/browse/TUSCANY-1048
             Project: Tuscany
          Issue Type: Improvement
          Components: Java SDO Community Test Suite
            Reporter: Robbie Minshall


An important attribute of sdo test cases is that the SDO APIs and scenarios work for DataObjects that are created and populated in different ways.  This JIRA has been opened to contirbute 
- modification to 'scenarios'  in initial cts drop to paramatized junit tests
- Custom Junit Core and test application which facilitates the execution of test cases within an application server ( such as tomcat )



-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: https://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

---------------------------------------------------------------------
To unsubscribe, e-mail: tuscany-dev-unsubscribe@ws.apache.org
For additional commands, e-mail: tuscany-dev-help@ws.apache.org


[jira] Resolved: (TUSCANY-1048) SDO CTS. Contribute Paramatized Test Cases, and application server test harness

Posted by "Geoff Winn (JIRA)" <tu...@ws.apache.org>.
     [ https://issues.apache.org/jira/browse/TUSCANY-1048?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Geoff Winn resolved TUSCANY-1048.
---------------------------------

    Resolution: Fixed

Patch applied

> SDO CTS.  Contribute Paramatized Test Cases, and application server test harness 
> ---------------------------------------------------------------------------------
>
>                 Key: TUSCANY-1048
>                 URL: https://issues.apache.org/jira/browse/TUSCANY-1048
>             Project: Tuscany
>          Issue Type: Improvement
>          Components: Java SDO Community Test Suite
>            Reporter: Robbie Minshall
>             Fix For: Java-SDO-Mx
>
>         Attachments: patch070129.txt, patch20070124.txt, TUSCANY-1048-20070131-dm.patch, TUSCANY-1048-dm-20073001.patch, TUSCANY-1048-gmw.patch, tuscany-1048-paramatizedTests1.zip, tuscanyHelper.zip
>
>
> An important attribute of sdo test cases is that the SDO APIs and scenarios work for DataObjects that are created and populated in different ways.  This JIRA has been opened to contirbute 
> - modification to 'scenarios'  in initial cts drop to paramatized junit tests
> - Custom Junit Core and test application which facilitates the execution of test cases within an application server ( such as tomcat )

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


---------------------------------------------------------------------
To unsubscribe, e-mail: tuscany-dev-unsubscribe@ws.apache.org
For additional commands, e-mail: tuscany-dev-help@ws.apache.org


[jira] Updated: (TUSCANY-1048) SDO CTS. Contribute Paramatized Test Cases, and application server test harness

Posted by "Geoff Winn (JIRA)" <tu...@ws.apache.org>.
     [ https://issues.apache.org/jira/browse/TUSCANY-1048?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Geoff Winn updated TUSCANY-1048:
--------------------------------

    Attachment: TUSCANY-1048-gmw.patch

I've re-worked the patch to add svn properties and correct addition of files. However, some files (perhaps all?) are missing copyright statements.

> SDO CTS.  Contribute Paramatized Test Cases, and application server test harness 
> ---------------------------------------------------------------------------------
>
>                 Key: TUSCANY-1048
>                 URL: https://issues.apache.org/jira/browse/TUSCANY-1048
>             Project: Tuscany
>          Issue Type: Improvement
>          Components: Java SDO Community Test Suite
>            Reporter: Robbie Minshall
>             Fix For: Java-SDO-Mx
>
>         Attachments: patch070129.txt, patch20070124.txt, TUSCANY-1048-gmw.patch, tuscany-1048-paramatizedTests1.zip, tuscanyHelper.zip
>
>
> An important attribute of sdo test cases is that the SDO APIs and scenarios work for DataObjects that are created and populated in different ways.  This JIRA has been opened to contirbute 
> - modification to 'scenarios'  in initial cts drop to paramatized junit tests
> - Custom Junit Core and test application which facilitates the execution of test cases within an application server ( such as tomcat )

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


---------------------------------------------------------------------
To unsubscribe, e-mail: tuscany-dev-unsubscribe@ws.apache.org
For additional commands, e-mail: tuscany-dev-help@ws.apache.org


[jira] Commented: (TUSCANY-1048) SDO CTS. Contribute Paramatized Test Cases, and application server test harness

Posted by "Robbie Minshall (JIRA)" <tu...@ws.apache.org>.
    [ https://issues.apache.org/jira/browse/TUSCANY-1048?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12464024 ] 

Robbie Minshall commented on TUSCANY-1048:
------------------------------------------

I have attached tuscany-1048-paramatizedTests1.zip

This is a first attempt at converting Brian's and my test cases to a form more applicable to the cts.  Please let me know what is good and what is bad.  I have converted to the maven format though did not create a patch at this point becaues there is a lot of changes and I wanted some feedback before making this effort.
-  Created junit 4.1 paramatized tests rather than using the abstracted scenario method
-  Used TestHelper interface for non spec APIs ( this needs some improvement ) and for obtaining implementation specific helper classes etc.  The DefaultTestHelper is not in this zip as I currently have it in a vendorSpecific subdirectory which I use for the tuscany implementation
-  Removed use of SDOUtil and INSTANCE for helper methods
- Added @Suite Classes for paramatized and general tests 
- Made means and creation of population of DataObjects extendable by vendors ( good for using the same test cases for vendor specific static sdo etc ).  

I will add a seperate zip and screenshot for the application test harness.  This is a simple servlet/jsp and junitCore modification which allows the user to execute test cases in application server environment and view results.  It uses DOJO which may or may not be a problem.  Since my use cases for SDO are based upon the execution of applications that use SDO within an application server this is very valuable to my testing but I am unsure whether or not the CTS will be interested.  



> SDO CTS.  Contribute Paramatized Test Cases, and application server test harness 
> ---------------------------------------------------------------------------------
>
>                 Key: TUSCANY-1048
>                 URL: https://issues.apache.org/jira/browse/TUSCANY-1048
>             Project: Tuscany
>          Issue Type: Improvement
>          Components: Java SDO Community Test Suite
>            Reporter: Robbie Minshall
>         Attachments: tuscany-1048-paramatizedTests1.zip
>
>
> An important attribute of sdo test cases is that the SDO APIs and scenarios work for DataObjects that are created and populated in different ways.  This JIRA has been opened to contirbute 
> - modification to 'scenarios'  in initial cts drop to paramatized junit tests
> - Custom Junit Core and test application which facilitates the execution of test cases within an application server ( such as tomcat )

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: https://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

---------------------------------------------------------------------
To unsubscribe, e-mail: tuscany-dev-unsubscribe@ws.apache.org
For additional commands, e-mail: tuscany-dev-help@ws.apache.org


[jira] Commented: (TUSCANY-1048) SDO CTS. Contribute Paramatized Test Cases, and application server test harness

Posted by "Robbie Minshall (JIRA)" <tu...@ws.apache.org>.
    [ https://issues.apache.org/jira/browse/TUSCANY-1048?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12467138 ] 

Robbie Minshall commented on TUSCANY-1048:
------------------------------------------

Adding a patch to convert from scenarios to paramatized tests.  

I have attempted to remove references to test cases that rely on static SDO.

I have not added a patch for a new project to house the tuscany test helper implementation.  

In order to use this to execute I have been using junit and our own custom application harness.   the initialization reads an environment variable for the test helper implementation, for example: 
          <env key="sdoCtsTestHelperClass" value="test.sdo21.vendorSpecific.tuscany.testHelper.TuscanyTestHelper"/>

I will attempt to create a project to execute CTS and use the tuscany test helper when I get some time ( perhaps friday ) - if anyone else would like to do it that would be good. 

Robbie


> SDO CTS.  Contribute Paramatized Test Cases, and application server test harness 
> ---------------------------------------------------------------------------------
>
>                 Key: TUSCANY-1048
>                 URL: https://issues.apache.org/jira/browse/TUSCANY-1048
>             Project: Tuscany
>          Issue Type: Improvement
>          Components: Java SDO Community Test Suite
>            Reporter: Robbie Minshall
>             Fix For: Java-SDO-Mx
>
>         Attachments: tuscany-1048-paramatizedTests1.zip, tuscanyHelper.zip
>
>
> An important attribute of sdo test cases is that the SDO APIs and scenarios work for DataObjects that are created and populated in different ways.  This JIRA has been opened to contirbute 
> - modification to 'scenarios'  in initial cts drop to paramatized junit tests
> - Custom Junit Core and test application which facilitates the execution of test cases within an application server ( such as tomcat )

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


---------------------------------------------------------------------
To unsubscribe, e-mail: tuscany-dev-unsubscribe@ws.apache.org
For additional commands, e-mail: tuscany-dev-help@ws.apache.org


[jira] Updated: (TUSCANY-1048) SDO CTS. Contribute Paramatized Test Cases, and application server test harness

Posted by "Ki Park (JIRA)" <tu...@ws.apache.org>.
     [ https://issues.apache.org/jira/browse/TUSCANY-1048?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Ki Park updated TUSCANY-1048:
-----------------------------

    Attachment: patch20070124.txt

I'm attaching a patch file which contains updates included in previous ZIP file attachments from Robbie plus a few minor changes.  Once you apply the patch on top of the CTS files from Tuscany, you should be at the same level as previous ZIP files including the minor changes.


> SDO CTS.  Contribute Paramatized Test Cases, and application server test harness 
> ---------------------------------------------------------------------------------
>
>                 Key: TUSCANY-1048
>                 URL: https://issues.apache.org/jira/browse/TUSCANY-1048
>             Project: Tuscany
>          Issue Type: Improvement
>          Components: Java SDO Community Test Suite
>            Reporter: Robbie Minshall
>             Fix For: Java-SDO-Mx
>
>         Attachments: patch20070124.txt, tuscany-1048-paramatizedTests1.zip, tuscanyHelper.zip
>
>
> An important attribute of sdo test cases is that the SDO APIs and scenarios work for DataObjects that are created and populated in different ways.  This JIRA has been opened to contirbute 
> - modification to 'scenarios'  in initial cts drop to paramatized junit tests
> - Custom Junit Core and test application which facilitates the execution of test cases within an application server ( such as tomcat )

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


---------------------------------------------------------------------
To unsubscribe, e-mail: tuscany-dev-unsubscribe@ws.apache.org
For additional commands, e-mail: tuscany-dev-help@ws.apache.org


[jira] Updated: (TUSCANY-1048) SDO CTS. Contribute Paramatized Test Cases, and application server test harness

Posted by "Dan Murphy (JIRA)" <tu...@ws.apache.org>.
     [ https://issues.apache.org/jira/browse/TUSCANY-1048?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Dan Murphy updated TUSCANY-1048:
--------------------------------

    Attachment: TUSCANY-1048-20070131-dm.patch

Right - this was generated with eclipse, so has the "new" files also (the previous one generated from cmd line only had "old" files)

> SDO CTS.  Contribute Paramatized Test Cases, and application server test harness 
> ---------------------------------------------------------------------------------
>
>                 Key: TUSCANY-1048
>                 URL: https://issues.apache.org/jira/browse/TUSCANY-1048
>             Project: Tuscany
>          Issue Type: Improvement
>          Components: Java SDO Community Test Suite
>            Reporter: Robbie Minshall
>             Fix For: Java-SDO-Mx
>
>         Attachments: patch070129.txt, patch20070124.txt, TUSCANY-1048-20070131-dm.patch, TUSCANY-1048-dm-20073001.patch, TUSCANY-1048-gmw.patch, tuscany-1048-paramatizedTests1.zip, tuscanyHelper.zip
>
>
> An important attribute of sdo test cases is that the SDO APIs and scenarios work for DataObjects that are created and populated in different ways.  This JIRA has been opened to contirbute 
> - modification to 'scenarios'  in initial cts drop to paramatized junit tests
> - Custom Junit Core and test application which facilitates the execution of test cases within an application server ( such as tomcat )

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


---------------------------------------------------------------------
To unsubscribe, e-mail: tuscany-dev-unsubscribe@ws.apache.org
For additional commands, e-mail: tuscany-dev-help@ws.apache.org


[jira] Commented: (TUSCANY-1048) SDO CTS. Contribute Paramatized Test Cases, and application server test harness

Posted by "Robbie Minshall (JIRA)" <tu...@ws.apache.org>.
    [ https://issues.apache.org/jira/browse/TUSCANY-1048?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12464846 ] 

Robbie Minshall commented on TUSCANY-1048:
------------------------------------------

tuscany-1048-paramatizedTests1.zip is a replacement not an overlay for java/cts/sdo21.  It is intended for general review of layout purposes and does not include an implementation of TestHelper which is necessary to execute the test cases. 

tuscanyHelper includes an implementation of TestHelper and replaces CTSGeneralSuite.java and CTSParamatizedSuite.java so that test caes that require static SDO are not executed.  I have not included the static SDO as this topic complicates matters and should be discussed seperately.



> SDO CTS.  Contribute Paramatized Test Cases, and application server test harness 
> ---------------------------------------------------------------------------------
>
>                 Key: TUSCANY-1048
>                 URL: https://issues.apache.org/jira/browse/TUSCANY-1048
>             Project: Tuscany
>          Issue Type: Improvement
>          Components: Java SDO Community Test Suite
>            Reporter: Robbie Minshall
>         Attachments: tuscany-1048-paramatizedTests1.zip, tuscanyHelper.zip
>
>
> An important attribute of sdo test cases is that the SDO APIs and scenarios work for DataObjects that are created and populated in different ways.  This JIRA has been opened to contirbute 
> - modification to 'scenarios'  in initial cts drop to paramatized junit tests
> - Custom Junit Core and test application which facilitates the execution of test cases within an application server ( such as tomcat )

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: https://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

---------------------------------------------------------------------
To unsubscribe, e-mail: tuscany-dev-unsubscribe@ws.apache.org
For additional commands, e-mail: tuscany-dev-help@ws.apache.org


[jira] Updated: (TUSCANY-1048) SDO CTS. Contribute Paramatized Test Cases, and application server test harness

Posted by "Dan Murphy (JIRA)" <tu...@ws.apache.org>.
     [ https://issues.apache.org/jira/browse/TUSCANY-1048?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Dan Murphy updated TUSCANY-1048:
--------------------------------

    Attachment: TUSCANY-1048-dm-20073001.patch

Sorry Geoff, didn't spot that one of the earlier patches removed them... I have reapplied and also removed the @author tags which seem to be omitted in this and other apache projects (a search around seems to indicate that this is a ASF Board recommendation)

TUSCANY-1048-dm-20073001.patch should be ok now... although it seems to be a cumulative patch... ie to be applied to a copy taken from the trunk & should be applied to the tuscany/java/cts part of your build file.

> SDO CTS.  Contribute Paramatized Test Cases, and application server test harness 
> ---------------------------------------------------------------------------------
>
>                 Key: TUSCANY-1048
>                 URL: https://issues.apache.org/jira/browse/TUSCANY-1048
>             Project: Tuscany
>          Issue Type: Improvement
>          Components: Java SDO Community Test Suite
>            Reporter: Robbie Minshall
>             Fix For: Java-SDO-Mx
>
>         Attachments: patch070129.txt, patch20070124.txt, TUSCANY-1048-dm-20073001.patch, TUSCANY-1048-gmw.patch, tuscany-1048-paramatizedTests1.zip, tuscanyHelper.zip
>
>
> An important attribute of sdo test cases is that the SDO APIs and scenarios work for DataObjects that are created and populated in different ways.  This JIRA has been opened to contirbute 
> - modification to 'scenarios'  in initial cts drop to paramatized junit tests
> - Custom Junit Core and test application which facilitates the execution of test cases within an application server ( such as tomcat )

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


---------------------------------------------------------------------
To unsubscribe, e-mail: tuscany-dev-unsubscribe@ws.apache.org
For additional commands, e-mail: tuscany-dev-help@ws.apache.org


[jira] Updated: (TUSCANY-1048) SDO CTS. Contribute Paramatized Test Cases, and application server test harness

Posted by "Robbie Minshall (JIRA)" <tu...@ws.apache.org>.
     [ https://issues.apache.org/jira/browse/TUSCANY-1048?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Robbie Minshall updated TUSCANY-1048:
-------------------------------------

    Attachment: tuscanyHelper.zip

> SDO CTS.  Contribute Paramatized Test Cases, and application server test harness 
> ---------------------------------------------------------------------------------
>
>                 Key: TUSCANY-1048
>                 URL: https://issues.apache.org/jira/browse/TUSCANY-1048
>             Project: Tuscany
>          Issue Type: Improvement
>          Components: Java SDO Community Test Suite
>            Reporter: Robbie Minshall
>         Attachments: tuscany-1048-paramatizedTests1.zip, tuscanyHelper.zip
>
>
> An important attribute of sdo test cases is that the SDO APIs and scenarios work for DataObjects that are created and populated in different ways.  This JIRA has been opened to contirbute 
> - modification to 'scenarios'  in initial cts drop to paramatized junit tests
> - Custom Junit Core and test application which facilitates the execution of test cases within an application server ( such as tomcat )

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: https://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

---------------------------------------------------------------------
To unsubscribe, e-mail: tuscany-dev-unsubscribe@ws.apache.org
For additional commands, e-mail: tuscany-dev-help@ws.apache.org


[jira] Updated: (TUSCANY-1048) SDO CTS. Contribute Paramatized Test Cases, and application server test harness

Posted by "Robbie Minshall (JIRA)" <tu...@ws.apache.org>.
     [ https://issues.apache.org/jira/browse/TUSCANY-1048?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Robbie Minshall updated TUSCANY-1048:
-------------------------------------

    Attachment: tuscany-1048-paramatizedTests1.zip

> SDO CTS.  Contribute Paramatized Test Cases, and application server test harness 
> ---------------------------------------------------------------------------------
>
>                 Key: TUSCANY-1048
>                 URL: https://issues.apache.org/jira/browse/TUSCANY-1048
>             Project: Tuscany
>          Issue Type: Improvement
>          Components: Java SDO Community Test Suite
>            Reporter: Robbie Minshall
>         Attachments: tuscany-1048-paramatizedTests1.zip
>
>
> An important attribute of sdo test cases is that the SDO APIs and scenarios work for DataObjects that are created and populated in different ways.  This JIRA has been opened to contirbute 
> - modification to 'scenarios'  in initial cts drop to paramatized junit tests
> - Custom Junit Core and test application which facilitates the execution of test cases within an application server ( such as tomcat )

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: https://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

---------------------------------------------------------------------
To unsubscribe, e-mail: tuscany-dev-unsubscribe@ws.apache.org
For additional commands, e-mail: tuscany-dev-help@ws.apache.org


[jira] Updated: (TUSCANY-1048) SDO CTS. Contribute Paramatized Test Cases, and application server test harness

Posted by "Dan Murphy (JIRA)" <tu...@ws.apache.org>.
     [ https://issues.apache.org/jira/browse/TUSCANY-1048?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Dan Murphy updated TUSCANY-1048:
--------------------------------

    Attachment: patch070129.txt

patch070129.txt is a mod on the previous patches as it changes the TestHelper to be in line with that in TUSCANY-1081
To be applied at the tuscany/java level...

> SDO CTS.  Contribute Paramatized Test Cases, and application server test harness 
> ---------------------------------------------------------------------------------
>
>                 Key: TUSCANY-1048
>                 URL: https://issues.apache.org/jira/browse/TUSCANY-1048
>             Project: Tuscany
>          Issue Type: Improvement
>          Components: Java SDO Community Test Suite
>            Reporter: Robbie Minshall
>             Fix For: Java-SDO-Mx
>
>         Attachments: patch070129.txt, patch20070124.txt, tuscany-1048-paramatizedTests1.zip, tuscanyHelper.zip
>
>
> An important attribute of sdo test cases is that the SDO APIs and scenarios work for DataObjects that are created and populated in different ways.  This JIRA has been opened to contirbute 
> - modification to 'scenarios'  in initial cts drop to paramatized junit tests
> - Custom Junit Core and test application which facilitates the execution of test cases within an application server ( such as tomcat )

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


---------------------------------------------------------------------
To unsubscribe, e-mail: tuscany-dev-unsubscribe@ws.apache.org
For additional commands, e-mail: tuscany-dev-help@ws.apache.org