Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

translate/core/testing/automated-testing/phpunit.md #202

Merged
merged 3 commits into from
Sep 23, 2023

Conversation

t-hamano
Copy link
Member

@t-hamano t-hamano commented Sep 22, 2023

Closes #175

Note: WordPressコアに組み込まれているPHPのユニットテストを実行するための環境構築・方法について解説しているページです。技術的な内容なので、特に意訳した箇所はなく愚直に翻訳しています。

また、原文では一部のコンテンツにスタイルが当たっていますが、

info

以下のようにショートコード+HTMLベタ書きでやらないといけないので、そのまま再現するかどうか悩み中です。(このショートコードが https://ja.wordpress.org/team でも動く事は、一応確認済です)

html

@t-hamano t-hamano changed the title Translate/core/testing/automated testing/phpunit translate/core/testing/automated-testing/phpunit.md Sep 22, 2023
@t-hamano t-hamano force-pushed the translate/core/testing/automated-testing/phpunit branch from 46946d1 to 4c7c4ac Compare September 22, 2023 02:52
@t-hamano t-hamano marked this pull request as ready for review September 22, 2023 03:00
@t-hamano t-hamano self-assigned this Sep 22, 2023
@atachibana atachibana self-requested a review September 22, 2023 14:22
Copy link
Member

@atachibana atachibana left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@t-hamano
いいと思います (1つだけ Typo)。
スタイルは悩ましいですね。私は「注意:」とか「メモ:」とかで逃げています。

Rather than having to switch to a terminal and manually run a test group repeatedly while working on a patch, you can keep it running continuously. Whenever you save any file, the group will run again automatically. This lets you instantly know when a change you’ve made breaks a test, or causes it to pass.
-->

パッチの作業中にターミナルに切り替えて主導でテストグループを繰り返し実行するのではなく、継続的に実行し続けることができます。ファイルを保存するたびに、テストグループは自動的に再実行されます。これにより、ある変更によってテストが壊れたり合格したりしたことをすぐに知ることができます。
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@t-hamano
主導で -> 手動で

@t-hamano t-hamano merged commit 069ec15 into main Sep 23, 2023
@t-hamano t-hamano deleted the translate/core/testing/automated-testing/phpunit branch September 23, 2023 01:41
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

翻訳: /testing/automated-testing/phpunit.md
2 participants