Forum Discussion
Here's what we worked out in order to keep everything straight.
The master copies of our tests reside in subversion. Each person working on tests checks out their own copy of the tests, works on those or adds new ones, and commits changes as needed. Those merges are handled automatically.
Name mapping is merged manually every few days. One person takes the new name mappings from all the others and merges them one at a time inside TestComplete and deals with any issues. Once that new master copy is created, then that one is committed in subversion and is then available for everyone to use.
For overnight testing, a separate copy of the whole project is retrieved from subversion and the tests are run from that copy. We don't include a test in the overnight run until the name mapping that it needs has been merged.
Does that help?
- AlexKaras10 years agoChampion Level 3
Hi,
I little bit different approach is to have dedicated person who must be contacted when the changes to NameMapping are required. This person, together with the change requestor, corrects master NameMapping file that than is spreaded among others.
The pros of this approach is that: a) there is no need for the NameMapping merging; and b) as the NameMapping is changed 'interactively', i.e. during direct communication between the change initiator and (hopefully) more experienced person, there is a chance that the changes to NameMapping (and Aliasing) are done in the most effective way (e.g. correct usage of project variables, conditional mapping, extended find functionality, etc.).
The cons of this approach is that there is a need to communicate with the 'NameMapping file master' who may be not accessible right at the moment (e.g. due to the different time zones).
- william_roe10 years agoSuper Contributor
Marsha_R wrote:Here's what we worked out in order to keep everything straight.
The master copies of our tests reside in subversion. Each person working on tests checks out their own copy of the tests, works on those or adds new ones, and commits changes as needed. Those merges are handled automatically.
Name mapping is merged manually every few days. One person takes the new name mappings from all the others and merges them one at a time inside TestComplete and deals with any issues. Once that new master copy is created, then that one is committed in subversion and is then available for everyone to use.
For overnight testing, a separate copy of the whole project is retrieved from subversion and the tests are run from that copy. We don't include a test in the overnight run until the name mapping that it needs has been merged.
Does that help?
It's still not clear how the merging of the name mapping within TC works. Whenever we merge we get a conflict message with no mechanism to resolve.
We never receive the dialog shown in http://support.smartbear.com/viewarticle/55712/
- Marsha_R10 years agoModerator
william_roe : After that dialog, try searching the name mapping for _new - that's the only way we find the conflicts.
AlexKaras: We thought about something like that but no one wanted to be the dedicated person ;) All of us know how to do it so we spread the pain around.
Related Content
- 6 months ago
- 7 years ago
- 2 years ago
Recent Discussions
- 11 hours ago