.gitignore for Ranorex 6.x

Ask general questions here.
JToelstede
Posts: 55
Joined: Fri May 24, 2013 12:57 pm

.gitignore for Ranorex 6.x

Post by JToelstede » Fri Jul 29, 2016 11:17 am

Hi together,

we are using git since Ranorex 4.x and have used the following .gitignore.

Code: Select all

*bin/
*obj/
*Reports/
*.rxlog
*.rxuser
Everything worked fine till Ranorex 6.x . Could it be that now a few more files should be ignored with Ranorex 6.x like '*.pref'?

Is it possible to get an example of a .gitignore-File for the work with Ranorex 6.x?

Best regards.
Joerg

krstcs
Ranorex Guru
Posts: 2683
Joined: Tue Feb 07, 2012 4:14 pm
Location: Austin, Texas, USA

Re: .gitignore for Ranorex 6.x

Post by krstcs » Fri Jul 29, 2016 3:00 pm

This question was asked a while back when 6.0.0 first was released.

The Ranorex team recommends adding the *.pref files to the .gitignore list. You should also add the *.rxlog.data files as that is where all the report data is actually stored.


Mine has this section:

Code: Select all

# Ranorex Specific files
[Rr]eports
*.rxlog
*.rxlog.data
*.jpg
*.rxuser
*.pref
The other stuff (bin/obj/*.exe) is all part of the .NET specific stuff.
Shortcuts usually aren't...

JToelstede
Posts: 55
Joined: Fri May 24, 2013 12:57 pm

Re: .gitignore for Ranorex 6.x

Post by JToelstede » Tue Aug 02, 2016 7:24 am

Many thanks krstcs.

Best regards,
Joerg