Giter Club home page Giter Club logo

Comments (11)

rhyneav avatar rhyneav commented on May 18, 2024 1

Very neat article, I honestly had no idea there was testing for CSS (but it makes sense). Do you know what other CSS frameworks are using for tests? In addition to tape-css mentioned in the article, there's also quixote for unit testing. Have you used either one of these before?

There's also regression testing, here's a neat article on that.

Overall though, I agree that it would be handy in this project!

from papercss.

rhyneav avatar rhyneav commented on May 18, 2024 1

That sounds good, I'll work on getting quixote set up!

I'll also take a look at permissions for the testing project. It'd be pretty silly if I was the only one that could add/edit those!

from papercss.

rhyneav avatar rhyneav commented on May 18, 2024 1

@Fraham no update, sorry. I've let the ball drop on this one. @brodybits I'll update it to a help wanted issue.

from papercss.

Fraham avatar Fraham commented on May 18, 2024

I only have experience of unit and regression testing in C# so i havn't used either of these testing frameworks.

I like the look of quixote, seems to do everything that i would expect it to do.

Made setup a Github project so contributors could pick up tasks of adding unit and regression tests for each component

from papercss.

rhyneav avatar rhyneav commented on May 18, 2024

I like quixote as well, looks very intuitive.

A Github project is a good idea. I'll set that up once we have the testing framework put in place. That way there's no friction to adding in more test coverage.

from papercss.

Fraham avatar Fraham commented on May 18, 2024

@rhyneav could you start the testing framework process off so it is all setup and so that the tests run through the continuous integration

I have seen to have created a project for testing, I can't seem to make any new cards or change the status of the cards, might need to open up premissions

from papercss.

Fraham avatar Fraham commented on May 18, 2024

@rhyneav any update on the unit test setup?

from papercss.

brodybits avatar brodybits commented on May 18, 2024

Could this be considered a "help wanted" issue?

from papercss.

TotomInc avatar TotomInc commented on May 18, 2024

Is unit testing on CSS frameworks really useful? That's the real question, is it worth to spend a few hours or even days on this?

from papercss.

Fraham avatar Fraham commented on May 18, 2024

@TotomInc the sort of unit testing I am thinking about is when dealing with less functions and css inheritance.

So it would be nice to have unit tests set up before doing a refactoring as it will prove that the refactor hasn't broken anything.

Also for less functions, I think all logic should be tested to ensure the results are as expected and doesn't regress

from papercss.

rhyneav avatar rhyneav commented on May 18, 2024

Some basic tests for colors and flexbox styles might be good. I don't think it's a huge priority, but could be a nice addition as the framework gets larger. And especially if JavaScript gets added to it.

from papercss.

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.