12
E2E tests overview Oksana Sivets, software engineer at ElifTech

End to End tests overview

Embed Size (px)

Citation preview

Page 1: End to End tests overview

E2E tests overviewOksana Sivets, software engineer at ElifTech

Page 2: End to End tests overview

What is End to End Testing?

Page 3: End to End tests overview

What is End to End Testing?

Page 4: End to End tests overview

What is the idea behind E2E testing?How would the users see my application?Is my backend communicating with my frontend?Can I release this code?It does NOT replace Unit Testing!

Page 5: End to End tests overview

Integration into the project

Page 6: End to End tests overview

Integration into the project

Page 7: End to End tests overview

How to Install1. Download Node.js

2. npm install -g protractor

3. webdriver-manager update

4. webdriver-manager start

Page 8: End to End tests overview

Setup a conf.js file

Page 9: End to End tests overview

Writing testsWrite tests using Jasmine and WebdriverJS

Run the testprotractor conf.js

Page 10: End to End tests overview

element() and element.all()

Page 11: End to End tests overview

Using Page Objects to Organize Tests example.js

example.spec.js

Page 12: End to End tests overview

Thank you for your attention!

Find us at eliftech.comHave a question? Contact us:[email protected]