GithubHelp home page GithubHelp logo

Comments (11)

trptcolin avatar trptcolin commented on May 14, 2024

Good call. I need to revisit the already-passing side of the test suite and see why it's not catching things like this. It should be.

from clojure-koans.

calebphillips avatar calebphillips commented on May 14, 2024

I was looking at this a couple of months back and if I read the code right, each meditation fails if any of the tests within it fail. So, ensure-failing-without-answers just tests that each koan has at least one failing test. I wanted to experiment with a testing macro that changed the meditations in some way (maybe negating each test result and updating the answer sheet to expect the negated meditations to pass) so that it could make sure every test failed, but I haven't made the time to play with it.

from clojure-koans.

trptcolin avatar trptcolin commented on May 14, 2024

Skim - thanks again for the report.

Caleb - thanks for the macro-replacement idea. That's done now. I verified the new hotness catches this issue. It's a bit messy for now, but does the trick just fine.

from clojure-koans.

dsouth avatar dsouth commented on May 14, 2024

Again, this is still happening in the zip download. Perhaps I should just fork and have fun? :)

from clojure-koans.

trptcolin avatar trptcolin commented on May 14, 2024

Thanks for the heads-up. I uploaded the latest code as a zip file: https://github.com/downloads/functional-koans/clojure-koans/clojure-koans-2011-09-22.zip. The previously latest version was from August 1 (before this fix).

I need to figure out a way to automate this - would love suggestions on how if you have any.

from clojure-koans.

dsouth avatar dsouth commented on May 14, 2024

As a lowly Java dev, the only automation I know for this is Ant. Would be happy to have a look into if you let me know the steps you require for creating and making the .zip available.

from clojure-koans.

trptcolin avatar trptcolin commented on May 14, 2024

Yeah, by "automate" I mean have this jar built & uploaded when I commit to the github repo. After sleeping on it overnight, it seems easy enough to build the shell script I use for this into the repo itself. Thanks again for the report.

from clojure-koans.

dsouth avatar dsouth commented on May 14, 2024

My after sleeping on it is, "Shouldn't Lein be able to do that?" :)

from clojure-koans.

trptcolin avatar trptcolin commented on May 14, 2024

Lein absolutely could do that. I'm thinking of a script/deploy_koans.sh that does:

git push origin master
zip # [bunch of options redacted]
echo "Hey Colin, don't be a dummy - upload the zipfile!"

...since github's uploader is based on flash and not so API-friendly. Kind of low-tech, but this'll fix the immediate issue. I'm sure something clever exists for this, will try to take a look this afternoon.

from clojure-koans.

dsouth avatar dsouth commented on May 14, 2024

A) I'm conscious of how off topic we are on this issue, but don't
think what we are discussing is worthy of its own issue?

B) I would almost never suggest this since the zip file is an artifact
of the repository, but maybe the simple answer is to version the zip
file, then it's a simple matter of pushing the changes???

from clojure-koans.

trptcolin avatar trptcolin commented on May 14, 2024

Right, I'd rather not add the zip file (or even the jars in the lib directory) to the repo. I think adding a release process is the right move - that's the way most projects run, after all :)

from clojure-koans.

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.