From 9c340c238f0ebf44e5b6b1844370d3f864236ad5 Mon Sep 17 00:00:00 2001 From: Michael Date: Tue, 16 Apr 2024 11:43:04 +0200 Subject: [PATCH] update testing behavior docs (#910) ## Description Update testing behavior docs to reflect support of warning feature in virtualenv execution mode. Currently, the docs say that only `local` executor mode is supporting `on_warning_callback`. However, this also works with `virtualenv` mode. ## Related Issue(s) #909 ## Breaking Change? None ## Checklist - [x ] I have made corresponding changes to the documentation (if required) --- docs/configuration/testing-behavior.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/configuration/testing-behavior.rst b/docs/configuration/testing-behavior.rst index 951c90ca5..7af9ceedd 100644 --- a/docs/configuration/testing-behavior.rst +++ b/docs/configuration/testing-behavior.rst @@ -37,7 +37,7 @@ Warning Behavior .. note:: - As of now, this feature is only available for the default execution mode ``local`` + As of now, this feature is only available for the default execution mode ``local`` and for ``virtualenv`` Cosmos enables you to receive warning notifications from tests and process them using a callback function. The ``on_warning_callback`` parameter adds two extra context variables to the callback function: ``test_names`` and ``test_results``.