GithubHelp home page GithubHelp logo

Improve test coverage about spots HOT 6 CLOSED

zenangst avatar zenangst commented on August 11, 2024
Improve test coverage

from spots.

Comments (6)

zenangst avatar zenangst commented on August 11, 2024

I'm gonna take a stab at this to see if we cannot get some more sane tests in the mix.

from spots.

onmyway133 avatar onmyway133 commented on August 11, 2024

@zenangst What you think is right

from spots.

zenangst avatar zenangst commented on August 11, 2024

I'm gonna try to create some "real-life" scenarios and test the individual components to see that they behave accordingly both with composite spots inside and with component configuration. I think that would be great for regression testing. I also think that layout calculations could be tested, if you give it a set of components of a specific size, depending of the components of course, they should all end up setting the same container size in the end.

I might be interesting to do some UI testing as well, if possible.

from spots.

zenangst avatar zenangst commented on August 11, 2024

I'll move on to try and test the UI related code, specifically SpotsScrollView. This might be a challenge, but challenges are fun! 😁

from spots.

zenangst avatar zenangst commented on August 11, 2024

69% percent coverage... we can do better 😁

from spots.

zenangst avatar zenangst commented on August 11, 2024

I think we can just use codecov to monitor this now.

from spots.

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.