Forum Discussion

maximojo's avatar
maximojo
Frequent Contributor
7 years ago

Using JSLint, etc with TestComplete

Hi all,

 

I know we MAY get something like JSLint integrated with TC in the future per the various posts such as

 

https://community.smartbear.com/t5/TestComplete-General-Discussions/Vote-for-the-Code-Editor-Features-to-be-Implemented/m-p/152099/thread-id/28063

 

however, i'm wondering if anyone has had any luck using something like JSLint, ESLint, etc side by side with TestComplete, perhaps through another code editor?

 

So perhaps you could use Visual Studio Code and one of the JS code quality plugins for that and have it pointed at the same Javascript files as TC.

 

I've tinkered a little bit but perhaps someone has gotten further along.

 

Thanks for any help/ideas,

m

1 Reply

  • I've used JSLint and JSHint through Notepad++ to perform static code analysis of .sj files.  It takes a little tinkering to get Notepad++ to accept .sj files, and also some tinkering of the JSLint and JSHint options to find what you want.  It works, but it takes knowing what you're looking for.