Giter Site home page Giter Site logo

Comments (14)

nicbell avatar nicbell commented on July 21, 2024

I like Mocha but is I use tend to used Kickoff as SASS framework only.

from kickoff.

munkychop avatar munkychop commented on July 21, 2024

IMO it seems like there isn't really anything to test, as the generated JS is pretty skeletal, so it seems a bit overkill to add a test framework.

from kickoff.

ashleynolan avatar ashleynolan commented on July 21, 2024

@munkychop it’s more so that when people add their own modules, they don’t have to set anything up testing-wise, as the grunt structure is already in place.

from kickoff.

munkychop avatar munkychop commented on July 21, 2024

@ashleynolan in that case Mocha would be my first choice, but I do agree with @nicbell that most people will be using Kickoff for the SASS side of things. I suppose adding a test framework is a nice way to stick to good practice, though, so may be worth adding in for that reason alone.

from kickoff.

ashleynolan avatar ashleynolan commented on July 21, 2024

Ok – I think for me it’s about encouraging devs – whatever level – to adhere to best-practice when using the tools that Kickoff provides.

Testing has become a defacto now for JavaScript, but I think the barrier to entry is having the time to set it up and then write the tests. If Kickoff can help with the setup side of things at least, hopefully it can help devs – much like the Browserify setup aims to help people get started with the setup side of that and just start writing CommonJS modules.

I have a base setup for Mocha already, so may look at doing that as a feature branch at first and then if we want to merge it in at some point, then the option will be there later.

from kickoff.

munkychop avatar munkychop commented on July 21, 2024

Sounds good, although the barrier to entry is already fairly high (for noobs) in terms of running the generator vs a simple clone. I do agree that people should be guided in the direction of best practice, so for me it's worth doing purely from that perspective, although I think said guidance may be lost on people who already use the generator.

from kickoff.

nicbell avatar nicbell commented on July 21, 2024

It really depends on what the purpose of Kickoff is. I mostly see it as a SASS framework, I tend to download Kickoff and delete a lot of stuff.

The rest of my workflow is dictated but the type of project I'm working on. Am I doing a separate front-end then integrating or am I coding straight into .net/php? Do I already have a local server? Is it angular? What testing frameworks do I need to hook into? Are there CI tasks?

from kickoff.

mrmartineau avatar mrmartineau commented on July 21, 2024

@nicbell you raise an interesting point. Should we make it easy for devs to just pull the scss part of the framework? This could simply be an additional question in the generator that only copies the scss folder.. what do you think?

from kickoff.

ashleynolan avatar ashleynolan commented on July 21, 2024

If people are only going to use the SCSS, surely they’d just have a fork of Kickoff and do a copy/paste job?

Open to what others think on this though if we think it would genuinely be of use to those using the generator.

from kickoff.

tommaton avatar tommaton commented on July 21, 2024

Me personally I've used Kickoff in multiple CMS's and frameworks (CQ5, AEM, Sitecore, Umbraco, ReactJS, AngualrJS, Assemble) of which some (even the CMS) have a js testing framework already built in and therefore wouldn't require a testing framework.

So to have the generator add a js test framework via a question would be my preference.

from kickoff.

mrmartineau avatar mrmartineau commented on July 21, 2024

Thanks @tommaton, this feature sounds like a generator question in my opinion..

from kickoff.

ashleynolan avatar ashleynolan commented on July 21, 2024

Cool – sounds like it should definitely only be a feature branch and then included in the generator then.

Thanks for all your opinions :)

from kickoff.

mrmartineau avatar mrmartineau commented on July 21, 2024

@ashleynolan do you want to take charge of this then?? 😉

from kickoff.

ashleynolan avatar ashleynolan commented on July 21, 2024

Yeh, thought that was implied ;)

I’ll assign to myself as a task to do at some point.

from kickoff.

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.