PHPUnit 9.5.1 by Sebastian Bergmann and contributors.

Usage:
phpunit [options] UnitTest.php
phpunit [options]

Code Coverage Options:
–coverage-clover Generate code coverage report in Clover XML format
–coverage-cobertura Generate code coverage report in Cobertura XML format
–coverage-crap4j Generate code coverage report in Crap4J XML format
–coverage-html

Generate code coverage report in HTML format
–coverage-php Export PHP_CodeCoverage object to file
–coverage-text Generate code coverage report in text format [default: standard output]
–coverage-xml Generate code coverage report in PHPUnit XML format
–coverage-cache Cache static analysis results
–warm-coverage-cache Warm static analysis cache
–coverage-filter Include in code coverage analysis
–path-coverage Perform path coverage analysis
–disable-coverage-ignore Disable annotations for ignoring code coverage
–no-coverage Ignore code coverage configuration

Logging Options:
–log-junit Log test execution in JUnit XML format to file
–log-teamcity Log test execution in TeamCity format to file
–testdox-html Write agile documentation in HTML format to file
–testdox-text Write agile documentation in Text format to file
–testdox-xml Write agile documentation in XML format to file
–reverse-list Print defects in reverse order
–no-logging Ignore logging configuration

Test Selection Options:
–list-suites List available test suites
–testsuite Filter which testsuite to run
–list-groups List available test groups
–group Only runs tests from the specified group(s)
–exclude-group Exclude tests from the specified group(s)
–covers Only runs tests annotated with "@covers "
–uses Only runs tests annotated with "@uses "
–list-tests List available tests
–list-tests-xml List available tests in XML format
–filter Filter which tests to run
–test-suffix Only search for test in files with specified suffix(es). Default: Test.php,.phpt

Test Execution Options:
–dont-report-useless-tests Do not report tests that do not test anything
–strict-coverage Be strict about @covers annotation usage
–strict-global-state Be strict about changes to global state
–disallow-test-output Be strict about output during tests
–disallow-resource-usage Be strict about resource usage during small tests
–enforce-time-limit Enforce time limit based on test size
–default-time-limit Timeout in seconds for tests without @small, @medium or @large
–disallow-todo-tests Disallow @todo-annotated tests

–process-isolation Run each test in a separate PHP process
–globals-backup Backup and restore $GLOBALS for each test
–static-backup Backup and restore static attributes for each test

–colors Use colors in output (“never”, “auto” or “always”)
–columns Number of columns to use for progress output
–columns max Use maximum number of columns for progress output
–stderr Write to STDERR instead of STDOUT
–stop-on-defect Stop execution upon first not-passed test
–stop-on-error Stop execution upon first error
–stop-on-failure Stop execution upon first error or failure
–stop-on-warning Stop execution upon first warning
–stop-on-risky Stop execution upon first risky test
–stop-on-skipped Stop execution upon first skipped test
–stop-on-incomplete Stop execution upon first incomplete test
–fail-on-incomplete Treat incomplete tests as failures
–fail-on-risky Treat risky tests as failures
–fail-on-skipped Treat skipped tests as failures
–fail-on-warning Treat tests with warnings as failures
-v|–verbose Output more verbose information
–debug Display debugging information

–repeat Runs the test(s) repeatedly
–teamcity Report test execution progress in TeamCity format
–testdox Report test execution progress in TestDox format
–testdox-group Only include tests from the specified group(s)
–testdox-exclude-group Exclude tests from the specified group(s)
–no-interaction Disable TestDox progress animation
–printer TestListener implementation to use

–order-by Run tests in order: default|defects|duration|no-depends|random|reverse|size
–random-order-seed Use a specific random seed for random order
–cache-result Write test results to cache file
–do-not-cache-result Do not write test results to cache file

Configuration Options:
–prepend A PHP script that is included as early as possible
–bootstrap A PHP script that is included before the tests run
-c|–configuration Read configuration from XML file
–no-configuration Ignore default configuration file (phpunit.xml)
–extensions A comma separated list of PHPUnit extensions to load
–no-extensions Do not load PHPUnit extensions
–include-path <path(s)> Prepend PHP’s include_path with given path(s)
-d <key[=value]> Sets a php.ini value
–cache-result-file Specify result cache path and filename
–generate-configuration Generate configuration file with suggested settings
–migrate-configuration Migrate configuration file to current format

Miscellaneous Options:
-h|–help Prints this usage information
–version Prints the version and exits
–atleast-version Checks that version is greater than min and exits
–check-version Check whether PHPUnit is the latest version

