# san-test-utils **Repository Path**: mirrors_ecomfe/san-test-utils ## Basic Information - **Project Name**: san-test-utils - **Description**: San Test Utils 是 San.js 官方的单元测试实用工具库 - **Primary Language**: Unknown - **License**: Not specified - **Default Branch**: master - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 0 - **Forks**: 0 - **Created**: 2020-08-08 - **Last Updated**: 2026-01-24 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README # san-test-utils ## 介绍 San Test Utils 是为 [San.js](https://baidu.github.io/san/) 打造的测试库,它提供了为San组件进行单元测试的能力。该工具包参考了 [vue-test-utils](https://github.com/vuejs/vue-test-utils)。 ## 安装 ``` npm install san-test-utils ``` ## 测试 ``` npm test ``` ## 文档 [文档](https://ecomfe.github.io/san-test-utils/) ## 与各个测试框架配合使用的示例 - [Jest示例](https://github.com/ecomfe/san-test-utils/tree/master/docs/demo/jest) - [Mocha示例](https://github.com/ecomfe/san-test-utils/tree/master/docs/demo/mocha) - [Karma示例](https://github.com/ecomfe/san-test-utils/tree/master/docs/demo/karma)