Coder Social home page Coder Social logo

Comments (5)

searls avatar searls commented on July 24, 2024

I can see your point, but I don't view this as much of a big deal. Part of the point of generating a SpecRunner at all is so that it can be an isolated black box that people don't need to peak into.

I could buy a duplication argument, though, since right now two runners means two inline copies of the Jasmine dependencies. If you'd like to implement it and send a well-tested pull request, I'd likely accept it.

from jasmine-maven-plugin.

gimmi avatar gimmi commented on July 24, 2024

That's not a big deal, but this kind of "mixing" framework code and application or test code feel to me like taking the sources of JUnit and copy it in my project, rather than just adding junit.jar in the classpath... Maybe my mind is rotten by compiled languages :)

Anyway the first question i've asked myself the first time i opened SpecRunner has been: "is this just a dump of jasmine or it has been modified in some way to fit HtmlUnit/maven/whatever need?". With a reference to a file named jasmine-1.0.js I probably never ask myself that question.

If I have some time i will prepare you a pull req.

from jasmine-maven-plugin.

searls avatar searls commented on July 24, 2024

Ah, I can understand the concern more now. None of the Jasmine files are modified.

I actually started out versioning all of the JS & CSS dependencies in my own nexus and hosting them on a google code repo so that I could import them in the plugin's POM. That would have made getting into Maven Central more difficult so I ended up pulling them into the project repo itself, so what you're suggesting would probably be easier than it initially was, for what it's worth.

from jasmine-maven-plugin.

bertBruynooghe avatar bertBruynooghe commented on July 24, 2024

I would also like to request this feature, as that would help a lot in developing in IntelliJ IDE: that way it would be possible to jump directly from my test code to the jasmine source code without having it to put also in my source tree (and having possible version issues).

from jasmine-maven-plugin.

klieber avatar klieber commented on July 24, 2024

Starting with 2.0-alpha-01 jasmine is pulled in using webjars so this issue is no longer relevant.

from jasmine-maven-plugin.

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.