You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Because these are long end-to-end test one thing that you can leverage is [Pytest Markers](https://docs.pytest.org/en/latest/example/markers.html) which help you mark your tests with special tags. It is recommended to mark Ragas tests with special tags so you can run them only when needed.
60
+
61
+
To add a new `ragas_ci` tag to pytest add the following to your `conftest.py`
62
+
```{code-block} python
63
+
:caption: conftest.py
64
+
def pytest_configure(config):
65
+
"""
66
+
configure pytest
67
+
"""
68
+
# add `ragas_ci`
69
+
config.addinivalue_line(
70
+
"markers", "ragas_ci: Set of tests that will be run as part of Ragas CI"
71
+
)
72
+
```
73
+
74
+
now you can use `ragas_ci` to mark all the tests that are part of Ragas CI.
0 commit comments