bugcatcher

BugCatcher NPM package for use with Truffle & Faster Than Light BugCatcher Static Analysis Tool

Usage no npm install needed!

<script type="module">
  import bugcatcher from 'https://cdn.skypack.dev/bugcatcher';
</script>

README

BugCatcher

by Faster Than Light

WIP Badge WIP Badge

Installation & Common Usage

1 - Install package globally

npm install -g bugcatcher

2 - Configure module to work with BugCatcher backend by adding a session token

bugcatcher --login

Your default browser will open to a Google login page where you can complete the process of getting a token. After login is complete, you will be directed back to your terminal where you can now run tests.

3 - Run the BugCatcher tests

bugcatcher

Other options available:

  • bugcatcher --logout Delete your saved token
  • bugcatcher --token Show your saved token
  • bugcatcher --token <token> Save a new token
  • bugcatcher --version Show the installed version

Note: Setting a shell variable named STL_INTERNAL_SID will override any saved tokens and will bypass login