承接 oru/harness262 相关项目开发

从需求分析到上线部署,全程专人跟进,保证项目质量与交付效率

邮箱:yvsm@zunyunkeji.com | QQ:316430983 | 微信:yvsm316

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 

统计信息

  • 总下载量: 55
  • 月度下载量: 0
  • 日度下载量: 0
  • 收藏数: 1
  • 点击次数: 7
  • 依赖项目数: 0
  • 推荐数: 0

GitHub 信息

  • Stars: 0
  • Watchers: 1
  • Forks: 0
  • 开发语言: PHP

其他信息

  • 授权协议: BSD-3-Clause
  • 更新时间: 2023-10-09

承接程序开发

PHP开发

VUE

Vue开发

前端开发

小程序开发

公众号开发

系统定制

数据库设计

云部署

网站建设

安全加固