From 508cba31e09a59ff753d563104ee3a69decc3b15 Mon Sep 17 00:00:00 2001 From: Chris McBride <3595025+ankona@users.noreply.github.com> Date: Tue, 28 Nov 2023 19:45:31 -0500 Subject: [PATCH] Register test groups, mitigate warning (#424) Mitigate pytest warnings due to unregistered test groups [ committed by @ankona ] [ reviewed by @billschereriii ] --- doc/changelog.rst | 3 ++- pyproject.toml | 5 +++++ 2 files changed, 7 insertions(+), 1 deletion(-) diff --git a/doc/changelog.rst b/doc/changelog.rst index 4e17aaaf7..1a1718aa6 100644 --- a/doc/changelog.rst +++ b/doc/changelog.rst @@ -28,7 +28,7 @@ Description Detailed Notes -- Split tests into `group_a`, `group_b`, `slow_tests` for parallel execution in CI/CD pipeline (PR417_) +- Split tests into `group_a`, `group_b`, `slow_tests` for parallel execution in CI/CD pipeline (PR417_, PR424_) - Change `format` argument to `style` in `Experiment.summary()`, this is an API break (PR391_) - Added support for first_device parameter for scripts, functions, @@ -45,6 +45,7 @@ Detailed Notes - Add support for creation of multiple databases with unique identifiers. (PR342_) + .. _PR424: https://github.com/CrayLabs/SmartSim/pull/424 .. _PR417: https://github.com/CrayLabs/SmartSim/pull/417 .. _PR391: https://github.com/CrayLabs/SmartSim/pull/391 .. _PR342: https://github.com/CrayLabs/SmartSim/pull/342 diff --git a/pyproject.toml b/pyproject.toml index 6d952892b..24c12d8b6 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -51,6 +51,11 @@ exclude = ''' [tool.pytest.ini_options] log_cli = true log_cli_level = "debug" +markers = [ + "group_a: fast test subset a", + "group_b: fast test subset b", + "slow_tests: tests that take a long duration to complete", +] [tool.isort] # supress circular import warning