This repository has been archived by the owner on Sep 19, 2020. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 153
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
FC010: Check for invalid search syntax.
- Loading branch information
Andrew Crump
committed
Dec 11, 2011
1 parent
2936559
commit c735c3b
Showing
5 changed files
with
78 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,20 @@ | ||
Feature: Check for invalid search syntax | ||
|
||
In order to identify invalid search syntax that will cause my converge to fail | ||
As a developer | ||
I want to verify that search expressions use valid Lucene syntax | ||
|
||
Scenario: Invalid search syntax | ||
Given a cookbook recipe that attempts to perform a search with invalid syntax | ||
When I check the cookbook | ||
Then the invalid search syntax warning 010 should be displayed | ||
|
||
Scenario: Valid search syntax | ||
Given a cookbook recipe that attempts to perform a search with valid syntax | ||
When I check the cookbook | ||
Then the invalid search syntax warning 010 should not be displayed | ||
|
||
Scenario: Search with subexpression | ||
Given a cookbook recipe that attempts to perform a search with a subexpression | ||
When I check the cookbook | ||
Then the invalid search syntax warning 010 should not be displayed |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters