Guará Framework Tutorial: Logs

Published: 14 August 2025
on channel: TestRock!
36
2

*00:00* - Introduction: Recap of documentation and introduction to observability.
*00:54* - The importance of logging for CI/CD pipelines (e.g., Jenkins).
*01:42* - Finding the logging and execution guide in the Guará documentation.
*02:08* - Setting up a `pytest.ini` file to control log levels and verbosity.
*02:57* - Analyzing the verbose output: Tracking transactions and parameters for debugging.
*03:32* - Understanding assertion logs: Matching expected vs. actual results.
*04:02* - Observing the teardown session: How the `undo` method is logged in reverse order.
*05:09* - Illustrating custom `undo` logging by overriding the method in the transaction class.
*05:52* - Summary: Making tests easier to debug in automated environments.

This index highlights how the framework handles logs automatically once configured, which is a great selling point for debugging efficiency. Great video, TestRock!!
Gherkin or Python? What if you could have the best of both worlds in the exact same code? 🤔👇
Many teams struggle to sync Gherkin documentation (BDD) with actual test automation. The result? Overly technical code packed with messy selectors that no one outside the QA team can read.

In this video, I'll show you the power of the Guará framework! Watch how a business scenario transforms directly into fluid, readable, and elegant Python code:

✨ The BDD Scenario:
Given the customer is logged in with the user "standard_user"
When the customer adds a product to the cart
Then the quantity of items in the cart should be equal to "1"

🚀 The Actual Python Implementation with Guará:
in_app.given(ClientIsLoggedIn, with_user="john_doe")
.when(ClientAddsPorductToCart)
.then(TheQuantityShouldBe, 1)

Goodbye spaghetti code! With Guará, your test documents the system while actually testing it.
Want to learn how to structure your tests like this from absolute scratch? Check out our full playlist, "Guará: From Zero to Hero" right here on the channel!

🔗 Watch the full playlist here:    • Gherkin or Python? Get the Best of Both Wo...  
💻 Project repository: https://guara.readthedocs.io/en/lates...
#Python #TestAutomation #GuaraFramework #BDD #QA #SoftwareTesting #Programming #QualityAssurance


On this page of the site you can watch the video online Guará Framework Tutorial: Logs with a duration of hours minute second in good quality, which was uploaded by the user TestRock! 14 August 2025, share the link with friends and acquaintances, this video has already been watched 36 times on youtube and it was liked by 2 viewers. Enjoy your viewing!