We are building a new experience for our SmartBear Community.
This site is now read-only. You can still browse and search as usual. Learn More

Forum Discussion

rajs2020's avatar
rajs2020
Frequent Contributor
5 years ago
Solved

ReadyAPI - How to work with source control?

I have ReadyAPI projects in Perforce. A ReadyAPI project has several "artifacts" like project, suite, test etc. These artifacts are represented with xml files and they also have their own settings.xml file, element.order file etc. When I make any changes in a ready api project, I'd like to know exactly which files get changed, which of these changes are important and then check in only the important changes. I want to ignore all the unnecessary changes like changes in the value of variables which change with every test run.

For example, if I change the sql in a test case & run the test. Then, I expect only the test.xml & its settings.xml to change. But, I sometimes I see changes in other files like the project's settings.xml. So, which changes should I keep & which to ignore? Is there any tutorial or guideline which covers all this?

  • rajs2020's avatar
    rajs2020
    5 years ago

    Your answer is for Git, but I am using Perforce. It appears that there are no integrations for Perforce at the moment.

2 Replies

  • Hi,

     

    Thank you for your post.

     

    I believe you could try 'commit' from the Project level, it would list all the test suites and test cases in your project and you can choose to commit just the one that you made changes to or the test cases/suites that you would like to commit. Under the details, click 'view' and see what's modified. Here is the documentation link:

     

    https://support.smartbear.com/readyapi/docs/integrations/git/commit.html

     

    If you would like to view what has changed in the remote repository, you could use the 'Viewing Remote Changes' option(https://support.smartbear.com/readyapi/docs/integrations/git/remote-changes.html)

    • rajs2020's avatar
      rajs2020
      Frequent Contributor

      Your answer is for Git, but I am using Perforce. It appears that there are no integrations for Perforce at the moment.