Skip to content

Commit 1ad86ed

Browse files
committed
Merge branch 'main' into issue_172
2 parents 9c1fdab + 81fe387 commit 1ad86ed

5 files changed

Lines changed: 8 additions & 8 deletions

File tree

‎tools/README.rst‎

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -74,12 +74,12 @@ instantiate the actual CEL types in ``src/celpy/celtypes.py`` — this code is u
7474
the Gherkin clauses.
7575

7676
Finally, the classes representing features, sections, and scenarios are rendered to Gherkin tests
77-
using the ``gherkin.feature.jinja`` template.
77+
using the ``gherkinize.feature`` template.
7878

7979
Tests with unimplemented features (notably, enums) generate a warning but do not result in
80-
scenarios. Tests which do not currently pass are listed in ``wip.txt`` in the format
81-
``<feature>:<section>:<scenario>``. Presence in this file results in a ``@wip`` tag being added to
82-
the scenario. In general, it's expected that scenarios will be removed from this list over time
83-
and once passing, scenarios should never be added back to this file.
80+
scenarios. Tests which do not currently pass are listed in ``tags.toml``. Presence in this file
81+
results in a ``@wip`` tag being added to the scenario. In general, it's expected that scenarios
82+
will be removed from this list over time and once passing, scenarios should never be added back to
83+
this file.
8484

8585
Finally, the complete, generated ``.feature`` files are all tagged with ``@conformance``.

‎tools/gherkinize.py‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -148,7 +148,7 @@
148148
loader=FileSystemLoader(path.dirname(__file__)),
149149
trim_blocks=True,
150150
)
151-
template = env.get_template("gherkin.feature.jinja")
151+
template = env.get_template("gherkinize.feature")
152152
logger = logging.getLogger("gherkinize")
153153
pool = descriptor_pool.Default()
154154

@@ -1134,7 +1134,7 @@ def get_options(argv: list[str] = sys.argv[1:]) -> argparse.Namespace:
11341134
logging.basicConfig(level=logging.INFO)
11351135
logging.getLogger().setLevel(options.log_level)
11361136

1137-
config = Config(f"{path.dirname(__file__)}/wip.toml")
1137+
config = Config(f"{path.dirname(__file__)}/tags.toml")
11381138
feature = Feature.from_text_proto(config, options.source)
11391139
feature.write_to_file(options.output)
11401140

‎tools/survey_feature_files.ipynb‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -82,7 +82,7 @@
8282
"print(logging.getLogger().getChildren())\n",
8383
"\n",
8484
"\n",
85-
"config_path = Path.cwd() / \"wip.toml\"\n",
85+
"config_path = Path.cwd() / \"tags.toml\"\n",
8686
"config = gherkinize.Config(config_path)\n",
8787
"# config.features"
8888
]
File renamed without changes.

0 commit comments

Comments
 (0)