We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
When running OFT with command line argument --wanted-tags=_ it imports all specification items
--wanted-tags=_
a
b
OFT imports only the item b
Failing test case for TestSpecificationListBuilder reproducing the bug:
TestSpecificationListBuilder
@Test void testFilterSpecificationItemsByTagsOnlyWithoutTag() { final FilterSettings filterSettings = FilterSettings.builder() // .tags(emptySet()) // .withoutTags(true) // .build(); final SpecificationListBuilder builder = SpecificationListBuilder .createWithFilter(filterSettings); addItemWithTags(builder, "out-A", "client", "database"); addItemWithTags(builder, "out-B", "server", "database"); addItemWithTags(builder, "out-C", "exporter", "database"); addItemWithTags(builder, "in-D"); final List<SpecificationItem> items = builder.build(); assertThat(items.stream().map(SpecificationItem::getName).collect(Collectors.toList()), containsInAnyOrder("in-D")); }
See also itsallcode/openfasttrace-maven-plugin@f9fbbed (#71)
f9fbbed
Specify any unused tag, e.g. --wanted-tags=_,unusedTag
--wanted-tags=_,unusedTag
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Description
When running OFT with command line argument
--wanted-tags=_
it imports all specification itemsSteps to Reproduce
a
with tag "tagA" and one itemb
without tags--wanted-tags=_
Expected behavior
OFT imports only the item
b
Environment
Additional context
Failing test case for
TestSpecificationListBuilder
reproducing the bug:See also itsallcode/openfasttrace-maven-plugin@
f9fbbed
(#71)Workaround
Specify any unused tag, e.g.
--wanted-tags=_,unusedTag
The text was updated successfully, but these errors were encountered: