arginfo_zpp_mismatch.phpt and friends only tests statically built extensions on CI
まだ誰も着手していません。
- 主要言語
- C
- スター
- 40.4k
- フォーク
- 8.1k
- 平均マージ
- 2日 13時間
- マージ済み PR(30日)
- 96
説明
Description
There are a couple of tests (see below) which iterate over all declared classes, and instantiate them. However, these tests don't load any shared extensions on CI, so the respective classes are not tested. I don't think this is intentional, but rather an oversight (when we switched to loading shared extensions via dl()).
Test that there is no arginfo/zpp mismatch [.\Zend\tests\arginfo_zpp_mismatch.phpt]
Test that there is no arginfo/zpp mismatch in strict mode [.\Zend\tests\arginfo_zpp_mismatch_strict.phpt]
Try to instantiate all classes without arguments [.\Zend\tests\instantiate_all_classes.phpt]
Object free handler must call zend_weakrefs_notify [.\Zend\tests\weakrefs\notify.phpt]
PHP Version
PHP 8.1
Operating System
any
コントリビューションガイド
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
調査の方向性
まず Zend/tests/arginfo_zpp_mismatch.phpt、Zend/tests/arginfo_zpp_mismatch_strict.phpt、Zend/tests/instantiate_all_classes.phpt、Zend/tests/weakrefs/notify.phpt と、extension を読み込む CI の設定を読んでください。現在の CI 構成でこれらのテストを実行し、shared extension が読み込まれてカバレッジの対象になっていることを確認してください。完了とは、一覧のテストが CI 上で静的にビルドされた extension と shared extension の両方を実行することです。
索引モデルが issue の本文から書いたものです。
評価
- 技術スタック
- php
- 領域
- ci-cd, testing
- issue の種類
- バグ
- 難易度
- 3/5
- 見積もり時間
- 1〜2日
- 活発さ
- 停滞
- 明瞭さ
- おおむね明確
- 初心者へのやさしさ
- 35/100