cancel
Showing results for 
Search instead for 
Did you mean: 

Version control - Diff is very confusing for ReadyAPI projects?

SOLVED
Highlighted
Contributor

Version control - Diff is very confusing for ReadyAPI projects?

In any "project" (ReadyAPI or other), people might make small changes to the "project" and save their changes to source control. In such cases, I'd expect a small and simple diff. When the project is purely code based (ex. Java, Python etc.), then the diff is actually small and easy to understand. But, when the project is in ReadyAPI, the diff often becomes complicated and there is a lot of noise.

If I change one small line in ReadyAPI, then many other things might also get changed to support my change (i.e. metadata). Hence, it gets harder to read and understand a diff. There are so many confusing xml tags that we have to sift through to get to the main changes, for example:

 

 

</con:config>
</con:testStep>
<con:properties>
<con:property>
<con:settings>

 

 


How do you do code/test reviews with ReadyAPI? How do you cut down the noise? There is only so much you can do with ignore files of your source control.

Keywords: Git, SVN, Mercurial, Perforce, DVCS, Version Control, Source Control, VCS, Diff, Code reviews, Peer reviews.

PS: If found a related post, but it does not answer my question.
https://community.smartbear.com/t5/API-Functional-Security-Testing/Tactics-to-Overcome-Git-Version-C...


1 ACCEPTED SOLUTION

Accepted Solutions
Highlighted
Moderator

Re: Version control - Diff is very confusing for ReadyAPI projects?

Hi @rajs2020,

 

Yes, currently, if you change one thing in ReadyAPI, several things in different places of the project might change as well. 

 

If you describe your scenario and changes in detail we might find a way of how to reduce the changes.



Did my reply answer your question? Give Kudos or Accept it as a Solution to help others. ⬇️⬇️⬇️

View solution in original post

1 REPLY 1
Highlighted
Moderator

Re: Version control - Diff is very confusing for ReadyAPI projects?

Hi @rajs2020,

 

Yes, currently, if you change one thing in ReadyAPI, several things in different places of the project might change as well. 

 

If you describe your scenario and changes in detail we might find a way of how to reduce the changes.



Did my reply answer your question? Give Kudos or Accept it as a Solution to help others. ⬇️⬇️⬇️

View solution in original post

New Here?
Join us and watch the welcome video:
Announcements
Top Kudoed Authors