cursive icon indicating copy to clipboard operation
cursive copied to clipboard

The Resolve as... doesn't work for lambdaisland.cucumber.dsl

Open Terbiy opened this issue 2 years ago • 1 comments

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:

  1. 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.
  2. 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?

Terbiy avatar Jun 01 '23 19:06 Terbiy

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.

Terbiy avatar Oct 26 '23 08:10 Terbiy