Background: We are building a connector between our Test Execution tool and Integrity Test Management.
The synchronization works for a given Test Session.
I would like to detect if a Test Session was changed after the last synchronization.
Do you know a way by script (CLI or Java API) to find out when a Test Session was last modified or if it was modified since a specific (last sync) date?
"Modified" means here when a Test Case linked in this Test Session was last edited.
If it is not possible with a given TestSession do you know maybe if a TestSuite has such Lastmodified information propagated from its containing test cases?
In other words, if one modified a Test Case how to detect its modified date from the TestSuite container document?
I am looking for something more efficient than parsing all the related items for last modified date.
Do you have maybe any scripting advise how to get this the most efficient way?
Maybe a diff command could give the expected result?
Hi Thierry Dalon,
you might want to have a look at the 'tm' cli command. For example, with "tm testcases <session id>" you can get all cases related to a test session. Maybe you could use some variation of "tm results --sessionID=<id>" with an added "--field=...." option.
Maybe those ideas are helpful.
Maybe by doing a hash on the results of the command, and storing the hash and comparing to the old hash?