Skip to main content

Notice: this Wiki will be going read only early in 2024 and edits will no longer be possible. Please see: https://gitlab.eclipse.org/eclipsefdn/helpdesk/-/wikis/Wiki-shutdown-plan for the plan.

Jump to: navigation, search

COSMOS/COSMOS TEST AUTO

< COSMOS
Revision as of 12:15, 15 April 2008 by Bobbyjoseph.in.ibm.com (Talk | contribs) ('''3) Test Details''')

1) Introduction

This page provides information and links related to Test Automation of COSMOS junits.

2) Test Automation Overview


The COSMOS build is based on Eclipse PDE (Plug-in Development Environment) and it runs in the eclipse server. Currently the candidate drivers at the end of an iteration are manually tested by the respective component teams. This initiative is to define the process of testing and automate junit execution as part of the build. By automating and integrating with the build, testing can be done more often and bugs will be discovered early on.

The test cases are available in CVS at the following location:
Cosmos cvs.jpg

Go to HEAD -> org.eclipse.cosmos -> tests

3) Test Details

The following table briefly explains the different contacts for the test cases as well as the pre reqs and test setup needed to execute it.

Sl No Component Test Project Contact Person Dependencies Test Setup Test Automation
1data-collectionorg.eclipse.cosmos.dc.cmdf.services.testsDavid Whitemanorg.eclipse.cosmos.common.testsThe directory in testTempDirectory in CMDBfTestMessages.properties will be created. This will need to be changed from the default for Linux testing.Done, AllTests.testsuite works
2data-collectionorg.eclipse.cosmos.dc.framework.test???
3data-collectionorg.eclipse.cosmos.dc.stat.datamgr.testing???
4data-collectionorg.eclipse.cosmos.dc.tests???
5data-collectionorg.eclipse.cosmos.example.mdr.registration.testsAli MehreganiCOSMOS environmentThis test requires the COSMOS environment to be running before the test is executed. It's meant to perform functional testing on the registration service. It's probably unrealistic to run this plug-in against each build. I would exclude this test from your test automation framework
1data-reportingorg.eclipse.cosmos.dr.testsSheldon Lee-LoyCan not be automated. This project contains manual tests.
2data-reportingorg.eclipse.cosmos.dr.tests.drs.service.handlerSheldon Lee-LoyThe COSMOS End 2 End should be deployed on http://localhost:8080
3data-reportingorg.eclipse.cosmos.dr.tests.drs.service.handler.tptpSheldon Lee-Loyorg.eclipse.cosmos.dr.tests.drs.service.handlerThe COSMOS End 2 End should be deployed on http://localhost:8080
4data-reportingorg.eclipse.cosmos.dr.tests.viewsSheldon Lee-LoyCan not be automated. This project contains manual tests.
5data-reportingorg.eclipse.cosmos.dr.tests.web.uiSheldon Lee-LoyCan not be automated. This project contains manual tests.
1management-enablementorg.eclipse.cosmos.me.dmtoolkit.testsDavid Whitemanorg.eclipse.cosmos.common.tests, Webtools platformOne manual test in addition to a plugin test.
2management-enablementorg.eclipse.cosmos.me.management.tests???
1resource-modelingorg.eclipse.cosmos.rm.repository.testsDavid Whitemanorg.eclipse.cosmos.common.testsSee org.eclipse.cosmos.rm.repository.tests/src/org/eclipse/cosmos/rm/repository/tests/common/testMessages.properties and org.eclipse.cosmos.rm.repository.tests/src/META-INF
2resource-modelingorg.eclipse.cosmos.rm.smlif.testsDavid Whitemanorg.eclipse.cosmos.common.testsConfigure artifacts in org.eclipse.cosmos.rm.smlif.tests/test-resources. Open the TPTP artifacts to see documentation on what is required.
3resource-modelingorg.eclipse.cosmos.rm.validation.testsDavid Whitemanorg.eclipse.cosmos.common.testsSee org.eclipse.cosmos.rm.validation.tests/src/org/eclipse/cosmos/rm/validation/internal/common/testMessages.properties. Also need to configure artifacts in org.eclipse.cosmos.rm.validation.tests/test-resources for plugin tests (open the artifacts to read documentation on doing this).



We will try to automate as much as possible from the above list using the TPTP Test Automation Framework.

Back to the top