Comments (6)
Hey @aldosolorzano,
good catch. The :extra-path
for :test
-alias is not included. I believe because kaocha has this as a default value and it should not be needed when using kaocha as test-runner. It surely is not hurting adding the :extra-path
to the :test
-alias.
Kaocha-doc: https://github.com/lambdaisland/kaocha/blob/main/doc/03_configuration.md
from bob.
Yeah but I think the use case mentioned here is to have the test path in the usual repl mode as well which wouldn't use the :test
alias. Maybe simply documenting that people should start their repls with an extra -Sdeps mentioning the test paths suffices than adding anything to the deps.edn?
Otherwise we need to have another alias :dev
which would duplicate the deps just for adding the extra path?
from bob.
I am starting my repl with clj -M:test:repl
and it works somehow.
from bob.
start their repls with an extra -Sdeps mentioning the test paths suffices than adding anything to the deps.edn
How would you do that? @lispyclouds I tried what @TimoKramer did and it's not working for me, I'm doing it inside the runner
I work with emacs+cider using nrepl
so what it's wokring for me it's
:repl {:extra-paths ["test"]
:extra-deps {nrepl/nrepl {:mvn/version "0.8.3"}
cider/cider-nrepl {:mvn/version "0.30.0"}
org.clojure/test.check {:mvn/version "1.1.1"}
com.github.seancorfield/next.jdbc {:mvn/version "1.3.862"}}
:main-opts ["-m" "nrepl.cmdline"
"--middleware" "[cider.nrepl/cider-middleware]"]}
But we have the duplicated extra-deps.
question: how do I know in which port a repl is running?
from bob.
@aldosolorzano Added a new task repl
to all the bb.edn
s in the services in 0429b32
It should start an nREPL in a port with all the right paths and deps. Try that out, lemme know if that's any improvement!
from bob.
This seems to be addressed, do reopen otherwise!
from bob.
Related Issues (20)
- Figure out necessary java modules HOT 3
- Add end to end tests
- Add metrics for the runner for picking up jobs
- Enable stopping jobs during container provisioning HOT 2
- Add status when pipeline cannot be paused HOT 1
- Cascade delete resources of a pipeline when a pipeline is deleted
- Make each type of runner listen to its own queue HOT 2
- Record the timestamp of pipeline status changes HOT 19
- Add get started guide for contributors HOT 7
- Add cluster info and stats API HOT 5
- non-container runner HOT 12
- Add webhook for bob to notice new/changed resources HOT 4
- Test Bob with Bob
- Add support for webhooks HOT 1
- Rename Bob HOT 2
- Allow deploy time config HOT 1
- Event streaming from api-server HOT 14
- Naming of identifier of a run is confusing HOT 3
- Allow testing specific ns HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from bob.