Open redcatbear opened 5 years ago
The problem is probably caused by the Markdown state machine. It recognizes FORWARD
patterns only in states START
and OUTSIDE
. When adding a forwarding in the middle (see below) it won't detect the forwarding:
req~boolean-operators~1
Needs: dsn
dsn --> impl, utest: req~boolean-operators~1
A workaround would be to force the state machine into the OUTSIDE
state by prefixing the forwarding line with a header and some text:
req~boolean-operators~1
Needs: dsn
# Separator
ignore
dsn --> impl, utest: req~boolean-operators~1
Fixing this will require updating the state machine to allow forwarding also in SPEC_ITEM
state.
Description
When trying to forward a
req
artifact to animp
and autest
artifact from a Markdown file, the according implicitdsn
artifact is not created.If I forward to one type only, it works as expected.
Strangely there is a unit test that should cover this kind of situation. Looks like it does not completely:
https://github.com/itsallcode/openfasttrace/blob/develop/importer/markdown/src/test/java/org/itsallcode/openfasttrace/importer/markdown/TestMarkdownImporter.java
Steps to Reproduce
req~boolean-operators~1
that needsdsn
coveragedsn
like thisdsn --> impl, utest: req~boolean-operators~1
impl
andutest
Expected behavior
Trace is green
Environment