Skip to content

Debug kaocha and Portal

When testing updates to the Practicalli Neovim config with Practicalli Project Templates, I discovered an error when using Koacha test runner via a REPL connected editor when Portal wrap-portal middleware is included in the REPL startup. The issue was resolved in the latest Portal release.

Tested the Debian Linux post install scripts on a spare laptop. Apart from the Zsh install script failing and a couple of TUI tools that need the output files renamed, everything seems pretty good.

A couple of nice rides over the Easter weekend in the UK and one just before the weekend, already has my distance for April at 288 km (and 3,480 meters climbing). There are some sunny days this week, so its looking good for 1,000 km distance this month.

I travelled 753.6 km in March this year and have a current total distance of 1,943.5 km for 2026.

To relax over the long weekend, I started a Netflix subscription after hunting through websites to see if there were enough shows on Netflix that I actually wanted to watch (not that easy a task as all streaming services are very secretive about what shows they actually have).

I was disappointed that season 2 of 3 Body Problem wont be release until then end of 2026 and with fewer episodes (6 rather than 8).

Movies

  • Kung Fu Panda 4 is the latest in the film series, seeing Po become the reluctant mentor. The best part of the film is the authentic Chinese music version of "Crazy Train" by Ozzy Osbourne.
  • K-Pop Demon Hunters visually stunning although not that deep a story line, enjoyable to watch anyway.
  • The Electric State is a fun Sci-Fi adventure with Millie Bobby Brown and Chris Pratt.
  • The Uglies a coming-of-age sci-fi movie with an interesting plot. Seems to be part one of a two part film, but unclear if the sequil will be made as it took 18 years to get around to making the first one.

Rick and Morty Series 9 should be released on May 24th on Adult Swim, so I'll keep an eye out for it on Channel4.com from then on.

Debian Linuxλ︎

I use Firefox as my web browser and with the latest package upgrade I noticed a lot of language packages were being updated. I only need the English (Great Britain) language pack.

Purge the Firefox ESR localisation meta package

sudo apt purge firefox-esr-l10n-all

Remove all the unwanted language packages

Remove all Firefox ESR Localisation packages

sudo apt purge $(apt-cache show firefox-esr-l10n-all | grep Depends | sed -n -e 's/^.*://;s/,//gp')

Reinstall the language pack I actually want.

Install the English GB localisation package

sudo apt install firefox-esr-l10n-en-gb

Curlλ︎

Curl is a very flexible tools for use with API's, including download of files from GitHub and similar services.

-fsSL are recommended flags for downloading files.

  • --fail or -f returns error code without saving content
  • --location or -L follow redirects
  • --silent or -s silent mode, don't show progress meter
  • --show-error or -S show error message on failure
  • --output or -o set the output file or directory, --create-dirs option creates local directories dynamically and - passes the output to stdout
curl --fail --location --silent --show-error --output /tmp/filename "https://github.com/practicalli/dotfiles/archive/refs/heads/main.zip"

Clojureλ︎

As part of the update to Neovim 0.12 and AstroNvim v6 I did some Clojure work, the first in a while.

I discovered that Kaocha test runner was failing when I also included the Portal library and wrap-portal middleware.

After some testing, I found the point in Portal where Kaocha started failing, so I raised an issue with my findings.

#292 wrap-portal: kaocha test run in REPL fails from Portal 0.59.x onward

