oru/harness262
Composer 安装命令:
composer require oru/harness262
包简介
PHP based ECMAScript test262 harness
README 文档
README
This library aims to test ecma262 implementations.
Usage
The supplied testing harness can be used to execute the Test262 described in ECMA TR/104.
Run the following command to execute the complete test suite. Using the jit is advised.
$ harness ./vendor/tc39/test262/test
Command-line options
--debug
Runs the testsuite in sequence and allows for step-debugging using xdebug or similar solutions.
Caching and test timeouts are disabled for this setting.
--no-cache, -n
Disables caching of test results.
--silent, -s
Runs the testsuite without output.
--verbose, -v
Runs the testsuite with extended output.
--concurrency <number of concurrent tests>, -c <number of concurrent tests>
Sets the desired number of concurrent test cases to be run. The set value is clamped between one and the number of available logical cores on the host machine.
This option has no effect if the --debug option is set.
--strict
Execute only tests that are implicitly strict.
--loose
Execute only tests that are implicitly non-strict.
--include <pattern>
Includes matching paths from the provided paths using the regular expression <pattern>.
--exclude <pattern>
Excludes matching paths from the provided paths using the regular expression <pattern>.
--stop-on-error
Stops the execution of the test suite after the first occurring error.
--stop-on-failure
Stops the execution of the test suite after the first occurring failure.
--stop-on-defect
Stops the execution of the test suite after the first occurring error or failure.
--only-strict, --no-strict, --module, --async and --raw
Providing one of these options will only execute test cases with the corresponding frontmatter flag. The onlyStrict and noStrict might be set implicitly (see Interpreting Test262 Tests - strict mode).
The options are mutually exclusive - providing two of those options will result in an empty test suite!
--timeout <seconds>
Changes the maximum execution time to <seconds>. The default value is 10 seconds.
This option has no effect if the --debug option is set.
Testing
$ phpunit $ infection $ psalm
oru/harness262 适用场景与选型建议
oru/harness262 是一款 基于 PHP 开发的 Composer 扩展包,目前已累计 55 次下载、GitHub Stars 达 0, 最近一次更新时间为 2023 年 10 月 09 日, 在 PHP 生态内属于活跃度较高的组件。
我们在过去多个企业项目中使用过 oru/harness262 或与其功能相近的方案,如果你在选型或落地过程中遇到问题,例如 版本兼容、二次改造、私有化封装、与内部系统对接、生产 BUG 排查,欢迎联系我们协助评估。
基于 oru/harness262 在你已有业务上做功能扩展、字段裁剪、UI 适配、与内部账号 / 权限 / 日志系统的深度对接。
线上偶发问题、内存泄漏、慢查询、并发异常等排查修复;针对高流量场景做缓存、队列、索引层面的调优。
承接完整的项目从需求 → 设计 → 开发 → 上线 → 长期运维;也可按月提供技术保姆服务。
统计信息
- 总下载量: 55
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 1
- 点击次数: 9
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: BSD-3-Clause
- 更新时间: 2023-10-09