承接 woocommerce/qit-cli 相关项目开发

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

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

woocommerce/qit-cli

Composer 安装命令:

composer require woocommerce/qit-cli

包简介

A command line interface for WooCommerce Quality Insights Toolkit (QIT).

README 文档

README

QIT CLI

QIT CLI Code tests

Managed Tests

QIT Self-Tests - Activation QIT Self-Tests - API QIT Self-Tests - E2E QIT Self-Tests - PHPStan QIT Self-Tests - Security QIT Self-Tests - PHPCompatibilityWP QIT Self-Tests - Malware QIT Self-Tests - Validation

Test Environment

QIT Environment Test - Linux

WooCommerce

Quality Insights Toolkit (QIT)

QIT is a testing platform for WordPress Plugins and Themes developed by WooCommerce, designed to simplify and streamline your testing process. We are currently in closed beta operating only in the Woo Marketplace.

Managed Tests

Run tests out-of-the box with zero configuration.

  • Woo E2E Test - Runs WooCommerce End-to-End tests alongside your extension.
  • Woo API Test - Runs WooCommerce API tests with your extension.
  • Activation Test - Activates your plugin and logs any PHP notice, warning, and error.
  • Security Test - Scan your plugin for adherence to best practices in writing secure code.
  • PHPStan Test - Run PHPStan checks to catch issues early.
  • PHP Compatibility Test - Run PHPCompatibility tests to detect issues with different PHP versions.
  • Malware Test - Scan your code with the Malware check.
  • Performance Tests (Work-in-progress)

Test Packages

Write your own E2E tests using frameworks such as Playwright, or leverage pre-built tests to effortlessly increase your test coverage.

Local Test Environment (Early Access)

Fast, disposable and configurable test environment designed to do one thing well: Run tests.

Our Alpine-based Docker images are perfect for CI systems, while also offering native ARM64 support for Apple Silicon and optimized Docker volumes for faster performance on Mac, Linux, and Windows WSL for local tests.

Read more about the Local Test Environment.

And much more:

  • Configurable Environment: Configurable PHP, WordPress, WooCommerce versions, and more.
  • In-Depth Analysis: Tracks all PHP notices, warnings, and errors during testing.
  • Development & Published Versions: Test with both development and published versions of your plugins.
  • GitHub Integration: Integrate QIT into your PR reviews with GitHub Actions.
  • Test Reports: Detailed test reports to help you understand the results.
  • Notifications: Stay informed with test result notifications.

Documentation

For more detailed information on QIT and how to use it, refer to the documentation.

Qit Quick Demo

Installing QIT

  1. Run composer require woocommerce/qit-cli --dev
  2. Execute ./vendor/bin/qit to authenticate with your WooCommerce.com Partner Developer account.

You can use these parameters individually or in combination to create different scenarios for your tests. Run qit run:<test-type> --help to see all the available options. Different test types will have different options to choose from.

Compatibility Examples

Run a local compatibility smoke test against a specific WooCommerce version:

qit run:compatibility woocommerce-gateway-stripe \
  --woocommerce_version=10.9.0 \
  --wordpress_version=stable \
  --php_version=8.2

Enqueue a small compatibility mass test for Woo-owned extensions before expanding to a full sweep:

qit mass-test \
  --trigger="Compatibility Pre Test (Woo 10.9.0)" \
  --test_type="compatibility" \
  --only_developed_by_woo=true \
  --woocommerce_version=10.9.0 \
  --wordpress_version=stable \
  --php_version=8.2 \
  --notify=false \
  --max_extensions=7 \
  --test_stage=pre \
  --group="woo-10.9.0-compatibility"

Can I use QIT?

Most features of QIT requires you to log-in as a Partner Developer of the WooCommerce.com Marketplace, but we have plans to open it to all developers in the future.

The QIT Local Test Environment does not require you to be connected to WooCommerce.com, although to install WooCommerce.com Premium plugins and themes on your test environment you will need to be connected as a Partner Developer of the Woo.com Marketplace (and have access to the extensions you want to test).

Support

If you need help with QIT, open an issue on this GitHub repository.

woocommerce/qit-cli 适用场景与选型建议

woocommerce/qit-cli 是一款 基于 PHP 开发的 Composer 扩展包,目前已累计 748.78k 次下载、GitHub Stars 达 34, 最近一次更新时间为 2023 年 05 月 09 日, 在 PHP 生态内属于活跃度较高的组件。

我们在过去多个企业项目中使用过 woocommerce/qit-cli 或与其功能相近的方案,如果你在选型或落地过程中遇到问题,例如 版本兼容、二次改造、私有化封装、与内部系统对接、生产 BUG 排查,欢迎联系我们协助评估。

围绕 woocommerce/qit-cli 我们能提供哪些服务?
定制开发 / 二次开发

基于 woocommerce/qit-cli 在你已有业务上做功能扩展、字段裁剪、UI 适配、与内部账号 / 权限 / 日志系统的深度对接。

BUG 修复 & 性能优化

线上偶发问题、内存泄漏、慢查询、并发异常等排查修复;针对高流量场景做缓存、队列、索引层面的调优。

项目外包 & 长期维护

承接完整的项目从需求 → 设计 → 开发 → 上线 → 长期运维;也可按月提供技术保姆服务。

yvsm@zunyunkeji.com QQ:316430983 微信:yvsm316 西安尊云信息科技 · 专注 PHP / Go / 分布式系统研发

统计信息

  • 总下载量: 748.78k
  • 月度下载量: 0
  • 日度下载量: 0
  • 收藏数: 34
  • 点击次数: 18
  • 依赖项目数: 1
  • 推荐数: 0

GitHub 信息

  • Stars: 34
  • Watchers: 62
  • Forks: 4
  • 开发语言: PHP

其他信息

  • 授权协议: GPL-3.0-or-later
  • 更新时间: 2023-05-09