BDD (Behavior-Driven Development) was introduced to our team a few months ago, and it has transformed how we approach product engineering. BDD helps better align requirements and expectations from day one by focusing on collaboration between developers, QA, and product owners. Here’s my list of how BDD is adding value: - Better Communication: BDD eliminates “lost in translation” moments by ensuring everyone is aligned on what’s being built. The syntax is also readable for non-technical team members. - Clearer Requirements: BDD helps clarify specifications, making it easier to identify exactly what needs to be built. - Documentation is Covered: BDD creates Living Documentation with the scenarios. This acts as evolving documentation that grows alongside the project. Check out my medium article to jump-start your BDD journey with Python and Gherkin here: https://lnkd.in/gCifC5Yd #BDD #Gherkin #Python #ProductEng #Testing
Sayedur Rahaman’s Post
More Relevant Posts
-
Unlocking the Power of Behavior-Driven Development with Radish 🥕 If you're diving into Behavior-Driven Development (BDD) and looking for a Pythonic way to streamline your testing process, Radish might just be the tool you need! 🌟 Radish is a BDD framework that bridges the gap between human-readable scenarios and executable tests, making it easier for both developers and non-developers to collaborate effectively. Why Radish? 🤔 Radish brings the power of BDD to Python, allowing you to write test scenarios in plain English using Gherkin syntax. This approach fosters clear communication and ensures that everyone on the team understands what the application is supposed to do, reducing miscommunication and improving overall project quality. Here’s a quick example of how Radish works: Write a Feature File in Gherkin 📝 Feature: User Login Scenario: Successful login with valid credentials Given the user is on the login page When the user enters a valid username and password Then the user should be redirected to the dashboard Implement Step Definitions in Python 🐍 from radish import given, when, then @given("the user is on the login page") def user_on_login_page(step): # Code to navigate to the login page @when("the user enters a valid username and password") def user_enters_credentials(step): # Code to input username and password @then("the user should be redirected to the dashboard") def user_redirected_to_dashboard(step): # Code to verify redirection to the dashboard Why You'll Love Radish 🌈 Readable Scenarios: Gherkin syntax keeps scenarios understandable for everyone involved. Python Integration: Write your test steps in Python, leveraging its rich ecosystem and libraries. Flexibility: Radish allows for easy setup and customization, making it adaptable to various testing needs. With Radish, BDD in Python becomes intuitive and collaborative, turning complex requirements into clear, actionable tests. Ready to try it out? Let Radish turn your behaviour specifications into robust, maintainable tests! 🚀 Happy testing! 🧪
To view or add a comment, sign in
-
If you want to automate unit tests and documentation. There’s an agent for that! We built an #AIAgent that: · Writes Python unit tests for you · Generates README for your GitHub repo in seconds Say goodbye to repetitive coding tasks and hello to automated workflows. 👇
Automate Unit Tests and Documentation with AI Agents - aiXplain
https://aixplain.com
To view or add a comment, sign in
-
Here is a Python code base template that will help you follow best MLOps practices since the beginning of your project ↓ I recently discovered a GitHub repository that is a fantastic source to learn and inspire on how to: - structure your Python project - implement MLOps best practices - integrate various MLOps tools . More concretely, it gives you the boiler code for: - CI/CD - QA (Ruff, Bandit, PyTest, MyPy, testing coverage) - Config system in YAML format (OmegaConf, PyDantic) - Data validation (PyDantic, Pandera) - Python packaging and environment management (Poetry, Docker) - model registries, experiment tracking (MLFlow) - unit & integration tests for your ML pipelines - hyperparameter optimization (Optuna) ...and the nice part is that everything is structured using SWE best practices, such as: - DAGs (aka pipelines) - SOLID principles - IO Separation - Soft Condig . Here is the repo developed by Médéric HURIER 🔗 𝘔𝘓𝘖𝘱𝘴 𝘗𝘺𝘵𝘩𝘰𝘯 𝘗𝘢𝘤𝘬𝘢𝘨𝘦: https://lnkd.in/dhA-E84u It's worth looking at (even for more experienced MLE / MLOps people)! hashtag #artificialintelligence hashtag #machinelearning hashtag #mlops . 💡 Follow me for daily content on production GenAI, RecSys and MLOps.
To view or add a comment, sign in
-
Unlock the Power of Testing with pytest! 🚀 In this blog, Shaik Md Ansari dives into the world of pytest, one of the most powerful and easy-to-use testing frameworks for Python. Whether you're a beginner or looking to enhance your testing toolkit, this introduction will provide you with the foundational knowledge you need. Check out the full blog here: https://lnkd.in/g4_rz6YP #pytest #Python #Testing #SoftwareDevelopment #Automation #TechBlog
Pytest: Best Practices for Automated Testing - Techi Nik
https://techinik.com
To view or add a comment, sign in
-
Logging and Debugging with Requests https://lnkd.in/grASfzw8 Guide to enable detailed logging and debugging with Requests library in Python for HTTP requests using urllib3 and http.client. #webcrawling #webscraping
Logging and Debugging with Requests
proxiesapi.com
To view or add a comment, sign in
-
Logging and Debugging with Requests https://lnkd.in/grASfzw8 Guide to enable detailed logging and debugging with Requests library in Python for HTTP requests using urllib3 and http.client. #webcrawling #webscraping
Logging and Debugging with Requests
proxiesapi.com
To view or add a comment, sign in
-
🔥📚Python Automation using Behave: Behave is one of the widely used Selenium Python testing frameworks for Behavior-Driven Development (BDD) testing. Behave uses the Gherkin language for development of scenarios and feature files. As Gherkin makes use of simple readable language for test case development, tests can also be created for non-technical personnel in the team thus enabling a Business Driven Development. Usage of a BDD framework enables better communication between the team members as there is increased collaboration between engineers, managers, quality analysts, business development managers, and more. It is relatively easy to get started with a behavior-driven Python testing framework like Behave if you have working knowledge about other BDD frameworks such as SpecFlow, Cucumber, Cucumber-JVM , etc. As Behave is a BDD framework, it is fundamentally different from other Selenium Python testing frameworks such as unittest (or PyUnit), PyTest, etc. The latest version of Behave is 1.2.7.dev1 Behave Official Website – https://lnkd.in/gsU-Zwdj Behave on GitHub – https://lnkd.in/g3D3EBnH #QA #Automation #BDD #Python #Behave #Testing #Areteans #Learning #Selenium #automationtesting #PythonAutomation #Selfupskill
Indices and tables ¶
behave.readthedocs.io
To view or add a comment, sign in
-
Hey everyone! 👋 Excited to share a new article on my blog! 🚀 Learn how to bypass Google reCAPTCHA effortlessly in automated testing using Selenium and Google Speech Recognition. 🤖 Check it out now! https://lnkd.in/dvDrNg6m #Automation #Selenium #Python #reCAPTCHA #GoogleSpeechRecognition
Crack the Code: Bypassing Google reCAPTCHA in automated testing
qainsights.info
To view or add a comment, sign in
-
Hello connections, I'm pleased to share an article I've authored discussing 'Web Automation setup using Cucumber Framework with Allure report in Python', now available on the Codestax Medium page. Follow the link to explore further. https://lnkd.in/gaJUKQ4X CodeStax.Ai
Web Automation setup using Cucumber Framework with Allure report in python
codestax.medium.com
To view or add a comment, sign in
-
A web testing automation toolset vs. a complete web crawling framework? 🤔 Yet both Selenium and Scrapy are popular choices for web scraping in Python 🐍 Why is that? And when and why should you choose between them? Find out in this blog post 👇 🔗 https://apify.it/3uUZBYa
Scrapy or Selenium? How to choose between them
blog.apify.com
To view or add a comment, sign in