Skip to content

#562 Support coverage tags in .md and .rst - #566

Merged
kaklakariada merged 36 commits into
mainfrom
feature/562_support_coverage_tags_in_markdown_and_restructuredtext
Jul 28, 2026
Merged

#562 Support coverage tags in .md and .rst#566
kaklakariada merged 36 commits into
mainfrom
feature/562_support_coverage_tags_in_markdown_and_restructuredtext

Conversation

@kaklakariada

Copy link
Copy Markdown
Contributor

Closes #562

kaklakariada added 26 commits July 23, 2026 14:00
This simplifies adding already completed items
…n_and_restructuredtext

# Conflicts:
#	.agents/skills/openfasttrace/SKILL.md
#	api/src/main/java/org/itsallcode/openfasttrace/api/importer/ImportEventListener.java
#	api/src/test/java/org/itsallcode/openfasttrace/api/importer/TestSpecificationListBuilder.java
#	doc/changes/changes_4.7.0.md
#	doc/spec/design.md
#	doc/spec/system_requirements.md
#	doc/user_guide.md
#	importer/gherkin/src/main/java/module-info.java
#	importer/gherkin/src/main/java/org/itsallcode/openfasttrace/importer/gherkin/GherkinLineConsumer.java
#	importer/gherkin/src/test/java/org/itsallcode/openfasttrace/importer/gherkin/GherkinImporterTest.java
#	importer/tag-importer-common/src/test/java/org/itsallcode/openfasttrace/importer/tag/common/TestDelegatingLineConsumer.java
#	importer/tag-importer-common/src/test/java/org/itsallcode/openfasttrace/importer/tag/common/TestLineReader.java
#	product/src/test/java/org/itsallcode/openfasttrace/importer/ImporterFactoryLoaderIT.java

@redcatbear redcatbear left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

Please remove support for the short tag format in Markdown / RST. This one is deprecated and makes the code unnecessarily complicated.

Comment thread doc/changesets/562-support-coverage-tags-in-markdown-and-restructuredtext.md Outdated
Comment thread doc/spec/system_requirements.md Outdated
Comment thread doc/spec/system_requirements.md Outdated
Comment thread doc/user_guide.md Outdated
kaklakariada and others added 3 commits July 27, 2026 12:33
Comment on lines +79 to 80
}
this.stateMachine.step(this.currentContext.currentLine(), this.currentContext.nextLine());

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

Correctness: I think this is an either-or situation. So the state machine step can go to the else path. I see no scenario where a coverage Tag candidate could trigger a valid transition.

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

Adding an else block will break <!-- oft:off --> and <!-- oft:on --> tags in Markdown, Test TestMarkdownMarkupImporter.testDisablingMarkdownParsingForATextBlock would fail.

@sonarqubecloud

Copy link
Copy Markdown

Quality Gate Failed Quality Gate failed

Failed conditions
75.0% Coverage on New Code (required ≥ 80%)

See analysis details on SonarQube Cloud

@kaklakariada
kaklakariada merged commit bc9a0f5 into main Jul 28, 2026
11 of 12 checks passed
@kaklakariada
kaklakariada deleted the feature/562_support_coverage_tags_in_markdown_and_restructuredtext branch July 28, 2026 08:37
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Support coverage tags in Markdown and reStructuredText documentation

2 participants