Portal 0.58.5
; --------------------------------------------------------------------------------
; localhost:43935 (connecting): /home/practicalli/temp/playground/.nrepl-port
; --------------------------------------------------------------------------------
; Session: Balinese cat (Clojure)
; --------------------------------------------------------------------------------
; localhost:43935 (connected): /home/practicalli/temp/playground/.nrepl-port
; --------------------------------------------------------------------------------
; eval (buf): /home/practicalli/temp/playground/test/practicalli/playground_test.clj
nil
#'practicalli.playground-test/application-test
; --------------------------------------------------------------------------------
; run-all-tests
; {:file "NO_SOURCE_FILE", :line 1, :kaocha/testable {:kaocha.test-plan/tests ({:kaocha.testable/type :kaocha.type/ns, :kaocha.testable/id :practicalli.playground-test, :kaocha.testable/desc "practicalli.playground-test", :kaocha.ns/name practicalli.playground-test, :kaocha.testable/meta nil, :kaocha.ns/ns #namespace[practicalli.playground-test], :kaocha.test-plan/tests ({:kaocha.var/test #function[practicalli.playground-test/fn--12300], :kaocha.plugin.randomize/sort-key 110031069, :kaocha.testable/meta {:test #function[practicalli.playground-test/fn--12300], :line 18, :column 1, :file "/home/practicalli/temp/playground/test/practicalli/playground_test.clj", :name application-test, :ns #namespace[practicalli.playground-test]}, :kaocha.testable/type :kaocha.type/var, :kaocha.var/name practicalli.playground-test/application-test, :kaocha.var/var #'practicalli.playground-test/application-test, :kaocha.testable/desc "application-test", :kaocha.testable/wrap [], :kaocha.testable/id :practicalli.playground-test/application-test}), :kaocha.plugin.randomize/sort-key 988125717}), :kaocha.plugin.randomize/sort-key -1457714747, :kaocha/test-paths ["test"], :kaocha/ns-patterns ["-test$"], :kaocha.filter/skip-meta [:kaocha/skip], :kaocha.testable/type :kaocha.type/clojure.test, :kaocha/source-paths ["src"], :kaocha.testable/desc "unit (clojure.test)", :kaocha.testable/id :unit}, :kaocha/test-plan {:kaocha.test-plan/tests ({:kaocha.test-plan/tests ({:kaocha.testable/type :kaocha.type/ns, :kaocha.testable/id :practicalli.playground-test, :kaocha.testable/desc "practicalli.playground-test", :kaocha.ns/name practicalli.playground-test, :kaocha.testable/meta nil, :kaocha.ns/ns #namespace[practicalli.playground-test], :kaocha.test-plan/tests ({:kaocha.var/test #function[practicalli.playground-test/fn--12300], :kaocha.plugin.randomize/sort-key 110031069, :kaocha.testable/meta {:test #function[practicalli.playground-test/fn--12300], :line 18, :column 1, :file "/home/practicalli/temp/playground/test/practicalli/playground_test.clj", :name application-test, :ns #namespace[practicalli.playground-test]}, :kaocha.testable/type :kaocha.type/var, :kaocha.var/name practicalli.playground-test/application-test, :kaocha.var/var #'practicalli.playground-test/application-test, :kaocha.testable/desc "application-test", :kaocha.testable/wrap [], :kaocha.testable/id :practicalli.playground-test/application-test}), :kaocha.plugin.randomize/sort-key 988125717}), :kaocha.plugin.randomize/sort-key -1457714747, :kaocha/test-paths ["test"], :kaocha/ns-patterns ["-test$"], :kaocha.filter/skip-meta [:kaocha/skip], :kaocha.testable/type :kaocha.type/clojure.test, :kaocha/source-paths ["src"], :kaocha.testable/desc "unit (clojure.test)", :kaocha.testable/id :unit}), :kaocha/fail-fast? false, :kaocha.filter/focus-meta #{}, :kaocha/color? false, :kaocha.plugin.randomize/seed 561716768, :kaocha.plugin.randomize/randomize? true, :kaocha/plugins [:kaocha.plugin/randomize :kaocha.plugin/filter :kaocha.plugin/capture-output], :kaocha.plugin.capture-output/capture-output? true, :kaocha/reporter #function[kaocha.api/resolve-reporter/fn--15119]}, :type :begin-test-suite}
;
; Testing practicalli.playground-test
;
; FAIL in (application-test) (playground_test.clj:22)
; TODO: Start with a failing test, make it pass, then refactor
; expected: (= "practicalli application developed by the secret engineering team" (playground/greet))
;   actual: (not (= "practicalli application developed by the secret engineering team" "practicalli playground service developed by the secret engineering team"))
;
; FAIL in (application-test) (playground_test.clj:26)
; TODO: Start with a failing test, make it pass, then refactor
; expected: (= (playground/greet "Practicalli Engineering") "practicalli service developed by the Practicalli Engineering team")
;   actual: (not (= "practicalli playground service developed by the  team" "practicalli service developed by the Practicalli Engineering team"))
; {:file "NO_SOURCE_FILE", :line 1, :kaocha/testable {:kaocha.plugin.randomize/sort-key -1457714747, :kaocha/test-paths ["test"], :kaocha/ns-patterns ["-test$"], :kaocha.result/tests [{:kaocha.plugin.randomize/sort-key 988125717, :kaocha.testable/events (), :kaocha.testable/meta nil, :kaocha.result/tests [{:kaocha.result/error 0, :kaocha.result/pending 0, :kaocha.result/pass 0, :kaocha.var/test #function[practicalli.playground-test/fn--12300], :kaocha.plugin.randomize/sort-key 110031069, :kaocha.testable/events (), :kaocha.plugin.capture-output/output "", :kaocha.testable/meta {:test #function[practicalli.playground-test/fn--12300], :line 18, :column 1, :file "/home/practicalli/temp/playground/test/practicalli/playground_test.clj", :name application-test, :ns #namespace[practicalli.playground-test]}, :kaocha.result/count 1, :kaocha.testable/type :kaocha.type/var, :kaocha.var/name practicalli.playground-test/application-test, :kaocha.var/var #'practicalli.playground-test/application-test, :kaocha.testable/desc "application-test", :kaocha.testable/wrap [#function[kaocha.plugin.capture-output/capture-output-pre-test-hook/fn--13155]], :kaocha.result/fail 2, :kaocha.testable/id :practicalli.playground-test/application-test}], :kaocha.testable/type :kaocha.type/ns, :kaocha.ns/ns #namespace[practicalli.playground-test], :kaocha.testable/desc "practicalli.playground-test", :kaocha.ns/name practicalli.playground-test, :kaocha.testable/id :practicalli.playground-test}], :kaocha.filter/skip-meta [:kaocha/skip], :kaocha.testable/type :kaocha.type/clojure.test, :kaocha/source-paths ["src"], :kaocha.testable/desc "unit (clojure.test)", :kaocha.testable/id :unit}, :kaocha/test-plan {:kaocha.test-plan/tests ({:kaocha.test-plan/tests ({:kaocha.testable/type :kaocha.type/ns, :kaocha.testable/id :practicalli.playground-test, :kaocha.testable/desc "practicalli.playground-test", :kaocha.ns/name practicalli.playground-test, :kaocha.testable/meta nil, :kaocha.ns/ns #namespace[practicalli.playground-test], :kaocha.test-plan/tests ({:kaocha.var/test #function[practicalli.playground-test/fn--12300], :kaocha.plugin.randomize/sort-key 110031069, :kaocha.testable/meta {:test #function[practicalli.playground-test/fn--12300], :line 18, :column 1, :file "/home/practicalli/temp/playground/test/practicalli/playground_test.clj", :name application-test, :ns #namespace[practicalli.playground-test]}, :kaocha.testable/type :kaocha.type/var, :kaocha.var/name practicalli.playground-test/application-test, :kaocha.var/var #'practicalli.playground-test/application-test, :kaocha.testable/desc "application-test", :kaocha.testable/wrap [], :kaocha.testable/id :practicalli.playground-test/application-test}), :kaocha.plugin.randomize/sort-key 988125717}), :kaocha.plugin.randomize/sort-key -1457714747, :kaocha/test-paths ["test"], :kaocha/ns-patterns ["-test$"], :kaocha.filter/skip-meta [:kaocha/skip], :kaocha.testable/type :kaocha.type/clojure.test, :kaocha/source-paths ["src"], :kaocha.testable/desc "unit (clojure.test)", :kaocha.testable/id :unit}), :kaocha/fail-fast? false, :kaocha.filter/focus-meta #{}, :kaocha/color? false, :kaocha.plugin.randomize/seed 561716768, :kaocha.plugin.randomize/randomize? true, :kaocha/plugins [:kaocha.plugin/randomize :kaocha.plugin/filter :kaocha.plugin/capture-output], :kaocha.plugin.capture-output/capture-output? true, :kaocha/reporter #function[kaocha.api/resolve-reporter/fn--15119]}, :type :end-test-suite}
;
; Randomized with --seed 561716768
; Ran 1 tests containing 2 assertions.
; 2 failures, 0 errors.
#:kaocha.result{:count 1, :pass 0, :error 0, :fail 2, :pending 0}
Portal 0.59.0 - working but different test report output
; --------------------------------------------------------------------------------
; eval (buf): /home/practicalli/temp/playground/test/practicalli/playground_test.clj
; --------------------------------------------------------------------------------
; localhost:40015 (connecting): /home/practicalli/temp/playground/.nrepl-port
; --------------------------------------------------------------------------------
; Session: Dandie Dinmont Terrier (Clojure)
; --------------------------------------------------------------------------------
; localhost:40015 (connected): /home/practicalli/temp/playground/.nrepl-port
nil
#'practicalli.playground-test/application-test
; --------------------------------------------------------------------------------
; run-all-tests
; {:file "NO_SOURCE_FILE", :line 1, :kaocha/testable {:kaocha.test-plan/tests ({:kaocha.testable/type :kaocha.type/ns, :kaocha.testable/id :practicalli.playground-test, :kaocha.testable/desc "practicalli.playground-test", :kaocha.ns/name practicalli.playground-test, :kaocha.testable/meta nil, :kaocha.ns/ns #namespace[practicalli.playground-test], :kaocha.test-plan/tests ({:kaocha.var/test #function[practicalli.playground-test/fn--12327], :kaocha.plugin.randomize/sort-key -968086307, :kaocha.testable/meta {:test #function[practicalli.playground-test/fn--12327], :line 18, :column 1, :file "/home/practicalli/temp/playground/test/practicalli/playground_test.clj", :name application-test, :ns #namespace[practicalli.playground-test]}, :kaocha.testable/type :kaocha.type/var, :kaocha.var/name practicalli.playground-test/application-test, :kaocha.var/var #'practicalli.playground-test/application-test, :kaocha.testable/desc "application-test", :kaocha.testable/wrap [], :kaocha.testable/id :practicalli.playground-test/application-test}), :kaocha.plugin.randomize/sort-key -234649255}), :kaocha.plugin.randomize/sort-key -1166741914, :kaocha/test-paths ["test"], :kaocha/ns-patterns ["-test$"], :kaocha.filter/skip-meta [:kaocha/skip], :kaocha.testable/type :kaocha.type/clojure.test, :kaocha/source-paths ["src"], :kaocha.testable/desc "unit (clojure.test)", :kaocha.testable/id :unit}, :kaocha/test-plan {:kaocha.test-plan/tests ({:kaocha.test-plan/tests ({:kaocha.testable/type :kaocha.type/ns, :kaocha.testable/id :practicalli.playground-test, :kaocha.testable/desc "practicalli.playground-test", :kaocha.ns/name practicalli.playground-test, :kaocha.testable/meta nil, :kaocha.ns/ns #namespace[practicalli.playground-test], :kaocha.test-plan/tests ({:kaocha.var/test #function[practicalli.playground-test/fn--12327], :kaocha.plugin.randomize/sort-key -968086307, :kaocha.testable/meta {:test #function[practicalli.playground-test/fn--12327], :line 18, :column 1, :file "/home/practicalli/temp/playground/test/practicalli/playground_test.clj", :name application-test, :ns #namespace[practicalli.playground-test]}, :kaocha.testable/type :kaocha.type/var, :kaocha.var/name practicalli.playground-test/application-test, :kaocha.var/var #'practicalli.playground-test/application-test, :kaocha.testable/desc "application-test", :kaocha.testable/wrap [], :kaocha.testable/id :practicalli.playground-test/application-test}), :kaocha.plugin.randomize/sort-key -234649255}), :kaocha.plugin.randomize/sort-key -1166741914, :kaocha/test-paths ["test"], :kaocha/ns-patterns ["-test$"], :kaocha.filter/skip-meta [:kaocha/skip], :kaocha.testable/type :kaocha.type/clojure.test, :kaocha/source-paths ["src"], :kaocha.testable/desc "unit (clojure.test)", :kaocha.testable/id :unit}), :kaocha/fail-fast? false, :kaocha.filter/focus-meta #{}, :kaocha/color? false, :kaocha.plugin.randomize/seed 176626048, :kaocha.plugin.randomize/randomize? true, :kaocha/plugins [:kaocha.plugin/randomize :kaocha.plugin/filter :kaocha.plugin/capture-output], :kaocha.plugin.capture-output/capture-output? true, :kaocha/reporter #function[kaocha.api/resolve-reporter/fn--15146]}, :type :begin-test-suite}
; {:file "NO_SOURCE_FILE", :line 1, :kaocha/testable {:kaocha.testable/type :kaocha.type/ns, :kaocha.testable/id :practicalli.playground-test, :kaocha.testable/desc "practicalli.playground-test", :kaocha.ns/name practicalli.playground-test, :kaocha.testable/meta nil, :kaocha.ns/ns #namespace[practicalli.playground-test], :kaocha.test-plan/tests ({:kaocha.var/test #function[practicalli.playground-test/fn--12327], :kaocha.plugin.randomize/sort-key -968086307, :kaocha.testable/meta {:test #function[practicalli.playground-test/fn--12327], :line 18, :column 1, :file "/home/practicalli/temp/playground/test/practicalli/playground_test.clj", :name application-test, :ns #namespace[practicalli.playground-test]}, :kaocha.testable/type :kaocha.type/var, :kaocha.var/name practicalli.playground-test/application-test, :kaocha.var/var #'practicalli.playground-test/application-test, :kaocha.testable/desc "application-test", :kaocha.testable/wrap [], :kaocha.testable/id :practicalli.playground-test/application-test}), :kaocha.plugin.randomize/sort-key -234649255}, :kaocha/test-plan {:kaocha.test-plan/tests ({:kaocha.test-plan/tests ({:kaocha.testable/type :kaocha.type/ns, :kaocha.testable/id :practicalli.playground-test, :kaocha.testable/desc "practicalli.playground-test", :kaocha.ns/name practicalli.playground-test, :kaocha.testable/meta nil, :kaocha.ns/ns #namespace[practicalli.playground-test], :kaocha.test-plan/tests ({:kaocha.var/test #function[practicalli.playground-test/fn--12327], :kaocha.plugin.randomize/sort-key -968086307, :kaocha.testable/meta {:test #function[practicalli.playground-test/fn--12327], :line 18, :column 1, :file "/home/practicalli/temp/playground/test/practicalli/playground_test.clj", :name application-test, :ns #namespace[practicalli.playground-test]}, :kaocha.testable/type :kaocha.type/var, :kaocha.var/name practicalli.playground-test/application-test, :kaocha.var/var #'practicalli.playground-test/application-test, :kaocha.testable/desc "application-test", :kaocha.testable/wrap [], :kaocha.testable/id :practicalli.playground-test/application-test}), :kaocha.plugin.randomize/sort-key -234649255}), :kaocha.plugin.randomize/sort-key -1166741914, :kaocha/test-paths ["test"], :kaocha/ns-patterns ["-test$"], :kaocha.filter/skip-meta [:kaocha/skip], :kaocha.testable/type :kaocha.type/clojure.test, :kaocha/source-paths ["src"], :kaocha.testable/desc "unit (clojure.test)", :kaocha.testable/id :unit}), :kaocha/fail-fast? false, :kaocha.filter/focus-meta #{}, :kaocha/color? false, :kaocha.plugin.randomize/seed 176626048, :kaocha.plugin.randomize/randomize? true, :kaocha/plugins [:kaocha.plugin/randomize :kaocha.plugin/filter :kaocha.plugin/capture-output], :kaocha.plugin.capture-output/capture-output? true, :kaocha/reporter #function[kaocha.api/resolve-reporter/fn--15146]}, :ns #namespace[practicalli.playground-test], :type :begin-test-ns}
; {:file "NO_SOURCE_FILE", :line 1, :kaocha/testable {:kaocha.var/test #function[practicalli.playground-test/fn--12327], :kaocha.plugin.randomize/sort-key -968086307, :kaocha.testable/meta {:test #function[practicalli.playground-test/fn--12327], :line 18, :column 1, :file "/home/practicalli/temp/playground/test/practicalli/playground_test.clj", :name application-test, :ns #namespace[practicalli.playground-test]}, :kaocha.testable/type :kaocha.type/var, :kaocha.var/name practicalli.playground-test/application-test, :kaocha.plugin.capture-output/buffer #object[java.io.ByteArrayOutputStream 0x214b633b ""], :kaocha.var/var #'practicalli.playground-test/application-test, :kaocha.testable/desc "application-test", :kaocha.testable/wrap [#function[kaocha.plugin.capture-output/capture-output-pre-test-hook/fn--13182]], :kaocha.testable/id :practicalli.playground-test/application-test}, :kaocha/test-plan {:kaocha.test-plan/tests ({:kaocha.test-plan/tests ({:kaocha.testable/type :kaocha.type/ns, :kaocha.testable/id :practicalli.playground-test, :kaocha.testable/desc "practicalli.playground-test", :kaocha.ns/name practicalli.playground-test, :kaocha.testable/meta nil, :kaocha.ns/ns #namespace[practicalli.playground-test], :kaocha.test-plan/tests ({:kaocha.var/test #function[practicalli.playground-test/fn--12327], :kaocha.plugin.randomize/sort-key -968086307, :kaocha.testable/meta {:test #function[practicalli.playground-test/fn--12327], :line 18, :column 1, :file "/home/practicalli/temp/playground/test/practicalli/playground_test.clj", :name application-test, :ns #namespace[practicalli.playground-test]}, :kaocha.testable/type :kaocha.type/var, :kaocha.var/name practicalli.playground-test/application-test, :kaocha.var/var #'practicalli.playground-test/application-test, :kaocha.testable/desc "application-test", :kaocha.testable/wrap [], :kaocha.testable/id :practicalli.playground-test/application-test}), :kaocha.plugin.randomize/sort-key -234649255}), :kaocha.plugin.randomize/sort-key -1166741914, :kaocha/test-paths ["test"], :kaocha/ns-patterns ["-test$"], :kaocha.filter/skip-meta [:kaocha/skip], :kaocha.testable/type :kaocha.type/clojure.test, :kaocha/source-paths ["src"], :kaocha.testable/desc "unit (clojure.test)", :kaocha.testable/id :unit}), :kaocha/fail-fast? false, :kaocha.filter/focus-meta #{}, :kaocha/color? false, :kaocha.plugin.randomize/seed 176626048, :kaocha.plugin.randomize/randomize? true, :kaocha/plugins [:kaocha.plugin/randomize :kaocha.plugin/filter :kaocha.plugin/capture-output], :kaocha.plugin.capture-output/capture-output? true, :kaocha/reporter #function[kaocha.api/resolve-reporter/fn--15146]}, :type :begin-test-var, :var #'practicalli.playground-test/application-test}
; {:file "playground_test.clj", :line 22, :kaocha/testable {:kaocha.var/test #function[practicalli.playground-test/fn--12327], :kaocha.plugin.randomize/sort-key -968086307, :kaocha.testable/meta {:test #function[practicalli.playground-test/fn--12327], :line 18, :column 1, :file "/home/practicalli/temp/playground/test/practicalli/playground_test.clj", :name application-test, :ns #namespace[practicalli.playground-test]}, :kaocha.testable/type :kaocha.type/var, :kaocha.var/name practicalli.playground-test/application-test, :kaocha.plugin.capture-output/buffer #object[java.io.ByteArrayOutputStream 0x214b633b ""], :kaocha.var/var #'practicalli.playground-test/application-test, :kaocha.testable/desc "application-test", :kaocha.testable/wrap [#function[kaocha.plugin.capture-output/capture-output-pre-test-hook/fn--13182]], :kaocha.testable/id :practicalli.playground-test/application-test}, :kaocha/test-plan {:kaocha.test-plan/tests ({:kaocha.test-plan/tests ({:kaocha.testable/type :kaocha.type/ns, :kaocha.testable/id :practicalli.playground-test, :kaocha.testable/desc "practicalli.playground-test", :kaocha.ns/name practicalli.playground-test, :kaocha.testable/meta nil, :kaocha.ns/ns #namespace[practicalli.playground-test], :kaocha.test-plan/tests ({:kaocha.var/test #function[practicalli.playground-test/fn--12327], :kaocha.plugin.randomize/sort-key -968086307, :kaocha.testable/meta {:test #function[practicalli.playground-test/fn--12327], :line 18, :column 1, :file "/home/practicalli/temp/playground/test/practicalli/playground_test.clj", :name application-test, :ns #namespace[practicalli.playground-test]}, :kaocha.testable/type :kaocha.type/var, :kaocha.var/name practicalli.playground-test/application-test, :kaocha.var/var #'practicalli.playground-test/application-test, :kaocha.testable/desc "application-test", :kaocha.testable/wrap [], :kaocha.testable/id :practicalli.playground-test/application-test}), :kaocha.plugin.randomize/sort-key -234649255}), :kaocha.plugin.randomize/sort-key -1166741914, :kaocha/test-paths ["test"], :kaocha/ns-patterns ["-test$"], :kaocha.filter/skip-meta [:kaocha/skip], :kaocha.testable/type :kaocha.type/clojure.test, :kaocha/source-paths ["src"], :kaocha.testable/desc "unit (clojure.test)", :kaocha.testable/id :unit}), :kaocha/fail-fast? false, :kaocha.filter/focus-meta #{}, :kaocha/color? false, :kaocha.plugin.randomize/seed 176626048, :kaocha.plugin.randomize/randomize? true, :kaocha/plugins [:kaocha.plugin/randomize :kaocha.plugin/filter :kaocha.plugin/capture-output], :kaocha.plugin.capture-output/capture-output? true, :kaocha/reporter #function[kaocha.api/resolve-reporter/fn--15146]}, :type :fail, :expected (= "practicalli application developed by the secret engineering team" (playground/greet)), :actual (not (= "practicalli application developed by the secret engineering team" "practicalli playground service developed by the secret engineering team")), :message nil}
; {:file "playground_test.clj", :line 26, :kaocha/testable {:kaocha.var/test #function[practicalli.playground-test/fn--12327], :kaocha.plugin.randomize/sort-key -968086307, :kaocha.testable/meta {:test #function[practicalli.playground-test/fn--12327], :line 18, :column 1, :file "/home/practicalli/temp/playground/test/practicalli/playground_test.clj", :name application-test, :ns #namespace[practicalli.playground-test]}, :kaocha.testable/type :kaocha.type/var, :kaocha.var/name practicalli.playground-test/application-test, :kaocha.plugin.capture-output/buffer #object[java.io.ByteArrayOutputStream 0x214b633b ""], :kaocha.var/var #'practicalli.playground-test/application-test, :kaocha.testable/desc "application-test", :kaocha.testable/wrap [#function[kaocha.plugin.capture-output/capture-output-pre-test-hook/fn--13182]], :kaocha.testable/id :practicalli.playground-test/application-test}, :kaocha/test-plan {:kaocha.test-plan/tests ({:kaocha.test-plan/tests ({:kaocha.testable/type :kaocha.type/ns, :kaocha.testable/id :practicalli.playground-test, :kaocha.testable/desc "practicalli.playground-test", :kaocha.ns/name practicalli.playground-test, :kaocha.testable/meta nil, :kaocha.ns/ns #namespace[practicalli.playground-test], :kaocha.test-plan/tests ({:kaocha.var/test #function[practicalli.playground-test/fn--12327], :kaocha.plugin.randomize/sort-key -968086307, :kaocha.testable/meta {:test #function[practicalli.playground-test/fn--12327], :line 18, :column 1, :file "/home/practicalli/temp/playground/test/practicalli/playground_test.clj", :name application-test, :ns #namespace[practicalli.playground-test]}, :kaocha.testable/type :kaocha.type/var, :kaocha.var/name practicalli.playground-test/application-test, :kaocha.var/var #'practicalli.playground-test/application-test, :kaocha.testable/desc "application-test", :kaocha.testable/wrap [], :kaocha.testable/id :practicalli.playground-test/application-test}), :kaocha.plugin.randomize/sort-key -234649255}), :kaocha.plugin.randomize/sort-key -1166741914, :kaocha/test-paths ["test"], :kaocha/ns-patterns ["-test$"], :kaocha.filter/skip-meta [:kaocha/skip], :kaocha.testable/type :kaocha.type/clojure.test, :kaocha/source-paths ["src"], :kaocha.testable/desc "unit (clojure.test)", :kaocha.testable/id :unit}), :kaocha/fail-fast? false, :kaocha.filter/focus-meta #{}, :kaocha/color? false, :kaocha.plugin.randomize/seed 176626048, :kaocha.plugin.randomize/randomize? true, :kaocha/plugins [:kaocha.plugin/randomize :kaocha.plugin/filter :kaocha.plugin/capture-output], :kaocha.plugin.capture-output/capture-output? true, :kaocha/reporter #function[kaocha.api/resolve-reporter/fn--15146]}, :type :fail, :expected (= (playground/greet "Practicalli Engineering") "practicalli service developed by the Practicalli Engineering team"), :actual (not (= "practicalli playground service developed by the  team" "practicalli service developed by the Practicalli Engineering team")), :message nil}
; {:file "/home/practicalli/temp/playground/test/practicalli/playground_test.clj", :line 18, :kaocha/testable {:kaocha.var/test #function[practicalli.playground-test/fn--12327], :kaocha.plugin.randomize/sort-key -968086307, :kaocha.testable/meta {:test #function[practicalli.playground-test/fn--12327], :line 18, :column 1, :file "/home/practicalli/temp/playground/test/practicalli/playground_test.clj", :name application-test, :ns #namespace[practicalli.playground-test]}, :kaocha.testable/type :kaocha.type/var, :kaocha.var/name practicalli.playground-test/application-test, :kaocha.plugin.capture-output/buffer #object[java.io.ByteArrayOutputStream 0x214b633b ""], :kaocha.var/var #'practicalli.playground-test/application-test, :kaocha.testable/desc "application-test", :kaocha.testable/wrap [#function[kaocha.plugin.capture-output/capture-output-pre-test-hook/fn--13182]], :kaocha.testable/id :practicalli.playground-test/application-test}, :kaocha/test-plan {:kaocha.test-plan/tests ({:kaocha.test-plan/tests ({:kaocha.testable/type :kaocha.type/ns, :kaocha.testable/id :practicalli.playground-test, :kaocha.testable/desc "practicalli.playground-test", :kaocha.ns/name practicalli.playground-test, :kaocha.testable/meta nil, :kaocha.ns/ns #namespace[practicalli.playground-test], :kaocha.test-plan/tests ({:kaocha.var/test #function[practicalli.playground-test/fn--12327], :kaocha.plugin.randomize/sort-key -968086307, :kaocha.testable/meta {:test #function[practicalli.playground-test/fn--12327], :line 18, :column 1, :file "/home/practicalli/temp/playground/test/practicalli/playground_test.clj", :name application-test, :ns #namespace[practicalli.playground-test]}, :kaocha.testable/type :kaocha.type/var, :kaocha.var/name practicalli.playground-test/application-test, :kaocha.var/var #'practicalli.playground-test/application-test, :kaocha.testable/desc "application-test", :kaocha.testable/wrap [], :kaocha.testable/id :practicalli.playground-test/application-test}), :kaocha.plugin.randomize/sort-key -234649255}), :kaocha.plugin.randomize/sort-key -1166741914, :kaocha/test-paths ["test"], :kaocha/ns-patterns ["-test$"], :kaocha.filter/skip-meta [:kaocha/skip], :kaocha.testable/type :kaocha.type/clojure.test, :kaocha/source-paths ["src"], :kaocha.testable/desc "unit (clojure.test)", :kaocha.testable/id :unit}), :kaocha/fail-fast? false, :kaocha.filter/focus-meta #{}, :kaocha/color? false, :kaocha.plugin.randomize/seed 176626048, :kaocha.plugin.randomize/randomize? true, :kaocha/plugins [:kaocha.plugin/randomize :kaocha.plugin/filter :kaocha.plugin/capture-output], :kaocha.plugin.capture-output/capture-output? true, :kaocha/reporter #function[kaocha.api/resolve-reporter/fn--15146]}, :type :kaocha.type.var/zero-assertions}
; {:file "NO_SOURCE_FILE", :line 1, :kaocha/testable {:kaocha.var/test #function[practicalli.playground-test/fn--12327], :kaocha.plugin.randomize/sort-key -968086307, :kaocha.testable/meta {:test #function[practicalli.playground-test/fn--12327], :line 18, :column 1, :file "/home/practicalli/temp/playground/test/practicalli/playground_test.clj", :name application-test, :ns #namespace[practicalli.playground-test]}, :kaocha.testable/type :kaocha.type/var, :kaocha.var/name practicalli.playground-test/application-test, :kaocha.plugin.capture-output/buffer #object[java.io.ByteArrayOutputStream 0x214b633b ""], :kaocha.var/var #'practicalli.playground-test/application-test, :kaocha.testable/desc "application-test", :kaocha.testable/wrap [#function[kaocha.plugin.capture-output/capture-output-pre-test-hook/fn--13182]], :kaocha.testable/id :practicalli.playground-test/application-test}, :kaocha/test-plan {:kaocha.test-plan/tests ({:kaocha.test-plan/tests ({:kaocha.testable/type :kaocha.type/ns, :kaocha.testable/id :practicalli.playground-test, :kaocha.testable/desc "practicalli.playground-test", :kaocha.ns/name practicalli.playground-test, :kaocha.testable/meta nil, :kaocha.ns/ns #namespace[practicalli.playground-test], :kaocha.test-plan/tests ({:kaocha.var/test #function[practicalli.playground-test/fn--12327], :kaocha.plugin.randomize/sort-key -968086307, :kaocha.testable/meta {:test #function[practicalli.playground-test/fn--12327], :line 18, :column 1, :file "/home/practicalli/temp/playground/test/practicalli/playground_test.clj", :name application-test, :ns #namespace[practicalli.playground-test]}, :kaocha.testable/type :kaocha.type/var, :kaocha.var/name practicalli.playground-test/application-test, :kaocha.var/var #'practicalli.playground-test/application-test, :kaocha.testable/desc "application-test", :kaocha.testable/wrap [], :kaocha.testable/id :practicalli.playground-test/application-test}), :kaocha.plugin.randomize/sort-key -234649255}), :kaocha.plugin.randomize/sort-key -1166741914, :kaocha/test-paths ["test"], :kaocha/ns-patterns ["-test$"], :kaocha.filter/skip-meta [:kaocha/skip], :kaocha.testable/type :kaocha.type/clojure.test, :kaocha/source-paths ["src"], :kaocha.testable/desc "unit (clojure.test)", :kaocha.testable/id :unit}), :kaocha/fail-fast? false, :kaocha.filter/focus-meta #{}, :kaocha/color? false, :kaocha.plugin.randomize/seed 176626048, :kaocha.plugin.randomize/randomize? true, :kaocha/plugins [:kaocha.plugin/randomize :kaocha.plugin/filter :kaocha.plugin/capture-output], :kaocha.plugin.capture-output/capture-output? true, :kaocha/reporter #function[kaocha.api/resolve-reporter/fn--15146]}, :type :end-test-var, :var #'practicalli.playground-test/application-test}
; {:file "NO_SOURCE_FILE", :line 1, :kaocha/testable {:kaocha.testable/type :kaocha.type/ns, :kaocha.testable/id :practicalli.playground-test, :kaocha.testable/desc "practicalli.playground-test", :kaocha.ns/name practicalli.playground-test, :kaocha.testable/meta nil, :kaocha.ns/ns #namespace[practicalli.playground-test], :kaocha.test-plan/tests ({:kaocha.var/test #function[practicalli.playground-test/fn--12327], :kaocha.plugin.randomize/sort-key -968086307, :kaocha.testable/meta {:test #function[practicalli.playground-test/fn--12327], :line 18, :column 1, :file "/home/practicalli/temp/playground/test/practicalli/playground_test.clj", :name application-test, :ns #namespace[practicalli.playground-test]}, :kaocha.testable/type :kaocha.type/var, :kaocha.var/name practicalli.playground-test/application-test, :kaocha.var/var #'practicalli.playground-test/application-test, :kaocha.testable/desc "application-test", :kaocha.testable/wrap [], :kaocha.testable/id :practicalli.playground-test/application-test}), :kaocha.plugin.randomize/sort-key -234649255}, :kaocha/test-plan {:kaocha.test-plan/tests ({:kaocha.test-plan/tests ({:kaocha.testable/type :kaocha.type/ns, :kaocha.testable/id :practicalli.playground-test, :kaocha.testable/desc "practicalli.playground-test", :kaocha.ns/name practicalli.playground-test, :kaocha.testable/meta nil, :kaocha.ns/ns #namespace[practicalli.playground-test], :kaocha.test-plan/tests ({:kaocha.var/test #function[practicalli.playground-test/fn--12327], :kaocha.plugin.randomize/sort-key -968086307, :kaocha.testable/meta {:test #function[practicalli.playground-test/fn--12327], :line 18, :column 1, :file "/home/practicalli/temp/playground/test/practicalli/playground_test.clj", :name application-test, :ns #namespace[practicalli.playground-test]}, :kaocha.testable/type :kaocha.type/var, :kaocha.var/name practicalli.playground-test/application-test, :kaocha.var/var #'practicalli.playground-test/application-test, :kaocha.testable/desc "application-test", :kaocha.testable/wrap [], :kaocha.testable/id :practicalli.playground-test/application-test}), :kaocha.plugin.randomize/sort-key -234649255}), :kaocha.plugin.randomize/sort-key -1166741914, :kaocha/test-paths ["test"], :kaocha/ns-patterns ["-test$"], :kaocha.filter/skip-meta [:kaocha/skip], :kaocha.testable/type :kaocha.type/clojure.test, :kaocha/source-paths ["src"], :kaocha.testable/desc "unit (clojure.test)", :kaocha.testable/id :unit}), :kaocha/fail-fast? false, :kaocha.filter/focus-meta #{}, :kaocha/color? false, :kaocha.plugin.randomize/seed 176626048, :kaocha.plugin.randomize/randomize? true, :kaocha/plugins [:kaocha.plugin/randomize :kaocha.plugin/filter :kaocha.plugin/capture-output], :kaocha.plugin.capture-output/capture-output? true, :kaocha/reporter #function[kaocha.api/resolve-reporter/fn--15146]}, :ns #namespace[practicalli.playground-test], :type :end-test-ns}
; {:file "NO_SOURCE_FILE", :line 1, :kaocha/testable {:kaocha.plugin.randomize/sort-key -1166741914, :kaocha/test-paths ["test"], :kaocha/ns-patterns ["-test$"], :kaocha.result/tests [{:kaocha.plugin.randomize/sort-key -234649255, :kaocha.testable/events (), :kaocha.testable/meta nil, :kaocha.result/tests [{:kaocha.result/error 0, :kaocha.result/pending 0, :kaocha.result/pass 0, :kaocha.var/test #function[practicalli.playground-test/fn--12327], :kaocha.plugin.randomize/sort-key -968086307, :kaocha.testable/events (), :kaocha.plugin.capture-output/output "", :kaocha.testable/meta {:test #function[practicalli.playground-test/fn--12327], :line 18, :column 1, :file "/home/practicalli/temp/playground/test/practicalli/playground_test.clj", :name application-test, :ns #namespace[practicalli.playground-test]}, :kaocha.result/count 1, :kaocha.testable/type :kaocha.type/var, :kaocha.var/name practicalli.playground-test/application-test, :kaocha.var/var #'practicalli.playground-test/application-test, :kaocha.testable/desc "application-test", :kaocha.testable/wrap [#function[kaocha.plugin.capture-output/capture-output-pre-test-hook/fn--13182]], :kaocha.result/fail 0, :kaocha.testable/id :practicalli.playground-test/application-test}], :kaocha.testable/type :kaocha.type/ns, :kaocha.ns/ns #namespace[practicalli.playground-test], :kaocha.testable/desc "practicalli.playground-test", :kaocha.ns/name practicalli.playground-test, :kaocha.testable/id :practicalli.playground-test}], :kaocha.filter/skip-meta [:kaocha/skip], :kaocha.testable/type :kaocha.type/clojure.test, :kaocha/source-paths ["src"], :kaocha.testable/desc "unit (clojure.test)", :kaocha.testable/id :unit}, :kaocha/test-plan {:kaocha.test-plan/tests ({:kaocha.test-plan/tests ({:kaocha.testable/type :kaocha.type/ns, :kaocha.testable/id :practicalli.playground-test, :kaocha.testable/desc "practicalli.playground-test", :kaocha.ns/name practicalli.playground-test, :kaocha.testable/meta nil, :kaocha.ns/ns #namespace[practicalli.playground-test], :kaocha.test-plan/tests ({:kaocha.var/test #function[practicalli.playground-test/fn--12327], :kaocha.plugin.randomize/sort-key -968086307, :kaocha.testable/meta {:test #function[practicalli.playground-test/fn--12327], :line 18, :column 1, :file "/home/practicalli/temp/playground/test/practicalli/playground_test.clj", :name application-test, :ns #namespace[practicalli.playground-test]}, :kaocha.testable/type :kaocha.type/var, :kaocha.var/name practicalli.playground-test/application-test, :kaocha.var/var #'practicalli.playground-test/application-test, :kaocha.testable/desc "application-test", :kaocha.testable/wrap [], :kaocha.testable/id :practicalli.playground-test/application-test}), :kaocha.plugin.randomize/sort-key -234649255}), :kaocha.plugin.randomize/sort-key -1166741914, :kaocha/test-paths ["test"], :kaocha/ns-patterns ["-test$"], :kaocha.filter/skip-meta [:kaocha/skip], :kaocha.testable/type :kaocha.type/clojure.test, :kaocha/source-paths ["src"], :kaocha.testable/desc "unit (clojure.test)", :kaocha.testable/id :unit}), :kaocha/fail-fast? false, :kaocha.filter/focus-meta #{}, :kaocha/color? false, :kaocha.plugin.randomize/seed 176626048, :kaocha.plugin.randomize/randomize? true, :kaocha/plugins [:kaocha.plugin/randomize :kaocha.plugin/filter :kaocha.plugin/capture-output], :kaocha.plugin.capture-output/capture-output? true, :kaocha/reporter #function[kaocha.api/resolve-reporter/fn--15146]}, :type :end-test-suite}
; {:pending 0, :file "NO_SOURCE_FILE", :type :summary, :fail 0, :line 1, :error 0, :kaocha/testable nil, :pass 0, :kaocha/test-plan {:kaocha.test-plan/tests ({:kaocha.test-plan/tests ({:kaocha.testable/type :kaocha.type/ns, :kaocha.testable/id :practicalli.playground-test, :kaocha.testable/desc "practicalli.playground-test", :kaocha.ns/name practicalli.playground-test, :kaocha.testable/meta nil, :kaocha.ns/ns #namespace[practicalli.playground-test], :kaocha.test-plan/tests ({:kaocha.var/test #function[practicalli.playground-test/fn--12327], :kaocha.plugin.randomize/sort-key -968086307, :kaocha.testable/meta {:test #function[practicalli.playground-test/fn--12327], :line 18, :column 1, :file "/home/practicalli/temp/playground/test/practicalli/playground_test.clj", :name application-test, :ns #namespace[practicalli.playground-test]}, :kaocha.testable/type :kaocha.type/var, :kaocha.var/name practicalli.playground-test/application-test, :kaocha.var/var #'practicalli.playground-test/application-test, :kaocha.testable/desc "application-test", :kaocha.testable/wrap [], :kaocha.testable/id :practicalli.playground-test/application-test}), :kaocha.plugin.randomize/sort-key -234649255}), :kaocha.plugin.randomize/sort-key -1166741914, :kaocha/test-paths ["test"], :kaocha/ns-patterns ["-test$"], :kaocha.filter/skip-meta [:kaocha/skip], :kaocha.testable/type :kaocha.type/clojure.test, :kaocha/source-paths ["src"], :kaocha.testable/desc "unit (clojure.test)", :kaocha.testable/id :unit}), :kaocha/fail-fast? false, :kaocha.filter/focus-meta #{}, :kaocha/color? false, :kaocha.plugin.randomize/seed 176626048, :kaocha.plugin.randomize/randomize? true, :kaocha/plugins [:kaocha.plugin/randomize :kaocha.plugin/filter :kaocha.plugin/capture-output], :kaocha.plugin.capture-output/capture-output? true, :kaocha/reporter #function[kaocha.api/resolve-reporter/fn--15146]}, :test 1}
#:kaocha.result{:count 1, :pass 0, :error 0, :fail 0, :pending 0}
Portal 0.59.1 - Stack Overflow Error in portal.nrepl
; --------------------------------------------------------------------------------
; localhost:35591 (connecting): /home/practicalli/temp/playground/.nrepl-port
; --------------------------------------------------------------------------------
; Session: Vizsla (Clojure)
; --------------------------------------------------------------------------------
; localhost:35591 (connected): /home/practicalli/temp/playground/.nrepl-port
; --------------------------------------------------------------------------------
; eval (buf): /home/practicalli/temp/playground/test/practicalli/playground_test.clj
nil
#'practicalli.playground-test/application-test
; --------------------------------------------------------------------------------
; run-all-tests
; (err) Execution error (StackOverflowError) at portal.nrepl/eval7960$fn (nrepl.clj:126).
; (err) null

NOTE: the same error occurs in every Portal version onward.


Thank you.

🌐 Practical.li Website

Practical.li GitHub Org practicalli-johnny profile

@practicalli@clj.social @practical_li

topic: summary