Ask a Question

Pull Request Checks

SOLVED
zusigivi
New Member

Pull Request Checks

Hi all,

I am looking into creating some PR build checks, and am wondering if anyone else has created something similar in the past.  

We are using JSDoc type function headers, so the only task that I have so far is ensuring that doc generation is working on PR builds.

We had an issue where are bad .tcscript file was checked in, and broke references.  I'm wondering if there is a way that I can check this before it gets committed to master.

Thanks!

 

 

 

1 ACCEPTED SOLUTION

Accepted Solutions
tphillips
Frequent Contributor

Re: Pull Request Checks

I have previously used ESLint to check all script files, and one of my team members wrote a python script to check all XML files to make sure there were no dangling tags in the TestComplete files (sometimes merge conflicts messed them up). It worked pretty well and gave us good coding standards and security


--------------------
Senior SQA Automation Engineer

View solution in original post

1 REPLY 1
tphillips
Frequent Contributor

Re: Pull Request Checks

I have previously used ESLint to check all script files, and one of my team members wrote a python script to check all XML files to make sure there were no dangling tags in the TestComplete files (sometimes merge conflicts messed them up). It worked pretty well and gave us good coding standards and security


--------------------
Senior SQA Automation Engineer

View solution in original post

cancel
Showing results for 
Search instead for 
Did you mean: