Ava声音引擎
即将添加更完整的文档。
您可以在回购的“看到实现看板。
Build Ava(+演示程序)
要与演示程序一起构建引擎,您只需要使用以下命令在根目录中创建项目:
make
然后,您可以使用以下命令运行演示程序:
# for the simple demo
./demo_simple/AvaSimpleDemo
# for the structured demo
./demo_structured/AvaStructuredDemo
如果配置CMake脚本,则可能需要使用以下命
打字稿启动器
使用babel,tslint,ava和CircleCI的简化打字稿样板。
nvm use 10.15.1
npm install
# test
# run all tests
npm run test
# run a single test file
npm run ava ./path/to/test-file.js
要运行一个测试用例,请按照 说明进行操作。
剧本
npm run build :从src到dist编译源代码
npm publish :将代码发布到npm
n
打字稿React库启动器
使用React,babel,tslint,ava和CircleCI的简化打字稿lib样板。
nvm use 10.15.1
npm install
# test
# run all tests
npm run test
# run a single test file
npm run ava ./path/to/test-file.js
要运行一个测试用例,请按照 说明进行操作。
剧本
npm run build :从src到dist编译源代码
npm publis
ava-fixture-docker-db
获取附加到您的ava测试上下文的新docker数据库容器
用法
import ava , { TestInterface } from 'ava'
import { db , DbContext } from 'ava-fixture-docker-db'
const test = ava as TestInterface
test . beforeEach ( t => db . setup ( t . context ) ) // set