Git Product home page Git Product logo

Comments (9)

pjstadig avatar pjstadig commented on July 29, 2024

@bonega can you take a look at this?

from clojure-mode.

bonega avatar bonega commented on July 29, 2024

Doing some work related travelling atm, but should be able to give it a look by the end of the week

from clojure-mode.

babysnakes avatar babysnakes commented on July 29, 2024

Just an FYI, the commit which made the opposite change is 2be006f.

from clojure-mode.

bonega avatar bonega commented on July 29, 2024

Fixed in this pull-request: #104

Is there any way to attach a pull-request to an existing issue?

from clojure-mode.

babysnakes avatar babysnakes commented on July 29, 2024

Thanks for the fix.

from clojure-mode.

babysnakes avatar babysnakes commented on July 29, 2024

Oops, sorry @bonega, this still has error 😒.

I don't know elisp and I couldn't figure out how to run some of the functions (like the code inside clojure-jump-to-test) so I can't provide code or tests, but here is the problem:

I have a namespace hours.views.common. When I try to switch to test mode it tried to create PROJECT/test/hours/test/views/test/common.clj (instead of PROJECT/test/hours/views/test/common.clj?). The code in clojure-test-mode works as (I think) it supposed to, from PROJECT/test/hours/views/test/common.clj to PROJECT/src/hours/views/common.clj.

Thanks

from clojure-mode.

bonega avatar bonega commented on July 29, 2024

Does this commit solve it for you?
bonega@22d213b

from clojure-mode.

babysnakes avatar babysnakes commented on July 29, 2024

This commit fixes the symmetry problem between clojure-mode and clojure-test-mode 😄.

I'm a little confused though, Is there a convention regarding test file naming? In the few months I've been playing with clojure the test name convention (for namespaces with more then one nested element) changed from one.two.test.three to one.two.three-test, and now one.test.two.three. I actually don'e care which of the above I use, but I was wondering is there a convention.

from clojure-mode.

bonega avatar bonega commented on July 29, 2024

Great, I have submitted a pullrequest.

As for the convention, I would guess that's whatever lein test uses.
@technomancy
Could you comment on this issue?

from clojure-mode.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.