Comments (11)
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.
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.
@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.
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.
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.
@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.
@rhyneav any update on the unit test setup?
from papercss.
Could this be considered a "help wanted" issue?
from papercss.
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.
@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.
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)
- Dropdown in navbar
- Vertical menu
- Library for react native HOT 3
- Enable "font-display: swap " to avoid showing invisible text HOT 1
- horizontal form can't display in line because display:block HOT 5
- Display modal in front of nav HOT 1
- Slider with two colors like progress bar HOT 1
- Inputs and labels not shown inside collapsible HOT 2
- Long collapsible content not visible HOT 1
- Default background color for `<html>` element HOT 2
- Unchecked runtime.lastError: The message port closed before a response was received. HOT 2
- Stylelint Error HOT 3
- Show modal with JS HOT 1
- Breaking change in Sass: Color Units HOT 1
- Can you use Sass module system with PaperCSS? HOT 1
- Host font locally HOT 3
- unexpected line skip with <p> inside <li> HOT 6
- Popover triggered by transparent pseudo-element HOT 2
- Form elements broken inside Tabs
- Buttons with children or HTML element values
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from papercss.