Skip to content

Development

esp edited this page Jul 2, 2018 · 6 revisions

Repository Statues

Codeship Status for splunk/ssc-client-js

codecov

Code Styling and Conventions

Configurations

Development Environment

OSX

Repository Environment

OSX

  • Install JavaScript dependencies
    • Command(s)
      • From the root of the repository
      • yarn

Testing

Test Coverage

The SDK team has decided to use stubby as a functional testing resource in lieu of making redundant unit tests.

Local Testing

Local With - Ad-Hoc Functional Testing

To create a local stubby environment for testing

  • yarn start:stubserver
    • This spins up a local stubby server
  • yarn test
    • This will run the tests
  • yarn stop:stubserver
    • This will terminate the stubby server

Local Testing - Run the Full Suite of Tests

  • Go to https://app.codeship.com/projects/283657/configure
  • Download AES key from the codeship project
    • Save it as codeship.aes
  • Place the AES key in the root directory
  • From the root directory enter jet steps

Documentation

Enter the command yarn apidocs to automatically generate the documentation.

Clone this wiki locally