0
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

Codex と Claude Code に同じテスト移行タスクを投げたら、設計判断が真っ二つに分かれた話

0
Last updated at Posted at 2026-08-30

概要

@hapi/lab で書かれていた API のテストを Jest に移行する作業を、同じリポジトリ・同じブランチ起点で Codex (GPT-5系) と Claude Code (Opus 4.7) に同じ依頼を投げて比較してみました。

出力された PR は「行数」「カバー範囲」「設計判断」が全部違う、なかなか面白い結果に。

  • Codex: 互換シム派(最小差分・自前シムでテストファイル本体は極力触らない)
  • Claude Code: 全書き換え派(Jest ネイティブにインライン書き換え・全テスト移行)

両者の性格の違いと、どう使い分けるべきかをまとめています。

詳細記事

設計判断の比較、具体的なシム実装、評価軸ごとの整理は、以下の Zenn 記事にまとめています。

AI コーディングエージェントを業務で使い分けたい方の参考になれば幸いです。

0
0
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
0
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?