keine angst vor dem eigenen quellcode
play

Keine Angst vor dem eigenen Quellcode .NETDAY Mai, 2017 Thomas - PowerPoint PPT Presentation

Keine Angst vor dem eigenen Quellcode .NETDAY Mai, 2017 Thomas Bandixen (@tbandixen) Thomas Gassmann (@gassmannT) @gassmannT @tbandixen BASEL BERN BRUGG DSSELDORF FRANKFURT A.M. FREIBURG I.BR. GENF HAMBURG KOPENHAGEN LAUSANNE


  1. Keine Angst vor dem eigenen Quellcode .NETDAY Mai, 2017 Thomas Bandixen (@tbandixen) Thomas Gassmann (@gassmannT) @gassmannT @tbandixen BASEL BERN BRUGG DÜSSELDORF FRANKFURT A.M. FREIBURG I.BR. GENF HAMBURG KOPENHAGEN LAUSANNE MÜNCHEN STUTTGART WIEN ZÜRICH

  2. Who are we? Thomas Bandixen Senior Consultant & Trainer Trivadis AG thomas.bandixen@trivadis.com @tbandixen 2 23.05.2017 .NETDAY Mai 2017

  3. Who are we? Thomas Gassmann Senior Consultant & Trainer Trivadis AG thomas.gassmann@trivadis.com @gassmannT 3 23.05.2017 .NETDAY Mai 2017

  4. Content 1. Introduction 2. Unit Test 3. Outro 4 23.05.2017 .NETDAY Mai 2017

  5. What kind of tests exists? Unit Tests e2e Tests  Test certain functions or units  Runs the real application and of code simulate the users behavior  Super fast  Very slow  Easy to write  Very fragile 7 23.05.2017 .NETDAY Mai 2017

  6. Test Strategy  Use the smallest test type possible  Write readable tests  Make tests fail  Test all the time 8 23.05.2017 .NETDAY Mai 2017

  7. Tools & Setup 9 23.05.2017 .NETDAY Mai 2017

  8. Tools 10 23.05.2017 .NETDAY Mai 2017

  9.  Test runner  Test code on various browsers  Integrate with various continuous integration services like Jenkins 13 23.05.2017 .NETDAY Mai 2017

  10.  Behavior-driven development framework  Fast  Dependency free 14 23.05.2017 .NETDAY Mai 2017

  11.  End-to-end test framework  Built on top of Selenium WebDriverJS  Runs in a real browser  Test like a user 15 23.05.2017 .NETDAY Mai 2017

  12. Insiders' tip Wallaby.js  Integrated Continuous Testing Tool for JavaScript 16 23.05.2017 .NETDAY Mai 2017

  13. Demo 17 23.05.2017 .NETDAY Mai 2017

  14. Unit Tests 18 23.05.2017 .NETDAY Mai 2017

  15. Definition Unit Testing is a level of software testing where individual functions of a sofware are tested. The purpose is to validate that each function of the software performs as designed. 19 23.05.2017 .NETDAY Mai 2017

  16. Unit Test vs. Integration Test Unit Test Integration Test  Test in isolation, without  Test with external resources external resources (e.g. (e.g. templates) templates)  Just a simple function 20 23.05.2017 .NETDAY Mai 2017

  17. Template Component Service 21 23.05.2017 .NETDAY Mai 2017

  18. Template Component FakeService 22 23.05.2017 .NETDAY Mai 2017

  19. It helps you catch defects before releasing software 23 23.05.2017 .NETDAY Mai 2017

  20. Basics 24 23.05.2017 .NETDAY Mai 2017

  21. Basics 25 23.05.2017 .NETDAY Mai 2017

  22. Demo 26 23.05.2017 .NETDAY Mai 2017

  23. How to start  Angular CLI  Our Demos  Documentation on Angular Docs  Ask us  27 23.05.2017 .NETDAY Mai 2017

  24. Demos and slides github.com/gassmannT/Angular-Testing-DOTNETDAY/ 28 23.05.2017 .NETDAY Mai 2017

  25. Thank you – Besten Dank Thomas Bandixen Thomas Gassmann thomas.bandixen@trivadis.com thomas.gassmann@trivadis.com @tbandixen @gassmannT Tel. +41 58 459 52 78 Tel. +41 58 459 52 81 29 23.05.2017 .NETDAY Mai 2017

Download Presentation
Download Policy: The content available on the website is offered to you 'AS IS' for your personal information and use only. It cannot be commercialized, licensed, or distributed on other websites without prior consent from the author. To download a presentation, simply click this link. If you encounter any difficulties during the download process, it's possible that the publisher has removed the file from their server.

Recommend


More recommend