laravel8.5的PHPUnit命令行解释(有时间翻译)相关推荐

  1. windows下命令行修改系统时间;修改系统时间的软件

    找了很久,都没有找到,还找了关键词 dos下修改系统时间 因为看到linux下修改系统时间是用hwclock 命令写入主板芯片. 而我由于某些原因想自动化修改系统时间,所以找windows下修改系统时 ...

  2. unik的命令行-解释说明

    学习网址:https://github.com/cf-unik/unik/blob/master/docs/cli.md 命令行界面 UniK cli将调用UniK的REST API,使UniK变得简 ...

  3. java调用命令行校对系统时间

    电脑时间长了发现系统时间不准确,每次手动调整太麻烦,就自己写个程序校正一下 首先linux下设置时间 date -s "2023-01-29 11:12:13",普通执行没问题,放 ...

  4. Windows命令行提取日期时间

    参考: http://elicecn.blog.163.com/blog/static/174017473200931910320556/ SET str="%date:~0,4%%date ...

  5. Ubuntu 桌面美化: 1.命令行terminal显示时间用户conda环境2.桌面自动更换轮换壁纸Bing Wallpaper

    0. 太长不看版 0.实现功能:终端窗口调节前缀显示时间/用户/conda环境. Ubuntu桌面每隔一段时间(300s)自动随机切换已有壁纸库内的壁纸.壁纸库每天自动更新. 1.可以自行搜索 zsh ...

  6. Linux 终端命令行提示符的艺术--PS1进阶

    话不多说,先瞅瞅我的命令行提示符(有点大): 图中命令行解释: ┌[阳历日期/农历日期 时间] ├[当前目录下目录数+当前目录下文件数][当前绝对目录] └[用户名@主机名-第几个终端 ╰_╯] 相关 ...

  7. python 基础命令-Python 命令行(CLI)基础库

    在 CLI 下写 UI 应用 前阵子看了一下自己去年写的 Python-视频转字符动画,感觉好糗..所以几乎把整篇文章重写了一遍.并使用 curses 库实现字符动画的播放. 但是感觉,curses ...

  8. Docker命令行探秘

    1. Docker命令行 Docker官方为了让用户快速了解Docker,提供了一个交互式教程,旨在帮助用户掌握Docker命令行的使用方法.但是由于Docker技术的快速发展,此交互式教程已经无法满 ...

  9. 深入浅出Docker(二):Docker命令行探秘

    本文原创版权归 infoq 肖德时 所有,此处为技术收藏,如有再转,请于篇头保留原创作者及出处,以示尊重! 作者: 肖德时 原文: http://www.infoq.com/cn/articles/d ...

最新文章

  1. 21个必须知道的机器学习开源工具!
  2. win10 下用 vs code 编译调试代码的过程 (MinGW)
  3. Nginx负载均衡实现之四层与七层负载
  4. zoj 3511 Cake Robbery(线段树)
  5. leetcode剑指 Offer 53 - II. 0~n-1中缺失的数字(二分查找)
  6. spring学习(34):构造函数依赖注入
  7. log4net日志文件的应用
  8. Google 也要“勒紧腰带”过日子了!
  9. python 数学计算库_数学计算工具库-Numpy
  10. Linux脚本(shell)详解
  11. mac安装win7之后鼠标失灵_苹果电脑装win7后键盘鼠标没有反应未响应的解决方法...
  12. 淘宝自动发货源码,网店自动值守发货系统 不限制域名 支持客户自助提货及自动评价...
  13. 你的GitHub代码已打包运往北极,传给1000年后人类!网友:我的Bug还没修复...
  14. 视觉欺骗:你绝不会相信A和B颜色相同!
  15. 微软云游戏服务器,微软:云游戏服务Project xCloud将扩展游戏服务的数量和地区...
  16. 大数据开发之在idea中开发第一个hadoop程序
  17. iVMS-4200 Vs区别_76840红单足球预测 法甲 21:00 安格斯 VS 梅斯
  18. vue3—reactive如何更改属性
  19. mycat启动报错:but failed to start(个例)
  20. docker的容器下使用apt-get update卡在[0%] Working问题解决办法

热门文章

  1. SCOM 工作概念介绍 [SCOM中文系列之四]
  2. 优秀的 Verilog/FPGA开源项目介绍(三十六)-RISC-V(新增一)
  3. js实现手机号码与登录密码,身份证验证
  4. 2022数学建模美赛E题详细思路获取
  5. 大数据入门到精通学习宝典
  6. 扑克牌洗牌算法-random_shuffle
  7. 蒙特卡洛算法模拟随机数代码
  8. 信鸽推送集成与踩过的坑
  9. ubuntu安装hhsuite/hhblits全过程!
  10. 计算机系统备份教案,[定稿]计算机基础教案上下册V7.1(备份存档)