We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 440168e commit 57db6e8Copy full SHA for 57db6e8
features/bootstrap/FeatureContext.php
@@ -82,6 +82,14 @@ public function theOutputShouldContain(PyStringNode $expectedOutput)
82
Assertion::contains(StringUtil::trimLines($this->getOutput()), StringUtil::trimLines((string) $expectedOutput));
83
}
84
85
+ /**
86
+ * @Then /^the output should not contain$/
87
+ */
88
+ public function theOutputShouldNotContain(PyStringNode $expectedOutput)
89
+ {
90
+ Assertion::false(strpos(StringUtil::trimLines($this->getOutput()), StringUtil::trimLines((string) $expectedOutput)));
91
+ }
92
+
93
private function getOutput()
94
{
95
return $this->tester->getDisplay(true);
0 commit comments