yireo / magento2-checkouttester2

yireo/magento2-checkouttester2

Checkout Tester for Magento 2

  • Jisse Reitsma (Yireo)
magento2-module Compatibility: 2.4.7-2.4.9 Code Quality: Fail Tests: Fail Security: Pass OSL-3.0

CheckoutTester module for Magento 2

See also:

Changelog

All notable changes to this project will be documented in this file.

The format is based on Keep a Changelog,
and this project adheres to Semantic Versioning.

[Unreleased]

[1.0.4] - 24 October 2024

Fixed

  • Add funding options

[1.0.3] - 12 September 2023

Fixed

  • Unit test fixes

[1.0.2] - 12 September 2023

Fixed

  • PHPStan fixes

[1.0.1] - 19 July 2023

Fixed

  • Setting to only run this in Developer Mode

[1.0.0] - 22 September 2021

Added

  • Separate Config class
  • Added PHP 7.4+ syntax
  • Rewrite controller to use HttpGetActionInterface only
  • More helpful comments with configuration options

Removed

  • Remove legacy data-helper
  • Removed support for PHP 7.4
  • Removed support for Magento 2.2 or older
  • Removed unneeded Success-block
  • Remove setup_version from module.xml

[0.0.16] - 4 August 2022

Fixed

  • Missing order data in event (@JamesFX2) #23

[0.0.15] - 27 August 2021

Added

  • NOINDEX,NOFOLLOW
  • Magento PHPCS compliance

[0.0.14] - 20 October 2020

Fixed

  • Remove page layout specification in XML layout (which is duplicate) (@GrimLink)

[0.0.13] - 29 July 2020

Added

  • Magento 2.4 support

[0.0.12] - August 2019

Added

  • Proper integration testing for browsing depending on config settings

Fixed

  • Settings for "enabled" and "ip" were not properly picked up

[0.0.11] - July 2019

Added

  • Add version to composer.json
  • Add etc/config.xml file with default values
  • Add KeepAChangeLog support
  • Move configuration to separate Yireo section

For older releases, see the GitHub commit messages.

Versions
Version Stability QA Status Compatibility Released
1.0.4 stable Fail Magento 2.4.7-2.4.9 Details 2024-10-24 12:04:51
1.0.3 stable Not tested Not yet tested Details 2024-09-12 13:12:20
1.0.2 stable Not tested Not yet tested Details 2024-09-12 12:58:50
1.0.1 stable Not tested Not yet tested Details 2023-07-19 07:58:58
1.0.0 stable Not tested Not yet tested Details 2022-09-22 07:41:32
0.0.16 stable Not tested Not yet tested Details 2022-08-04 12:43:13
0.0.15 stable Not tested Not yet tested Details 2021-08-27 13:25:17
0.0.14 stable Not tested Not yet tested Details 2020-10-20 06:17:11
0.0.13 stable Not tested Not yet tested Details 2020-07-29 09:45:17
0.0.12 stable Not tested Not yet tested Details 2019-08-01 14:37:51
0.0.11 stable Not tested Not yet tested Details 2019-07-08 10:53:18
0.0.10 stable Not tested Not yet tested Details 2018-11-29 20:58:17
0.0.9 stable Not tested Not yet tested Details 2018-09-12 18:46:58
0.0.8 stable Not tested Not yet tested Details 2018-08-04 20:33:53
0.0.7 stable Not tested Not yet tested Details 2018-03-06 16:18:42
0.0.6 stable Not tested Not yet tested Details 2017-10-11 16:43:50
0.0.5 stable Not tested Not yet tested Details 2017-08-09 07:56:08
0.0.4 stable Not tested Not yet tested Details 2017-06-06 09:32:44
0.0.3 stable Not tested Not yet tested Details 2017-05-30 20:58:06
0.0.2 stable Not tested Not yet tested Details 2016-12-16 08:36:13
0.0.1 stable Not tested Not yet tested Details 2016-08-22 08:18:40

Requires 8

Package Constraint
magento/framework ^102.0|^103.0
magento/module-backend ^100.1|^101.0|^102.0
magento/module-checkout ^100.1
magento/module-config ^100.1|^101.0
magento/module-eav ^100.1|^101.0|^102.0
magento/module-sales ^100.1|^101.0|^102.0|^103.0
magento/module-store ^100.1|^101.0
php >=7.4.0

Requires-dev 2

Package Constraint
phpunit/phpunit *
composer/composer *

Compatibility

Each Magento release line is installed on its supported PHP versions, then the module is built (DI compilation + static-content deploy) and its unit and integration suites are run. The matrix shows the lines and PHP versions the module is confirmed to install and run on. Code-quality results further down (phpstan, phpcs, …) are reported separately and never affect compatibility.

Compatibility matrix (Magento × PHP)
Magento PHP 8.2 PHP 8.3 PHP 8.4 PHP 8.5
2.4.7 Pass Pass
2.4.8 Pass Pass
2.4.9 Pass Pass

Code Quality

Advisory checks against the module's source. Static analysis runs once across the whole module; PHPStan re-runs per Magento + PHP version because resolvable symbols differ between releases. These NEVER affect the Compatibility badge. A phpcs finding can't make a module incompatible.

Static analysis

Coding standards (phpcs), mess detection (phpmd), copy-pasted code (cpd), PHP cross-version compatibility, composer.json validity. Each runs once for the whole module.

Static analysis results
Tool Status Findings Summary
PHPCS Warning 30 30 warnings (ruleset: Magento2) — 1 auto-fixable with phpcbf
PHPMD Warning 2 2 rule violations (UnusedFormalParameter:2)
Cpd Pass 0
Composer validate Info 1 valid; 1 advisory note (composer validate --strict)

PHPStan

Type-checks the module's PHP against a real Magento install at the configured gate level. Re-runs per Magento and PHP version because resolvable symbols differ between releases.

PHPStan results by Magento and PHP version
Magento PHP 8.2 PHP 8.3 PHP 8.4 PHP 8.5
2.4.7 4 4
2.4.8 4 4
2.4.9 4 4

Tests

Unit and integration suites, run for each applicable Magento and PHP version. A test failure speaks to the module's behaviour, not its compatibility with a Magento line, so it is reported here separately and never reddens the compatibility matrix.

Unit tests

Unit tests results by Magento and PHP version
Magento PHP 8.2 PHP 8.3 PHP 8.4 PHP 8.5
2.4.7 N/A N/A
2.4.8 N/A N/A
2.4.9 N/A N/A

Integration tests

Integration tests results by Magento and PHP version
Magento PHP 8.2 PHP 8.3 PHP 8.4 PHP 8.5
2.4.7 Error Error
2.4.8 Error Error
2.4.9 Error Error

Security

Security checks run directly against the module: an audit of its declared dependencies for known vulnerabilities (composer audit) and a scan of its source for malware and web-shell signatures. Each runs once. A malware detection fails the version outright.

Security results
Tool Status Findings Summary
Composer audit Pass 0
Malware scan Pass 0
License
OSL-3.0
Homepage
https://github.com/yireo/Yireo_CheckoutTester2
Authors

More from yireo

View vendor
Make it pay

Turn an existing module into recurring revenue.

If you already maintain a Magento 2 module on GitHub or GitLab, listing it on Packagento takes about five minutes. We mirror your tags, handle distribution signing, and route paid licenses through Stripe Connect, so you can keep shipping the way you already do.