cursive
cursive copied to clipboard
The Resolve as... doesn't work for lambdaisland.cucumber.dsl
Hello, I use the lambdaisland.cucumber.dsl dependency in my project to write tests with Cucumber and Gherkin. During the development I face two problems:
- The imported macroses are ignored. Even in the required field, I received a proposal to import the corresponding classes from Java Cucumber,
cucumber.api.java.en. - The Resolve as... doesn't work. The code for
And,Then, and others looks like this:
(Then "Items' length is equal to one"
[data]
(is (= 1 (count (:items data))))
data)
It's close to defn, so I chose it first. When there is no result, I try None. There is no change even in this case. Here is how it looks:
Is there a way to resolve these problems?
Turns out I missed the necessity of some symbol after Then, When and other. I've created a wrapper with a symbol on a second position, and it works better.