Skip to content

Instantly share code, notes, and snippets.

@elvanja
Last active April 18, 2018 09:19
Show Gist options
  • Save elvanja/8898192 to your computer and use it in GitHub Desktop.
Save elvanja/8898192 to your computer and use it in GitHub Desktop.
Angular JS and Rails testing
  • angular team created it
  • runs tests on all specified browsers
  • runs as socket.io process, required nodejs
  • intended for unit testing
  • integrates with many testing frameworks, e.g. Jasmine, Mocha, ...

Resources:

  • default choice for all JS testing
  • behaviour driven development
  • very much like new RSpec syntax (expect instead of should)

Resources

  • another recommended approach
  • as mentioned in stepping down as evergreen maintainer, Jasmine seems to be using a bit obsolete way of testing and also this gem gives better async testing support
  • arkency recommends this, see resources below

Resources

  • end to end test framework for AngularJS
  • not intendend for unit testing

Resources:

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment