folio:可定制的测试框架以构建您自己的测试框架

时间:2021-03-09 10:51:43
【文件属性】:
文件名称:folio:可定制的测试框架以构建您自己的测试框架
文件大小:119KB
文件格式:ZIP
更新时间:2021-03-09 10:51:43
TypeScript 对开 可定制的测试框架,用于构建您自己的测试框架。 基金会。 文件 治具 基本概念 Folio基于测试夹具的概念。 测试夹具用于为每个测试建立环境,为测试提供所需的一切,而没有其他任何东西。 这是传统BDD和基于夹具的测试环境之间典型测试环境设置的不同之处: 没有固定装置 describe ( 'database' , ( ) => { let database ; let table ; beforeAll ( async ( ) => { database = await connect ( ) ; } ) ; afterAll ( async ( ) => { await database . dispose ( ) ; } ) ; beforeEach ( async ( ) => { table = await databas
【文件预览】:
folio-master
----.github()
--------workflows()
----.eslintrc.js(3KB)
----src()
--------expect.ts(2KB)
--------debug.ts(1002B)
--------builtinFixtures.ts(1KB)
--------config.ts(1KB)
--------reporters()
--------types.ts(6KB)
--------util.ts(3KB)
--------worker.ts(4KB)
--------fixtureLoader.ts(3KB)
--------fixtures.ts(10KB)
--------golden.ts(6KB)
--------index.ts(975B)
--------runner.ts(4KB)
--------reporter.ts(1KB)
--------testGenerator.ts(3KB)
--------testModifier.ts(2KB)
--------expectType.ts(5KB)
--------test.ts(7KB)
--------cli.ts(8KB)
--------transform.ts(3KB)
--------spec.ts(4KB)
--------dispatcher.ts(12KB)
--------workerRunner.ts(11KB)
--------ipc.ts(1KB)
----.npmignore(201B)
----tsconfig.json(428B)
----LICENSE(11KB)
----test()
--------stdio.spec.ts(2KB)
--------fixture-errors.spec.ts(8KB)
--------repeat-each.spec.ts(1KB)
--------base-reporter.spec.ts(1KB)
--------gitignore.spec.ts(2KB)
--------fixtures.ts(5KB)
--------line-reporter.spec.ts(2KB)
--------access-data.spec.ts(2KB)
--------fixtures.spec.ts(9KB)
--------basic.spec.ts(5KB)
--------override-timeout.spec.ts(2KB)
--------test-info-fixture.spec.ts(2KB)
--------match-grep.spec.ts(2KB)
--------timeout.spec.ts(1KB)
--------test-spec.spec.ts(960B)
--------output-path.spec.ts(2KB)
--------assets()
--------golden.spec.ts(7KB)
--------options.spec.ts(1KB)
--------test-output-dir-fixture.spec.ts(2KB)
--------test-ignore.spec.ts(3KB)
--------hooks.spec.ts(6KB)
--------variations.spec.ts(4KB)
--------max-failures.spec.ts(2KB)
--------types.spec.ts(2KB)
--------retry.spec.ts(4KB)
--------json-reporter.spec.ts(1KB)
--------list-mode.spec.ts(4KB)
--------config.spec.ts(1015B)
--------worker-index.spec.ts(2KB)
--------junit-reporter.spec.ts(4KB)
--------exit-code.spec.ts(4KB)
--------dot-reporter.spec.ts(2KB)
----README.md(15KB)
----SECURITY.md(3KB)
----copyright.js(623B)
----dogfood()
--------package.json(68B)
----CODE_OF_CONDUCT.md(444B)
----.gitignore(79B)
----third_party()
--------diff_match_patch.js(76KB)
----cli.js(666B)
----.eslintignore(44B)
----package.json(2KB)

网友评论