Which files should be source controlled?

Ask general questions here.
HansSchl
Posts: 23
Joined: Wed Sep 19, 2018 10:05 am

Which files should be source controlled?

Post by HansSchl » Wed Jun 24, 2020 11:14 am

Working with C++ or C# projects, I have a pretty clear idea which files should be committed to source control and which shouldn't. With Ranorex projects, I am unsure because it introduces a couple of unknown-to-me file types. Obviously, bin and obj folders need not be source controlled, but what about *.rxsln.pref and *.rx* files? As a rule of thumb, I assume those file types that are displayed in the project window of Ranorex Studio should be source controlled, but is that all?
Source controlling the Reports folder probably doesn't make much sense either, or does it? The RepositoryImages folder, on the other hand, looks important to me.
Just to make it clear - I am using Ranorex from a code writer's side. I am an application developer and maintainer of the AUT and want to create test examples and user code libraries for the non-programming software testers.

Thanks
Hans

User avatar
odklizec
Ranorex Guru
Ranorex Guru
Posts: 6036
Joined: Mon Aug 13, 2012 9:54 am
Location: Zilina, Slovakia

Re: Which files should be source controlled?

Post by odklizec » Wed Jun 24, 2020 12:16 pm

Hi,

Basically, you can ignore all files mentioned here (plus files in bin/obj and reports folders):
https://www.ranorex.com/forum/gitignore ... tml#p39203
Pavel Kudrys
Ranorex explorer at Descartes Systems

Please add these details to your questions:
  • Ranorex Snapshot. Learn how to create one >here<
  • Ranorex xPath of problematic element(s)
  • Ranorex version
  • OS version
  • HW configuration

HansSchl
Posts: 23
Joined: Wed Sep 19, 2018 10:05 am

Re: Which files should be source controlled?

Post by HansSchl » Wed Jun 24, 2020 12:50 pm

Pefect! This is what I was looking for. Thanks a lot!