Why I Unit Test My Sass: Functions 🧪

This page summarizes the projects mentioned and recommended in the original post on dev.to

InfluxDB - Power Real-Time Data Analytics at Scale
Get real-time insights from all types of time series data with InfluxDB. Ingest, query, and analyze billions of data points in real-time with unbounded cardinality.
www.influxdata.com
featured
SaaSHub - Software Alternatives and Reviews
SaaSHub helps you find the best software and product alternatives
www.saashub.com
featured
  • true

    Sass unit tests

  • The tutorial below walks you through setting up unit testing for a random Sass project. If you have another project you would like to add this to, then it may require some modification to the steps to fit your needs. We will be using Dart Sass as our transpiler of choice and the Sass True framework backed by Jest to write and perform our tests.

  • Cirrus

    :cloud: The SCSS framework for the modern web.

  • I previously thought Sass unit testing would never be a thing and why would it be a thing that developers would try to figure out. Today, I cannot think of developing Cirrus or any large projects with hundreds of styles without unit testing.

  • InfluxDB

    Power Real-Time Data Analytics at Scale. Get real-time insights from all types of time series data with InfluxDB. Ingest, query, and analyze billions of data points in real-time with unbounded cardinality.

    InfluxDB logo
  • jest

    Delightful JavaScript Testing.

  • Today, there exists a nifty little testing framework called True that allows you to quickly write Sass unit tests without too much pain. It features a syntax that makes most front-end developers feel at home. If you have ever written unit tests using Jest, then using True won’t actually be that much different.

  • dart-sass

    The reference implementation of Sass, written in Dart.

  • The tutorial below walks you through setting up unit testing for a random Sass project. If you have another project you would like to add this to, then it may require some modification to the steps to fit your needs. We will be using Dart Sass as our transpiler of choice and the Sass True framework backed by Jest to write and perform our tests.

NOTE: The number of mentions on this list indicates mentions on common posts plus user suggested alternatives. Hence, a higher number means a more popular project.

Suggest a related project

Related posts

  • Skills required to be a full stack developer: a checklist

    5 projects | dev.to | 16 Aug 2021
  • 🔥 Big frontend update: the Gowebly CLI now supports Bootstrap and Bulma

    3 projects | dev.to | 19 Dec 2023
  • Why does everyone love tailwind

    3 projects | /r/webdev | 10 Dec 2023
  • 🚀🚀Beginner CSS ZERO to HERO

    4 projects | dev.to | 27 Oct 2023
  • Roadmap to being a Full Stack Web Developer

    3 projects | dev.to | 11 Aug 2023