cancel
Showing results for 
Search instead for 
Did you mean: 

Linting or automatic code checking in ReadyAPI ?

SOLVED
Highlighted
Occasional Contributor

Linting or automatic code checking in ReadyAPI ?

I would like to make ReadyAPI check the quality of a user's work (test cases and scripts), i.e. perform linting. The work can be checked as the user is typing it or when the user requests for it. For example, ReadyAPI should complain when the user does not write a description for a test case, the user's groovy code has known bad practices etc. Some rules can be ignored by the user, but some should be mandatory. I'd also like to generate a report of all the issues in a test case/script to see if people ignored the complains and did not follow best practices.

Can ReadyAPI already do this or is there a plan to add this feature ? If no to both questions, then could you please suggest any alternatives which could analyze the tests & scripts?

Keywords - Linting, Linter, Code Analysis.

PS - I added a feature request for this over here. Please vote for it if you like it.
https://community.smartbear.com/t5/ReadyAPI-Feature-Requests/Linting-or-automatic-code-checking-in-R...

1 ACCEPTED SOLUTION

Accepted Solutions
Highlighted
Moderator

i Re: Linting or automatic code checking in ReadyAPI ?

Hi @rajs2020,

 

No, unfortunately, currently, there are no such options in ReadyAPI right now. 

 

I've found the following tools that could help you with analyzing of Groovy code: 

https://subscription.packtpub.com/book/application_development/9781849519366/2/ch02lvl1sec31/checkin...

https://en.wikipedia.org/wiki/CodeScene 

 

 



Did my reply answer your question? Give Kudos or Accept it as a Solution to help others. ⬇️⬇️⬇️

View solution in original post

1 REPLY 1
Highlighted
Moderator

i Re: Linting or automatic code checking in ReadyAPI ?

Hi @rajs2020,

 

No, unfortunately, currently, there are no such options in ReadyAPI right now. 

 

I've found the following tools that could help you with analyzing of Groovy code: 

https://subscription.packtpub.com/book/application_development/9781849519366/2/ch02lvl1sec31/checkin...

https://en.wikipedia.org/wiki/CodeScene 

 

 



Did my reply answer your question? Give Kudos or Accept it as a Solution to help others. ⬇️⬇️⬇️

View solution in original post

New Here?
Join us and watch the welcome video:
Announcements