Skip to content

Commit

Permalink
update testing behavior docs (#910)
Browse files Browse the repository at this point in the history
## 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)
mc51 authored Apr 16, 2024

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
1 parent 00ca27d commit 9c340c2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/configuration/testing-behavior.rst
Original file line number Diff line number Diff line change
@@ -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``.

0 comments on commit 9c340c2

Please sign in to comment.