TestyTs:现代化 TypeScript 测试框架

为何选择 TestyTs?

TestyTs 是一款现代化的 TypeScript 测试框架,致力于充分利用 TypeScript 的强大功能。其提供令人愉悦的测试编写体验,利用装饰器和面向对象编程等特性。

安装

$ npm install --save-dev testyts
$ npm install -g testyts

初始化

要生成基本的 testy.json 配置文件,请运行:

$ testyts init

有关所有可用配置,请参阅相应文档。

编写测试

使用 TestyTs 编写测试非常简单,但请务必导出测试套件,否则测试运行器将无法发现它们。

@TestS

folder
TestyTs::check_mark:现代TypeScript测试框架 预估大小:149个文件
file
.gitignore 974B
file
package-lock.json 56KB
file
.expected_stdout 39B
file
package-lock.json 56KB
file
.expected_stdout 226B
file
package-lock.json 56KB
file
.expected_stdout 58B
file
package-lock.json 56KB
file
.expected_stdout 39B
file
log.js 222B
file
package-lock.json 56KB
file
.expected_stdout 39B
file
package-lock.json 56KB
file
.expected_stdout 39B
file
utils.js 871B
file
runner.js 3KB
file
package-lock.json 56KB
file
.expected_stdout 112B
file
expect.js 999B
file
package-lock.json 64KB
zip 文件大小:907.68KB