Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 6 additions & 1 deletion .vscode/settings.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,10 @@
{
"rust-analyzer.linkedProjects": [
"rust-project.json"
]
],
"python.testing.pytestArgs": [
"feature_integration_tests"
],
"python.testing.unittestEnabled": false,
"python.testing.pytestEnabled": true
}
Original file line number Diff line number Diff line change
Expand Up @@ -3,16 +3,28 @@
from typing import Any, Generator

import pytest

try:
from attribute_plugin import add_test_properties # type: ignore[import-untyped]
except ImportError:
# Define no-op decorator if attribute_plugin is not available (outside bazel)
# Keeps IDE debugging functionality
def add_test_properties(*args, **kwargs):
def decorator(func):
return func # No-op decorator

return decorator


from fit_scenario import FitScenario, temp_dir_common
from testing_utils import LogContainer


@pytest.mark.PartiallyVerifies(["feat_req__persistency__persistency"])
@pytest.mark.Description(
"Verifies Persistency stores data persistently across multiple orchestration runs."
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

You had a description originally, but this disappeared in your change to the decorator. Could you add it again?

Copy link
Contributor Author

@PiotrKorkus PiotrKorkus Nov 27, 2025

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Right just saw the docstrings after the test def.

@add_test_properties(
partially_verifies=["feat_req__persistency__persistency"],
test_type="requirements-based",
derivation_technique="requirements-analysis",
)
@pytest.mark.TestType("requirements-based")
@pytest.mark.DerivationTechnique("requirements-based")
class TestOrchWithPersistency(FitScenario):
"""
Tests orchestration with persistency scenario.
Expand Down
Loading