Coder Social home page Coder Social logo

Comments (13)

kriscarilloxyz avatar kriscarilloxyz commented on June 5, 2024 1

Mine

from belter.

mstuart avatar mstuart commented on June 5, 2024 1

All yours, @kriscarilloxyz !

from belter.

mnicpt avatar mnicpt commented on June 5, 2024 1

@Cijin Absolutely! Thanks, @Cijin !

from belter.

mstuart avatar mstuart commented on June 5, 2024

Hi @kriscarilloxyz! Still want to take this? Just checking in, so that we can give others a chance if you're busy. Thanks!

from belter.

kriscarilloxyz avatar kriscarilloxyz commented on June 5, 2024

@mstuart Sorry, if anyone wanna step in feel free to do so, I'll be back on Monday if it's still open. Happy hacktoberfest everyone 🥳

from belter.

mstuart avatar mstuart commented on June 5, 2024

@pushpinder107 took this up w/ #12 ! Thanks @pushpinder107 !

from belter.

mstuart avatar mstuart commented on June 5, 2024

Will keep this issue open in case anyone wants to add other unit tests!

from belter.

Cijin avatar Cijin commented on June 5, 2024

Hi, @mstuart. Can I write tests for src/dom.js to bring coverage upto 100%. If it hasn't been taken up already.

from belter.

SlyBouhafs avatar SlyBouhafs commented on June 5, 2024

Hi @mstuart, i made a PR #24 to bring src/css.js test coverage to 100%.

from belter.

mstuart avatar mstuart commented on June 5, 2024

Thanks @SlyBouhafs ! :D

from belter.

songz avatar songz commented on June 5, 2024

There are a LOT of useful utilities in belter, however there aren't any unit tests in this repo! 😬 If anyone's interested in picking this up, can you write unit tests for at least two files in src/?

@mstuart are these unit tests? Since they run end to end on Karma browser, they seem more like functional tests right?

from belter.

bluepnume avatar bluepnume commented on June 5, 2024

I think they’re unit tests in the sense that they test individual functions in isolation — given that’s what belter exports.

But they’re not classical unit tests in two senses:

a) some of these utility functions do a decent amount of orchestration and composition. So we’re testing multiple things at once rather than a small “unit” of logic. This is more true in other repos than belter though.

b) In these repos we try to only ever test the public interface, never the implementation (as much as possible). Typical unit tests often run against functions that are not part of the public interface, and also focus too much on implementation specifics. But I think that can lead to seriously brittle tests

from belter.

mstuart avatar mstuart commented on June 5, 2024

Looks like sufficient unit tests were added last year, so marking this as closed.

from belter.

Related Issues (11)

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.