This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
2019-05-07
Channels
- # announcements (7)
- # beginners (123)
- # calva (27)
- # cider (23)
- # clj-kondo (4)
- # cljsrn (7)
- # clojure (29)
- # clojure-dev (7)
- # clojure-europe (4)
- # clojure-italy (4)
- # clojure-nl (16)
- # clojure-uk (47)
- # clojurescript (1)
- # code-reviews (4)
- # cursive (4)
- # data-science (4)
- # datomic (30)
- # duct (4)
- # fulcro (4)
- # graphql (1)
- # kaocha (4)
- # mount (8)
- # off-topic (13)
- # overtone (1)
- # pedestal (2)
- # planck (3)
- # re-frame (9)
- # reagent (50)
- # ring (12)
- # shadow-cljs (38)
- # spacemacs (5)
- # testing (13)
- # tools-deps (55)
- # vim (30)
- # xtdb (13)
hmm I seem to have something preventing output from being captured and displayed as part of cucumber tests. Given:
(c/And "debug" [state]
(println "[debug] ************************************************************************")
(clojure.pprint/pprint state)
state)
And a feature scenario:
Scenario: Unauthorized access
Given a missing authorization header
When an integration submits a request against version v0.5
And debug
Then the API rejects the request as unauthorized
I would expect some form of output capture, e.g.:
╭───── Test output ───────────────────────────────────────────────────────
│ ...
╰─────────────────────────────────────────────────────────────────────────
But I simply get:
clojure -A:test -m kaocha.runner feature
[(..)]
1 tests, 1 assertions, 0 failures.
Also, I seem to have issues getting updates to step definitions being reflected in running feature tests from the REPL. I’m using deps.edn
and integrant
. I have “test/feature” and “test” as :extra-paths
for my test
alias which is being pulled in the REPL via Cider, with step definitions in test/step_definitions
. When calling (reset)
after updating a step definition, I can see that the step_definitions/X
namespaces are being reloaded, but the change is not reflected in the running tests when I call (kaocha.repl/run :feature)
.