Se ha denunciado esta presentación.
Utilizamos tu perfil de LinkedIn y tus datos de actividad para personalizar los anuncios y mostrarte publicidad más relevante. Puedes cambiar tus preferencias de publicidad en cualquier momento.
Different Types
Of Automated
Tests
by
Adrian Bolboacă
www.mozaicworks.comTalk outline: https://eventrix.co/s/adrian-bolboa...
Me
Adi Bolboacă
Programmer, Trainer, Coach
adrian.bolboaca@mozaicworks.com
@adibolb www.mozaicworks.com
A story about:
Programming
Testing
Business
Product Development
There will be code!
www.mozaicworks.com
Let's see Some tests
Let's have a dialogue
I prefer discussions rather than me
talking
www.mozaicworks.com
Pyramid
of
Tests
www.mozaicworks.com
Pyramid of Tests
www.mozaicworks.com
Can be different for each project
The priority of tests is your decision
You choose w...
Manual Testing
www.mozaicworks.com
Create high level test plan
Write detailed test cases
Testers ruch each case manually
G...
Automated Testing
www.mozaicworks.com
Use software to execute tests
For repetitive testing tasks
Needs testable architectu...
Unit Tests
www.mozaicworks.com
White box
Isolated, run in memory
Focused on methods and classes
Very fast, miliseconds
Any...
Unit Tests
www.mozaicworks.com
A leukocite
Many leukocites form the immune
system
Each leukocite is independent of the
oth...
Integration Tests
www.mozaicworks.com
Black box
Check how two modules integrate
Focused on APIs
Slow
Test one API feature ...
Integration Tests
www.mozaicworks.com
Integration Tests
www.mozaicworks.com
A module is:
Independent
Replaceable
Clear
&
Has a single responsibility
Integrated Tests
www.mozaicworks.com
Black box
Big, tests showing how many
modules integrate
Written by programmers
Busine...
Acceptance Tests
www.mozaicworks.com
Black box
Showing a features works well
Focused on final user needs
Automate happy pa...
Acceptance Tests
www.mozaicworks.com
Do you respect the medical
acceptance criteria:
• Blood pressure
• Cholesterol
• Bloo...
Contract Tests
www.mozaicworks.com
White Box
Verify polymorphic integration of
multiple components
Minimize number of test...
Contract Tests
www.mozaicworks.com
All the leukocites need to respect the
same rules: contract
Not respecting the contract...
Contract Tests
www.mozaicworks.com
An automated way to check for
systemic malfunctions on individuals
respecting the same ...
Testing Strategy
www.mozaicworks.com
A structured focus on product testing
Involves all the roles
Boundaries between tests...
What’s Next
www.mozaicworks.com
Automated Tests Purposes
http://blog.adrianbolboaca.ro/2017/01/automated-tests-purposes
Wr...
What’s Next
www.mozaicworks.com
Let’s pair here at the conference
OR
Remote pairing with Teamviewer, Skype, etc
http://blo...
What’s Next
www.mozaicworks.com
Un-conferences:
SoCraTes Germany
https://www.socrates-conference.de
I T.A.K.E. Unconferenc...
Contact Me
Email: adrian.bolboaca@mozaicworks.com
Twitter: @adibolb
Eventrix: https://eventrix.co/s/adrian-bolboaca-1
Link...
Extend your mentoring & training
capacity
Accelerate learning through
communities of practice
Grow your functional leaders...
Thank you!
www.mozaicworks.com
Ha terminado este documento.
Descárguela y léala sin conexión.
Próximo SlideShare
The Error of Our Ways
Siguiente
Próximo SlideShare
The Error of Our Ways
Siguiente
Descargar para leer sin conexión y ver en pantalla completa.

Compartir

Different Types Of Automated Tests

Descargar para leer sin conexión

Let’s see the most used types of tests and understand how each one is useful. We will write live code, and we will discuss automated tests written.
The types of tests covered are:
Unit Tests = Tests in isolation, focused on methods and classes. White box tests.
Integration Tests = Tests about how two different modules integrate. Black box tests.
Integrated Tests = Big, large tests showing how many modules integrate, with a business purpose. Black box tests.
Acceptance Tests = Tests showing that an application features behaves well. Black box tests.
Contract Tests = Special type of tests, that verify polimorphism integration of multiple components or classes.
We will focus on clean code, good test names that can become executable specifications.

Audiolibros relacionados

Gratis con una prueba de 30 días de Scribd

Ver todo
  • Sé el primero en recomendar esto

