Release 0.0.9 of the integration testing framework for Documentum (
add support for custom lifecycle action.
add client for testing
bugfixes bof 2.0
create server (documentum developer edition) for testing
There are next artifact in repository
1) Type : testtype with custom attributes
test_string
test_int
test_double
test_boolean
test_date
2) two object of testtype :
object_name = 'test_object'
object_name = '11123'
3) policy for testtype : lf_test_policy ( state Init , state Finished )
4) tbo for testtype ( module tbotesttype , class TBO is com.test.tbo.TestTypeTBO )
5) module for lifecycle
6) dm_process testwork and method alwaysfirstflow ( class name is debug.FirstFlow ) . artifact in attach
/****************************************************************************************************/
Uses if framework
0) you can send class as byte array ITestDocumentum.sendFile
1) Test Case One
You add the custom business logic to the TBO and now customer changes the requirements.
For example attribute subject depends on the weather and lifecycle state and value of others attributes and depends on last football match . ( All 15 tests ).
You should copy of test document 15 times to change values of attributes and save. (your repository is growing faster than you would like).
OR
you can call ITestDocumentum.saveObject on one test document with various parameters.
2) Test Case Two
You changed workflow in Workflow Manager and you changed methods class .
you can call ITestDocumentum.runWorkflow to check
3) Test Case 3
You changed lifecycle class action.
you can call ITestDocumentum.promoteObject to check.
All of this Test Case are in com.wtesting.rmi.client.TestClient.java ( https://github.com/testingdocumentum/documentum-testing-client ).
You can download client for documentum testing , changed code of TBO, Lf Action, Workflow Method and check.
server ip and port i send in private message
/****************************************************************************************************/
Client for testing are :: https://github.com/testingdocumentum/documentum-testing-client
need library :
commons-io-*.jar (apache )
commons-loggins-*.jar (apache )
dfc.jar ( Documentum )
aspectjrt*.jar ( Documentum )
mthdservlet.jar ( Documentum )
rmiio-2.0.4.jar ( http://sourceforge.net/projects/openhms/files/rmiio )