Coder Social home page Coder Social logo

Comments (8)

hmans avatar hmans commented on July 20, 2024

There will be tests. This library is a few days old. :)

Testing this is going to be interesting, and I will need to read up on the current state of the art of integration testing with WebGL. Please keep kicking my butt about this!

from three-elements.

hmans avatar hmans commented on July 20, 2024

Thanks for pointing me towards @web/test-runner and @open-wc/testing. I've started adding tests to the library. What's there is still relatively simple, but it'll grow over time.

from three-elements.

daKmoR avatar daKmoR commented on July 20, 2024

sweet - having the setup up and running is already a big step 👍

from three-elements.

CodyJasonBennett avatar CodyJasonBennett commented on July 20, 2024

I'm curious if there's a way to test interactions in WebGL and WebXR here.

from three-elements.

hmans avatar hmans commented on July 20, 2024

I'm curious if there's a way to test interactions in WebGL and WebXR here.

As far as I understand, testing that kind of stuff is really hard -- and mostly involves taking render snapshots and comparing them to catch regressions. It's definitely something I want to look deeper into.

from three-elements.

CodyJasonBennett avatar CodyJasonBennett commented on July 20, 2024

It's a longshot, but I think we can focus on elements' lifecycles and DOM events for now.

from three-elements.

hmans avatar hmans commented on July 20, 2024

Further work has been done here, especially in terms of moving things away from that big, almost-monolithic .html test, to smaller, case-specific .ts tests.

from three-elements.

hmans avatar hmans commented on July 20, 2024

We now have a pretty solid test harness and are continuously adding new tests for added or changed features. I'm closing this ticket. Thanks for kicking my butt about this!

from three-elements.

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.