title: AngularJS Testing: Protractor, Karma, Jasmine in a Yeoman App
body: <p>I use this yeoman generator: 
  <a href="https://github.com/Swiip/generator-gulp-angular" rel="noreferrer">https://github.com/Swiip/generator-gulp-angular</a></p>
  
  <p>It installs three testing applications: Jasmine, Karma , Protractor
  According to this article (<a href="https://stackoverflow.com/questions/21732379/should-i-be-using-protractor-or-karma-for-my-end-to-end-testing">Should I be using Protractor or Karma for my end-to-end testing?</a>), I should use: Karma for small tests of e.g. a single controller. Protactor if I want to test the whole app and simulate an user browsing through my app. According to this blog (<a href="http://andyshora.com/unit-testing-best-practices-angularjs.html" rel="noreferrer">http://andyshora.com/unit-testing-best-practices-angularjs.html</a>) I  would use Jasmine for unit testing and Karma for end-to-end integration tests.</p>
  
  <p>I guess Jasmine is the language where tests are written and the other two execute the code, is that correct? Also if I never wrote a test which is more important to learn first/ to focus on?</p>