How We Test Semi Design React Component

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

Our great sponsors
  • Sonar - Write Clean JavaScript Code. Always.
  • Zigi - Close all those tabs. Zigi will handle your updates.
  • Scout APM - Truly a developer’s best friend
  • InfluxDB - Build time-series-based applications quickly and at scale.
  • semi-design

    🚀A modern, comprehensive, flexible design system and React UI library. 🎨 Provide more than 2,300+ Design Tokens and powerful DSM tools, easy to build your own design system. Make Semi Design to Any Design

    // Semi Github Repository Directory ├── semi-animation # js animation ├── semi-animation-react # react animation ├── semi-animation-styled # style animation ├── 👉🏻 semi-foundation # foundation │ ├── button │ ├── ... ├── semi-icons # icon ├── semi-illustrations # illustrations ├── semi-theme-default # theme ├── 👉🏻 semi-ui # react adapter │ ├── button │ ├── ... ├── ... # Packaging related // https://github.com/DouyinFE/semi-design/tree/main/packages

  • jsdom

    A JavaScript implementation of various web standards, for use with Node.js

    We can use getComputedStyle to get CSS properties, #135

  • Sonar

    Write Clean JavaScript Code. Always.. Sonar helps you commit clean code every time. With over 300 unique rules to find JavaScript bugs, code smells & vulnerabilities, Sonar finds the issues while you focus on the work.

  • storybook

    Storybook is a frontend workshop for building UI components and pages in isolation. Made for UI development, testing, and documentation.

    In Semi's component development process, we will first start a Storybook project, develop component based on Storybook, and write use cases corresponding to our component API through stories. With these use cases we can browse component styles and test component interactions For example, in the image below, we create a story for the primary type of the Button component, and manually check whether the background color and font color are correct.

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