Giter VIP home page Giter VIP logo

Comments (17)

bevacqua avatar bevacqua commented on July 16, 2024

You're welcome to do the time, as long as you use tape, sinon, and proxyquire. I'm blazing through other stuff at the moment

from dragula.

joesephforDianite avatar joesephforDianite commented on July 16, 2024

hmmm mabey I can help to but on my free time. I'm trying to learn in coding different sites

from dragula.

gh0stonio avatar gh0stonio commented on July 16, 2024

Is anyone on this? Maybe i can help too

from dragula.

bevacqua avatar bevacqua commented on July 16, 2024

Nope. Give it a shot!

from dragula.

gh0stonio avatar gh0stonio commented on July 16, 2024

Ok i will try to help you.
I just need to look how to use tape, i never use it and don't know how it's work.

from dragula.

bevacqua avatar bevacqua commented on July 16, 2024

Example: https://github.com/taunus/taunus/blob/master/test/browser/componentCache.js

from dragula.

knownasilya avatar knownasilya commented on July 16, 2024

Nice example.

from dragula.

gh0stonio avatar gh0stonio commented on July 16, 2024

Thanks, i will have a look at it

from dragula.

sonicoder86 avatar sonicoder86 commented on July 16, 2024

some higher level tests, for example with protractor?

from dragula.

bevacqua avatar bevacqua commented on July 16, 2024

I'd rather just have tests using tape that doesn't need any confusing setup

from dragula.

sonicoder86 avatar sonicoder86 commented on July 16, 2024

You mean a simple protractor config and a static webserver would be confusing?
E2E could sit on top of unit tests ensuring that the component is usable in a real word scenario not just in a unit test. For example an element drag is easily reproducable with Protractor.

from dragula.

bevacqua avatar bevacqua commented on July 16, 2024

You can also use testling which is just a unixy CLI tool

from dragula.

naugtur avatar naugtur commented on July 16, 2024

testling seems abandoned, I saw multiple repos switching to zuul+saucelabs and I made that switch in one repo - easy (unless browsers start timing out ;) )

from dragula.

bevacqua avatar bevacqua commented on July 16, 2024

Agreed, zuul would be great. Anyone willing to take this on?

from dragula.

bevacqua avatar bevacqua commented on July 16, 2024

I'm giving this a shot with testron and hihat, the project has become popular enough that it sort of must have tests

from dragula.

knownasilya avatar knownasilya commented on July 16, 2024

Yay! 👍

from dragula.

bevacqua avatar bevacqua commented on July 16, 2024

Okay, dragula got a bunch of tests. There's a ton of corner cases missing, but it's definitely way better than where it was before. Also, I need to set up CI with travis or circle at some point. For now it's just running locally on development environments.

from dragula.

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.