Skip to content
Bobby Galli edited this page Jul 10, 2019 · 1 revision

Unit Tests

  1. Run ng test bugsplat-ng to test the bugsplat-ng library
  2. Run ng test to test the my-angular-crasher sample
  3. To run the e2e test the .htaccess file has to be change on Octomore therefore it is xdescribed for now

Testing

  1. Run ng serve
  2. Verify that you can click the button to post a crash report
  3. Verify a link to BugSplat appears
  4. Verify the BugSplat stack trace matches what you see in the my-angular-crasher textbox

Release

  1. Update the peerDependencies in /projects/bugsplat-ng/package.json
  2. Run npm version major|minor|patch in /projects/bugsplat-ng
  3. Run git push && git push --tags in /projects/bugsplat-ng
  4. Run ng build bugsplat-ng
  5. Run npm publish from /dist/bugsplat-ng
  6. Update my-angular-crasher package.json file to use new version
Clone this wiki locally