Testμ 2022 Home / Video /

Dirty Tests and How to Clean Them | Gil Zilberfeld | Testμ 2022

Dirty Tests and How to Clean Them | Gil Zilberfeld | Testμ 2022

...Playlist

...
  • Jay Singh - Welcome Note in Testμ 2022
  • It's Time for a TRIM
  • Future of Testing - Panel Discussion
  • Quality Engineering Using Human & Machine Interactive
  • Closing Note Day 1
  • Phase angle of API testing
  • Automate User Flows with Chrome DevTools Recorder
  • Test Recommender Systems
  • Leading and Shaping a Testing Team with the Testing Wheel
  • The Evolution of Browser Automation
  • Beyond Functional Testing
  • Convergence of Test Automation
  • The Web Has Evolved. Has Your Testing Evolved Too
  • Workshop on Test Intelligence
  • Taking Your Pipeline from Meh to Awesome
  • Beyond 200 OK
  • Mayank Bhola - Welcome Note in Testμ 2022
  • Tech Insights In AMA Session
  • Selenium 4.0 And The Future
  • Kavya Nair - Closing Note Day 2
  • Let's Do a Thing and Call It Foo
  • An Innovation for all unsolved XPath & Selectors problems
  • Reducing Production Failures by Improving Quality
  • Why Just Shift Left When You Want to Make Progress
  • A Journey Through Open Source with Selenium
  • Simplifying Your Test Runs with Make
  • Panel Discussion: What Automation Technology to Use
  • Developing end to end tests with Selenium 4 and Java
  • Open e2e Test Initiative with Open MCT
  • The 10,000 Steps of Open Source Project Health
  • About Community, Innovation And Testing
  • Automation' is Key in Accelerating Business Velocity
  • Closing Note Day 3 In Testμ 2022
  • Dirty Tests and How to Clean Them
  • How To Test API With Cypress
  • Test Orchestration using HyperExecute
  • Appium: Endgame and What's Next?
  • How to Bring Accessibility into Your Teams
  • Panel Discussion: What π Has To Do With Quality
  • An Idea of Shift left Testing–What, Why, How, & When
  • GitHub for Test Automation

About The Talk

Join another insightful session at the Testμ Conference featuring Gil, as he delves into practical instances of test anti-patterns and effective strategies for rectification. In this engaging talk, Gil will shed light on common pitfalls in test development and provide valuable insights on how to refactor and optimize your testing practices. Don't miss this opportunity to enhance your testing skills and ensure the quality of your software projects.

Video Chapters

00:00 - Introduction

01:10 - Welcome and Acknowledgements

02:35 - Speaker Introduction

04:25 - Topic Introduction: Dirty Tests and Clean Code

06:50 - Importance of Clean Tests

09:15 - Challenges in Writing Clean Tests

11:30 - Examples of Anti-patterns in Tests

13:45 - Writing Clean Tests: Strategies and Techniques

15:20 - Refactoring Tests for Clarity and Maintainability

17:05 - The Builder Pattern in Test Automation

19:10 - Importance of Test Names and Descriptions

21:00 - Code Smells in Tests

23:15 - Practical Demo: Refactoring a Test Suite

25:40 - Extracting Setup Code to Reduce Duplication

27:55 - Renaming Tests for Better Clarity

29:30 - The Role of Constants and Literals in Tests

31:45 - Final Thoughts on Clean Tests and Q&A

Key Topics Covered

Introduction to Test MEW: Anmul Gupta opens the conference and thanks the partners and attendees.

Gil Gilberfeld's Background: Gilberfeld, with over two decades of experience in software development, is introduced. He has a rich history of working with various aspects of software development, including automated and exploratory testing, design practices, team collaboration, and agile methodologies.

Focus on Testing Anti-Patterns: Gil speaks about the importance of identifying and cleaning up anti-patterns in tests. He emphasizes the need for concrete examples to illustrate these anti-patterns and how they can be addressed.

Dirty Tests vs. Clean Code and Tests: The discussion shifts towards the difference between 'dirty' tests and the principles of clean code and clean tests. Gil explains why it's essential to maintain cleanliness in code to ensure efficiency and ease of maintenance.

Building Better Software: Gil offers insights into his approach to creating better software, including the significance of clean code and tests in the development process. He shares resources like his blogs and books, which focus on these aspects.

Practical Examples and Solutions: Throughout the video, Gil provides practical examples of common issues found in tests and demonstrates techniques to resolve them, ensuring tests are clean, understandable, and maintainable.

Q&A Session: The video concludes with a Q&A session where Gil answers questions from the audience, providing further clarity on the topics discussed and offering advice on best practices in software testing and development.

Testμ

Testμ

The free online Testµ (TestMu) conference by LambdaTest talks about trends that matter in the testing ecosystem. It helps software testers and developers get a glimpse into the future of testing. Over 30+ speakers, including community leaders and industry experts, join the event to share their thoughts.

More Videos from Testμ 2022