Check Code for consistency

Ask general questions here.
anja
Posts: 67
Joined: Fri Nov 26, 2010 3:39 pm

Check Code for consistency

Post by anja » Fri Nov 26, 2010 3:45 pm

Hello everybody,

I'm searching for a tool to check the coding style (static code analysis) for Ranorex.
Is there a plugin or something else available for Ranorex? At the moment I'm working with Ranorex Studio and C#.
If there is nothing for Ranorex, does someone know an external tool to check the written C# Code?

Thank you very much!

Anja

User avatar
sdaly
Posts: 238
Joined: Mon May 10, 2010 11:04 am
Location: Dundee, Scotland

Re: Check Code for consistency

Post by sdaly » Fri Nov 26, 2010 4:26 pm

You could have a look at FxCop, its included in the Windows 7 SDK here - http://www.microsoft.com/downloads/en/d ... laylang=en

User avatar
Support Team
Site Admin
Site Admin
Posts: 11709
Joined: Fri Jul 07, 2006 4:30 pm
Location: Graz, Austria

Re: Check Code for consistency

Post by Support Team » Tue Nov 30, 2010 10:35 am

There is an FxCop addin available for Sharpdevelop (which Ranorex Studio is based on). We will try to enable that addin for Ranorex Studio in one of our next releases.

Regards,
Alex
Ranorex Team
.
Image

anja
Posts: 67
Joined: Fri Nov 26, 2010 3:39 pm

Re: Check Code for consistency

Post by anja » Wed Dec 01, 2010 12:13 pm

Hello,

thank you very much for your replies. Then we will have to wait until this version comes and in the meantime check it by other tools or manually.

User avatar
Support Team
Site Admin
Site Admin
Posts: 11709
Joined: Fri Jul 07, 2006 4:30 pm
Location: Graz, Austria

Re: Check Code for consistency

Post by Support Team » Wed Dec 01, 2010 1:26 pm

anja wrote:Then we will have to wait until this version comes and in the meantime check it by other tools or manually.
If when this addin is available, you still need to install FxCop separately. The addin just runs FxCop for your project (see below posts for the download link).

Regards,
Alex
Ranorex Team
.
Image