16. What do we need?
• Browsers to test the web applications
• Mobiles
• Tools to automate test mobile applications
and web applications
• REST clients
• MySQL libraries
17. Good warriors take their
stand on ground where they
cannot lose, and do not
overlook conditions that
make an opponent prone to
defeat.
Terrain
18.
19.
20.
21.
22. the art of using troops is this:
When ten to the enemy's one,
surround him; When five times
his strength, attack him; If
double his strength, divide
him…
Divide and conquer
23.
24. Example
• Component Test
– Webs
– Mobile application
– Backend
• Integration Test
– Web + backend
– Mobile + backend
– SMS + backend
• E2E tests
– Registration use case
– Consistency mobile /
web
25. So a military force has no
constant formation, water has
no constant shape: the ability
to gain victory by changing and
adapting according to the
opponent is called genius.
Adaptation
26.
27. How we can adapt?
• Reusing libraries
• Data Driven Testing
• Single Responsability
• Not duplicate code
• Remove coupling in your tests
• Every Test has one objective!
28. No one has ever achieved
anything of note without
having alliances. Knowing how
to conquer is the first step,
building the alliances to get it
done is the second
Make alliances
29.
30. One cannot use spies without
sagacity and knowledge, one
cannot use spies without
humanity and justice, one cannot
get the truth from spies without
subtlety. This is a very delicate
matter indeed. Spies are useful
everywhere.
Information is important!
36. Conclusions
• Know the strenghts and weaknesses
– Of yourself and your enemy
• Investigate and study the technologies used
• Make your strategy thinking in the testing
pyramid
37. Conclusions
• Build Automatic test cases reusable and
mantainable
• Cooperate with all the team
• Obtain information from logs and monitoring
Quien es el enemigo?
Los developers que intentan desarrollar el mejor producto posible?
El product Owner que piensa que es lo mejor para el cliente?
No, el enemigo son el ejercito de Bugs que vive escondido dentro del producte y que quiere destruir. Este ejercito solo quiere reproducir el caos en producción, les encanta la maldad y son muy muy traviesos produciendo comportamientos inesperados allà donde viven ;)
Lo mejor para conseguir una batalla es tener una estrategia.
Necesitamos una estrategia para poder combatir efectivamente, y para ello vamos a utilitzar diferentes consejos del arte de la guerra de Sun Tzu para poder organizar de la mejor manera posible una estrategia que nos ayude a diezmar las tropas de bugs y aniquilarlas!
Tenemos a nuestros lideres (QA Leads, QA Managers)
Siempre dispuestos a darlo todo por el producto, para restablecer el orden en el y que no haya comportamientos extraños. Dispuestos a cuidar y motivar a su equipo y a llevarlo a la Gloria
Nuestros ejercito de testers, gente valiente, gente entregada que su mayor afición es matar bug.
Pero un ejercito sin armas y herramientas no es un ejercito en si, por eso hemos de saber de que disponemos para atacar al enemigo con las que sean más efectivas!
Conocer el terreno te va a dar una ventaja vital.
Muchas guerras se han perdido por no conocer el terreno.
Estudia las tecnologías que se van a utilitzar en tu proyecto!
Localiza las fortalezas y los puntos fuertes de las diferentes tecnologias que estas utilizando para no atacarlas. Para no perder el tiempo en probar cosas, de las que no vas a poder sacar resultados eficaces
Pero sobretodo busca los puntos debiles
Busca los lugares donde puedan ser vulnerables para descargar allí toda tu artilleria y centrarte en derrotarlos donde más facil sea para ti.