Difference between revisions of "UnoAPITest/project/cwsTests"
(→Project Plan: checkcws in progress) |
(→Notes: solenv) |
||
Line 107: | Line 107: | ||
* only pro versions | * only pro versions | ||
* named pipes for connecting the office with pro+platform | * named pipes for connecting the office with pro+platform | ||
+ | * add solenv to a cws and commit checkws in solenv/bin | ||
== Automatic Office installation == | == Automatic Office installation == |
Revision as of 14:13, 2 January 2008
This project accompanied the way of UnoAPITests to be mandatory CWS tests.
Contents
Project description
The goal of the project is to set up a mechanism to find regression in the API on a cws. This should be done by run the UnoAPITests on added modules to a cws. In mostly all modules which support UnoAPI exist a qa/unoapi folder. This folder contains a make file which starts the UnoAPITests related to this module.
To make it easy a simple script, f.e checkcws (in coherence to checkapi) should do this job.
Project Plan
develop concept and identify needing tools | in progress | M1 |
basic console script checkcws | in progress | M2 |
query EIS for added modules | planned | M3 |
deliver status to EIS | planned | M4 |
automatic Office installation | planned | M5 |
Bugfixing | planned | M6 |
Milestone | Due |
M1 | End of Dec. 07 |
M2 | Mid of Jan. 08 |
M3 | End of Jan. 08 |
M4 | Mid of Feb. 08 |
M5 | End of Feb. 08 |
M6 | End of Mar. 08 |
Concept of mandatory UnoAPITests for CWS
CWS is ready
If the CWS is ready the developer has to run checkcws. checkcws calls an UnoAPITest for all modules which are added to the cws. If the result is FAILED the developer has
- to fix the failure inside the implementation
- to get an exception
To get the later one the developer must have good arguments why he/she is not able to fix the implementation.
If the UnoAPITest works fine with state state OK the CWS could be set readyForQA
Exception treatment
If an exception is approved, the developer has to do the following:
- write a new Issue
- update $MODULE.sce and knownissues.xcl
Exception handling
TODO
checkcws
checkcws is an commandline script similar to checkapi. The runner query EIS for all added modules relayed to the CWS and execute the tests.
Command line parameter
- -m Module[,Module]
- add the given modules to the test
- -log true
- enhance the logging output
- -debug true
- enabled the debugging mode: enhancing of output
- -tdoc Test-Document-Path
- path where testdocuments could be found
- -KeepDocument
- the tests normally close the documents which opened for testing purposes. If this flag is set to true all documents are available at the end of the test.
- -ini RunnerProps
- path to property file for CheckAPI. Default: $HOME/.runner.props
Notes
- only pro versions
- named pipes for connecting the office with pro+platform
- add solenv to a cws and commit checkws in solenv/bin
Automatic Office installation
- As the SmokeTest the checkcws should be able to install the office automatically.
- the smoke test has no separate installation routine. It's much easier to install the office via UserlandScripts.
- $SOURCE_ROOT could be the setup root entry
- support of local environments
EIS
- communication via SOAP
- the EIS should display test runs
- currently some tests attach result files to the CWS, f.e. PerformanceTests
- the EIS should have a extra data base for CWS tests
- therefore EIS needs a new Interface -> User:bei
- the EIS should display successfully executed tests with a green bullet
- the EIS should support the possibility to set the "OK" status manual. See #runner
runner
first step
The developer at Sun/StarOffice have some privileges that other don't have. This is f.e. an easier access to EIS.
- SOAP-Interface needet
- runner: change default connection string from socket to named pipes if possible
- complex Test complex.unoapi.CheckModuleAPI must be stabilized
second step
The SOAP-Interface of EIS needs https connections.
- implement https for community developer
- implement user/password login into EIS