Page 1 of 1

How to code review Ranorex "UserCode.cs" scripts?

Posted: Fri Sep 02, 2016 10:15 am
by mto
Hello all,

We are using Ranorex to develop test scripts and we need to code review "UserCode.cs" scripts.

What is the best tool to do this? is it possible using Gerrit?

Thank you in advance for your advise.

Best regards

MTO

Re: How to code review Ranorex "UserCode.cs" scripts?

Posted: Fri Oct 21, 2016 1:24 pm
by Vaughan.Douglas
I think you mean to ask how others go about conducting code reviews on their Ranorex user code. Is that correct?

I've not personally used Gerrit, but it seems like it could work. We've got static code tools like HP Fortify, but we generally don't use that on our automation code (at this point). We do informal reviews of our code since it is not customer facing and tends to undergo more rapid updates to keep up with the agile development of the production code.

Re: How to code review Ranorex "UserCode.cs" scripts?

Posted: Fri Oct 21, 2016 3:01 pm
by krstcs
I would agree with Vaughan.Douglas, unless you are completely re-writing the Ranorex functionality in your user code, I don't think that there is much benefit to formal code/peer-reviews. Your user code will generally be small enough that there is no point.

Note: I'm the only one in our company that does Ranorex automation, so there isn't anyone to peer-review my stuff, but I have some very deep and serious code that gets run, so take what I say for what it cost you... :D