Different Types Of Automated Tests

  1. 1. Different Types Of Automated Tests by Adrian Bolboacă www.mozaicworks.comTalk outline: https://eventrix.co/s/adrian-bolboaca-1/different-types-of-automated-tests-254
  2. 2. Me Adi Bolboacă Programmer, Trainer, Coach adrian.bolboaca@mozaicworks.com @adibolb www.mozaicworks.com
  3. 3. A story about: Programming Testing Business Product Development There will be code! www.mozaicworks.com
  4. 4. Let's see Some tests Let's have a dialogue I prefer discussions rather than me talking www.mozaicworks.com
  5. 5. Pyramid of Tests www.mozaicworks.com
  6. 6. Pyramid of Tests www.mozaicworks.com Can be different for each project The priority of tests is your decision You choose which tests to use The fast tests are at the bottom The slower tests are towards the top Changes depending on project stage
  7. 7. Manual Testing www.mozaicworks.com Create high level test plan Write detailed test cases Testers ruch each case manually Generate test report Black | White | Grey box testing Static | Dynamic testing
  8. 8. Automated Testing www.mozaicworks.com Use software to execute tests For repetitive testing tasks Needs testable architecture & design Faster feedback for product sanity Need good structure & clarity Testers, Programmers, Ops involved
  9. 9. Unit Tests www.mozaicworks.com White box Isolated, run in memory Focused on methods and classes Very fast, miliseconds Any slow system call not unit tests→ Written by programmers Technical purpose
  10. 10. Unit Tests www.mozaicworks.com A leukocite Many leukocites form the immune system Each leukocite is independent of the other All leukocites respect the same rules & have the same purpose
  11. 11. Integration Tests www.mozaicworks.com Black box Check how two modules integrate Focused on APIs Slow Test one API feature at a time Writen by programmers / testers Technical purpose
  12. 12. Integration Tests www.mozaicworks.com
  13. 13. Integration Tests www.mozaicworks.com A module is: Independent Replaceable Clear & Has a single responsibility
  14. 14. Integrated Tests www.mozaicworks.com Black box Big, tests showing how many modules integrate Written by programmers Business purpose
  15. 15. Acceptance Tests www.mozaicworks.com Black box Showing a features works well Focused on final user needs Automate happy paths mainly Written by testers Business purpose
  16. 16. Acceptance Tests www.mozaicworks.com Do you respect the medical acceptance criteria: • Blood pressure • Cholesterol • Blood sugar index • ...
  17. 17. Contract Tests www.mozaicworks.com White Box Verify polymorphic integration of multiple components Minimize number of tests Maximize system clarity at boundaries Technical & Business purpose Written by programmers
  18. 18. Contract Tests www.mozaicworks.com All the leukocites need to respect the same rules: contract Not respecting the contracts → disease
  19. 19. Contract Tests www.mozaicworks.com An automated way to check for systemic malfunctions on individuals respecting the same contract
  20. 20. Testing Strategy www.mozaicworks.com A structured focus on product testing Involves all the roles Boundaries between tests Audience for tests Precedence of tests Testablity metrics Expected tests performance
  21. 21. What’s Next www.mozaicworks.com Automated Tests Purposes http://blog.adrianbolboaca.ro/2017/01/automated-tests-purposes Writing Good Unit Tests https://www.infoq.com/news/2017/01/writing-good-unit-tests
  22. 22. What’s Next www.mozaicworks.com Let’s pair here at the conference OR Remote pairing with Teamviewer, Skype, etc http://blog.adrianbolboaca.ro/contact
  23. 23. What’s Next www.mozaicworks.com Un-conferences: SoCraTes Germany https://www.socrates-conference.de I T.A.K.E. Unconference Bucharest http://itakeunconf.com Code Freeze Finland (Lapland) http://www.codefreeze.fi
  24. 24. Contact Me Email: adrian.bolboaca@mozaicworks.com Twitter: @adibolb Eventrix: https://eventrix.co/s/adrian-bolboaca-1 LinkedIn: https://www.linkedin.com/in/adrianbolboaca Slideshare: http://www.slideshare.net/adibolb Blog: http://blog.adrianbolboaca.ro www.mozaicworks.com
  25. 25. Extend your mentoring & training capacity Accelerate learning through communities of practice Grow your functional leaders and top talents http://www.mozaicworks.com adrian.bolboaca@mozaicworks.com @adibolb
  26. 26. Thank you! www.mozaicworks.com

Let’s see the most used types of tests and understand how each one is useful. We will write live code, and we will discuss automated tests written. The types of tests covered are: Unit Tests = Tests in isolation, focused on methods and classes. White box tests. Integration Tests = Tests about how two different modules integrate. Black box tests. Integrated Tests = Big, large tests showing how many modules integrate, with a business purpose. Black box tests. Acceptance Tests = Tests showing that an application features behaves well. Black box tests. Contract Tests = Special type of tests, that verify polimorphism integration of multiple components or classes. We will focus on clean code, good test names that can become executable specifications.

Vistas

Total de vistas

2.043

En Slideshare

0

De embebidos

0

Número de embebidos

20

Acciones

Descargas

19

Compartidos

0

Comentarios

0

Me gusta

0

×