Giter VIP home page Giter VIP logo

tcstylechecker's Introduction

tcStyleChecker

tcStyleChecker is a plugin to enable jshint based syntax and style checking in SmartBear TestComplete.

Installation

File structure:

  • installer

    • node-v0.10.22-x86.msi : node js package
    • SCInstaller.iss : installShield script
    • Output
      • TCSyntaxChecker.exe : installer, includes NodeJS and JSHint
  • src

    • CheckStyle.tcx : testcomplete plugin, it's a zip archive with the 3 following files inside
    • CheckStyle.sj : jscript file that calls JSHint
    • description.xml : describes the plugin and defines the UI button
    • soicon.bmp : button icon
    • config
      • config.json : defines the the style rules to apply
      • reporter.js : defines the output format

Manual installation (preferred method to get the latest jshint version)

  • Install NodeJS
  • Install JSHint from command line: npm install -g jshint
  • Copy CheckStyle.tcx to C:\Program Files (x86)\SmartBear\TestComplete 9\Bin\Extensions\ScriptExtensions\
  • Copy config.json and reporter.js to C:\Users\USERNAME\AppData\Local\SmartBear\TestComplete\9.0\StyleChecker\
  • In Testcomplete open File/Install Script Extensions and enable the extension

Using the installer

  • Run TCSyntaxChecker.exe (TestComplete must be closed)

Contributing

tcStyleChecker has been initially written and is maintained by Gabriele Bonetti but you are very welcome to submit a pull request for any improvement you might like.

tcstylechecker's People

Contributors

g-bon avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.