[Tefcon] are you ready for the war

Preview:

Citation preview

Are you ready for the war?

Who I am?

Who is the enemy?

TELEFONICA WALLET

SPRAYER

Know your enemy and know yourself and you

can fight a hundred battles without disaster.

Example

• Dates plattform• Mobile aplication• User web• Support web• MySQL DB• Third party software to perform the

registration with SMS

Example

What do we need?

• Browsers to test the web applications• Mobiles• Tools to automate test mobile applications

and web applications• REST clients• MySQL libraries

Good warriors take their stand on ground where they cannot lose, and do not overlook conditions that make an opponent prone to defeat.

Terrain

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

Example• Component Test– Webs– Mobile application– Backend

• Integration Test– Web + backend– Mobile + backend– SMS + backend

• E2E tests– Registration use case– Consistency mobile /

web

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

How we can adapt?

• Reusing libraries• Data Driven Testing• Single Responsability• Not duplicate code• Remove coupling in your tests• Every Test has one objective!

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

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!

Quick feedback!

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

Conclusions

• Build Automatic test cases reusable and mantainable

• Cooperate with all the team

• Obtain information from logs and monitoring

Questions