Loading presentation...

Present Remotely

Send the link below via email or IM

Copy

Present to your audience

Start remote presentation

  • Invited audience members will follow you as you navigate and present
  • People invited to a presentation do not need a Prezi account
  • This link expires 10 minutes after you close the presentation
  • A maximum of 30 users can follow your presentation
  • Learn more about this feature in our knowledge base article

Do you really want to delete this prezi?

Neither you, nor the coeditors you shared it with will be able to recover it again.

DeleteCancel

Make your likes visible on Facebook?

Connect your Facebook account to Prezi and let your likes appear on your timeline.
You can change this under Settings & Account at any time.

No, thanks

Midway Testing

No description
by

John Jenson

on 17 March 2015

Comments (0)

Please log in to add your comment.

Report abuse

Transcript of Midway Testing

mocha
node-mocks-http
mockgoose
Protractor
Test your UI, your directives and make sure that you don't have any mismatches between your controllers and your html fragments
Karma
Run your tests on the specific browsers that you are targeting
Test your controllers, services and anything else that you want
Angular Mock
ngMock
ngMocke2e
Frontend
Backend
Mock
http://www.yearofmoo.com/2013/01/full-spectrum-testing-with-angularjs-and-karma.html
Midway Testing
Code!
The best of both worlds
SPEED!
Test Driven Development - TDD
Red - Green - Refactor

Red
- Write the test first. Show that it fails.
Green
- Hack it to a solution. Make it work.
Refactor
- Remove your hacks. Make it sexy.
TDD
My Testing Philosophy
Write your tests at the highest level possible
Mock as little as possible.
Rather than mock, execute as much of the actual code as possible.
Too many tests is actually a bad thing.
Keep the burden of maintaining the tests as low as possible.
Tdd where did it all go wrong?
Full transcript