Ce diaporama a bien été signalé.
Nous utilisons votre profil LinkedIn et vos données d’activité pour vous proposer des publicités personnalisées et pertinentes. Vous pouvez changer vos préférences de publicités à tout moment.

Jugaadu Automation - The Real Desi Test Automation Story by Rahul Verma

843 vues

Publié le

We are intellectually convincing ourselves how AI/ML is going to to impact testing and testers in general. I am of the opinion that while this story unfolds for rest of the world, our story would be different, the way it has always been. Precisely, we spend almost a decade of jugaad on anything new before catching up with the real essence of something. "Me too", "Me too" is what we focus on rather than 'Am I...?" "Should I...?" etc. This presentation is not a futuristic presentation, it's a presentation on the past and current state of test automation - the desi test automation story - the way I've seen it in most organisations and in the hands most Jugaadu test automation engineers in India.

Publié dans : Technologie
  • Soyez le premier à commenter

Jugaadu Automation - The Real Desi Test Automation Story by Rahul Verma

  1. 1. © 2017-18 Test Mile® Software Testing Pvt Ltd www.TestMile.com JugaadU Automation The Real DESI test Automation Story Rahul Verma Testing researcher. Teacher. Technologist. Founder – Test Mile. CTO @ Verity Software, Community Proxy @ STeP-IN Forum जुगाड़ू Finds A Way. Some Way. Any Way.
  2. 2. © 2017-18 Test Mile® Software Testing www.TestMile.comRahul verma Who am I ? A student of software testing. I am guilty of doing Jugaad. But, I moved on.
  3. 3. © 2017-18 Test Mile® Software Testing www.TestMile.comRahul verma In my line of work as a consultant, I review Test automation implementations. Here are some honest findings.
  4. 4. © 2017-18 Test Mile® Software Testing www.TestMile.comRahul verma Most Test Automation Engineers Tooling Experts This small dot is designers Skill Ratio I observed Minimal Programming & Tooling knowledge Jugaad Automation. Know tools and programming very well. Poor at Design.
  5. 5. © 2017-18 Test Mile® Software Testing www.TestMile.comRahul verma Where do I fit in ? My primary focus is Applied OOAD in test automation. I work with programmers and toolsmiths and help them in design aspects. In the process, I’m learning a bit of tooling. I’m not a great designer. It’s just that I have looked at lots and lots of code in last decade.
  6. 6. © 2017-18 Test Mile® Software Testing www.TestMile.comRahul verma Most Test Automation Engineers Tooling Experts Typical Code Reduction 80-95% 40-50%
  7. 7. © 2017-18 Test Mile® Software Testing www.TestMile.comRahul verma These numbers are shocking. Borderline unbelievable.
  8. 8. © 2017-18 Test Mile® Software Testing www.TestMile.comRahul verma The Primary Reason is JugaadU Code
  9. 9. © 2017-18 Test Mile® Software Testing www.TestMile.comRahul verma Jugaad is A Hindi/Urdu/Punjabi word. In punjabi it has several meanings. Peter rehdaa is called jAgaad. It means a Bad/Quick/Illegal solution. It means (just/some how) surviving It also refers to an illicit affair J Breaking news! We really fooled oxford dictionary. ਘੜu$ਕਾ ਜਗਾੜ ਪੀਟਰ ਰ-ਹੜਾ ਭ01ਡ A recent reincarnation of Jugaad ਮਰ0ਤਾ जुगाड़
  10. 10. © 2017-18 Test Mile® Software Testing www.TestMile.comRahul verma OXford Dictionary Defines Jugaad as: A FlExible approach to problem solving that uses limited resources in an innovative way They really make it sound amazing J
  11. 11. © 2017-18 Test Mile® Software Testing www.TestMile.comRahul verma If Jugaad is so positive, Why No Linked-In Tester Profile headline is Jugaadu Tester ? NO job opening readS Jugaadu Tester ? No Company Profile says We specialize in JugaadU Testing ? I Wonder is it because of the money we demand?
  12. 12. © 2017-18 Test Mile® Software Testing www.TestMile.comRahul verma So, My Definition of jugaad For Testing industry: A Temporary Fix That often becomes permanent And is created with lack of serious work despite all resources available Often presented with pride And measured by number of WTFs/minute by reviewers Beta, WTF?
  13. 13. © 2017-18 Test Mile® Software Testing www.TestMile.comRahul verma JugaadU Code Is code written With complete/utter disregard For design, robustness, performance And often serves its core functionality With compromised quality assertEquals(true, true);
  14. 14. © 2017-18 Test Mile® Software Testing www.TestMile.comRahul verma Code written with lack of knowledge looks like jugaad code The question is for how long you keep writing such code? How long are You ok with lack of tooling and coding knowledge? This is real: A 10 yr+ experience Test automation Lead says: “I don’t know String formatting in Java” Really?!!!! Do you think he would have survived as a developer?
  15. 15. © 2017-18 Test Mile® Software Testing www.TestMile.comRahul verma Once JugaadU Code Is appreciated There is no coming back. It is addictive Reference: https://www.scoopwhoop.com/Jugaad-Is-Not-Really-A-Solution-But-A-Problem-In-Itself चलता है!
  16. 16. © 2017-18 Test Mile® Software Testing www.TestMile.comRahul verma Jugaad encourages an attitude of Shortcuts And Evasions - Raghuram Rajan, Ex-Governor, RBI
  17. 17. © 2017-18 Test Mile® Software Testing www.TestMile.comRahul verma •  Jugaad solutions are assemblies of borrowed parts •  Not always the best solutions •  Very little original innovation •  Rather unsafe, inefficient, unaestahatically designed, even illegal, fatal •  Main motivation is economic consideration •  Breach ip rights •  Tend to fall apart sooner than they should •  Jugaad Thrives in environments which are harsh, politically & economically unstable with poor infrastructure and inadequate access to Finance and skilled human resources. •  Jugaad as opposed to innovation is pseudo-original problem thinking. •  Jugaad solutions are not designed to please the customers. From: Understanding Jugaad: MultiDisciplinary approach, Project Report IIT KanpuR, 2016
  18. 18. © 2017-18 Test Mile® Software Testing www.TestMile.comRahul verma Those small jugaads which you laughed about Which were called innovative Which were encouraged Which were considered cheap... Finally add-up And aren’t funny any more. And aren’t cheap any more. And are too risky.
  19. 19. © 2017-18 Test Mile® Software Testing www.TestMile.comRahul verma Jugaad stories which the intellectuals don’t write about The fire tragedy at make in india event in 2016 A Large Pharma company – jugaad test data And many more… And Which Coffee do you think These intellectuals Sip in their ac office while they Write these Jugaad stories? The Jugaadu Hypocrites
  20. 20. © 2017-18 Test Mile® Software Testing www.TestMile.comRahul verma Indians don’t own the copyright to Funny Inventions So, stop being proud of jugaad. They are good jokes. You got too serious. There are better ways to think & Talk about indovation. 珍道具 Chindōgu Difference? The Word means Unusual/ weird tool. IT is the Art Of developing solutions That look ideal But are useless
  21. 21. © 2017-18 Test Mile® Software Testing www.TestMile.comRahul verma Some Real desi Jugaad Stories Comment snapshots are added for your entertainment from around the world https://stackoverflow.com/questions/184618/what-is-the-best-comment-in-source-code-you-have-ever-encountered
  22. 22. © 2017-18 Test Mile® Software Testing www.TestMile.comRahul verma the 38000+ Lines Test Runner (And equally large other cousins) Analysis of Jugaad •  No Test Engine •  For loop with hardcoded method calls
  23. 23. © 2017-18 Test Mile® Software Testing www.TestMile.comRahul verma The Same 16 Copies A tester had two kids. Ctrl+c, Ctrl+V Analysis of Jugaad •  No OOAD •  No Parameterization •  For each change, create a copy and call it same.
  24. 24. © 2017-18 Test Mile® Software Testing www.TestMile.comRahul verma The spreadsheet IDE And a beautiful slide deck Analysis of Jugaad •  KDT Overdone •  Code in Excel Sheets •  In One case, this code was used to generate C# code files using string formatting and then compiled and run.
  25. 25. © 2017-18 Test Mile® Software Testing www.TestMile.comRahul verma The Google Re-searcher because searching is researching. Especially when searching again and again Analysis of Jugaad •  Search google/stackoverflow. Find the first 1-2 links •  Copy paste the code. Don’t bother to model it. •  Multiple excel readers, ini readers, csv readers etc.
  26. 26. © 2017-18 Test Mile® Software Testing www.TestMile.comRahul verma The Deleted Assertions or comment -> run -> report -> Uncomment Analysis of Jugaad •  Complete misunderstanding of purpose of test automation •  Making tests pass is made the goal •  Anything interferring with this goal is killed.
  27. 27. © 2017-18 Test Mile® Software Testing www.TestMile.comRahul verma The repeater Analysis of Jugaad •  Resources are read once per test •  E.g. an excel Data file containing data for all tests is read on a per-test basis.
  28. 28. © 2017-18 Test Mile® Software Testing www.TestMile.comRahul verma … I reached out to community to ask their stories ...
  29. 29. © 2017-18 Test Mile® Software Testing www.TestMile.comRahul verma •  The sleeping tester •  The Now syndrome •  the Never fail attitude •  The appraisal code •  The code puzzle Thanks to nishant kashyap for these stories
  30. 30. © 2017-18 Test Mile® Software Testing www.TestMile.comRahul verma Test Automation Is not meant for failed developers or Testers who don’t know testing Or Testers who can write ‘some’ code
  31. 31. © 2017-18 Test Mile® Software Testing www.TestMile.comRahul verma I came across an argument in favor of jugaad: “If it is applied with a proper intent, at a place that’s right, and at the right time …. Jugaad can be magical” * I agree. But that’s called engineering, not jugaad. * I’m not acknowledging the Writer for this quote, as i did not get response for my request to quote with name. You can think of him as a person I respect. जुगाड़ूX
  32. 32. © 2017-18 Test Mile® Software Testing www.TestMile.comRahul verma A blank File is better code than bad code. Say No to Jugaad. And No. All Indian innovative solutions are not jugaad. Stop labeling them as such to justify jugaad. जुगाड़ूX You might find this hashtag about india amusing #JugaadNation* I don’t. Mangalyaan was not A jugaad. #JugaadNation was not A passionate Indian creating a hashtag and it getting viral. It was a mareketing campaign for Near.in services superstore. Sulekha, rightfully put an advertisement to challenge it #AntiJugaad
  33. 33. © 2017-18 Test Mile® Software Testing www.TestMile.comRahul verma Don’t turn A coping mechanism Into a philosophy – Dheeraj Sinha Thanks https://www.linkedin.com/in/rahul-verma-india/ https://twitter.com/rahul_verma And as the #NoShortcuts Exide Life insurance ad says: Finds Ways. Evaluate ways. Choose a way. Keep finding. Reiterate.
  34. 34. © 2017-18 Test Mile® Software Testing www.TestMile.comRahul verma Picture and code snapshot Credits http://blog.bedandchai.com/wp-content/uploads/2016/03/fork-belt-jugaad-1.jpg https://www.flickr.com/photos/81848201@N08/7499493118 https://mastimaster.com/wp-content/uploads/2016/05/Mobile-Charging-Funny-Pictures.jpg https://twitter.com/jugaadist/status/469555448434020352 https://www.dreamstime.com/stock-photo-apple-tomato-sewing-creative-concept-image45611462 http://www.loopjamaica.com/content/where-caribbean-can-you-smoke-weed-3 http://punjabiworld.com/Punjab-India/1709.html https://www.bhaskar.com/news/KZHK-pictures-of-indian-jugaad-news-hindi-5369562-PHO.html http://www.fakingnews.com/snippets/boy-follows-new-year-resolution-even-8th-day-father-takes-psychiatrist-25001 https://caffiacoffee.co.uk/jura-coffee-machine/ http://www.picdesi.com/desi/india-funny/coffee-maker-desi-jugaad/ http://1.bp.blogspot.com/-QzL8jfY80Lk/U0LfVhdJE6I/AAAAAAAACHg/b_f7Mx7ZnlM/s1600/bigstock-Fake-Mask-52137169.jpg http://blog.bedandchai.com/wp-content/uploads/2016/03/funny-trucks-mud-flaps-jugaad.jpg https://www.improgrammer.net/find-length-number-funny-programming-code/ https://stephenhaunts.com/2014/07/11/funny-code-comments/ https://stackoverflow.com/questions/184618/what-is-the-best-comment-in-source-code-you-have-ever-encountered http://shitcode.net/worst/language/java/page/2?per-page=15

×