11import pytest
2- from asserts import assert_true
3- from pytest_bdd import parsers , scenarios , then
4- from tests .e2e .parsers import to_bool
2+ from pytest_bdd import scenario , scenarios
53
64from openfeature .contrib .provider .flagd .config import ResolverType
75
@@ -21,39 +19,28 @@ def image():
2119 return "ghcr.io/open-feature/flagd-testbed:v0.5.13"
2220
2321
24- @then (
25- parsers .cfparse ("the PROVIDER_CONFIGURATION_CHANGED handler must run" ),
26- )
27- def provider_changed_was_executed ():
28- assert_true (True )
29- # TODO: DELETE AFTER IMPLEMENTATION OF EVENTS FOR RPC
30-
31-
32- @then (parsers .cfparse ('the event details must indicate "{flag_name}" was altered' ))
33- def flag_was_changed ():
34- assert_true (True )
35- # TODO: DELETE AFTER IMPLEMENTATION OF EVENTS FOR RPC
22+ @pytest .mark .skip (reason = "Eventing not implemented" )
23+ @scenario ("../../test-harness/gherkin/flagd.feature" , "Flag change event" )
24+ def test_flag_change_event ():
25+ """not implemented"""
3626
3727
38- @then (
39- parsers .cfparse (
40- 'the resolved object {details:s?}value should be contain fields "{bool_field}", "{string_field}", and "{int_field}", with values "{bvalue:bool}", "{svalue}" and {ivalue:d}, respectively' ,
41- extra_types = {"bool" : to_bool , "s" : str },
42- ),
28+ @pytest .mark .skip (reason = "issue #102" )
29+ @scenario (
30+ "../../spec/specification/assets/gherkin/evaluation.feature" ,
31+ "Resolves object value" ,
4332)
44- def assert_object ():
45- assert_true (True )
46- # TODO: DELETE AFTER #102 is fixed
33+ def test_resolves_object_value ():
34+ """not implemented"""
4735
4836
49- @then (
50- parsers . cfparse (
51- 'the variant should be "{variant}", and the reason should be "{reason}"' ,
52- )
37+ @pytest . mark . skip ( reason = "issue #102" )
38+ @ scenario (
39+ "../../spec/specification/assets/gherkin/evaluation.feature" ,
40+ "Resolves object details" ,
5341)
54- def assert_for_variant_and_reason ():
55- assert_true (True )
56- # TODO: DELETE AFTER #102 is fixed
42+ def test_resolves_object_details ():
43+ """not implemented"""
5744
5845
5946scenarios (
0 commit comments