Skip to content

NeoCEG Documentation / NeoCEG ドキュメント

NeoCEG is a test design tool based on the Cause-Effect Graphing technique, a method specified in ISO/IEC/IEEE 29119-4:2021. Simply draw logical and constraint relationships as a graph, and NeoCEG automatically generates an optimized decision table and a coverage table for efficient test coverage review.

Graph modifications are easily made through the GUI, and changes are instantly reflected across the cause-effect graph, logical expression language, decision table, and coverage table — all updated reactively. Beyond test design, it is effective for organizing, verifying, and reviewing logical and constraint relationships throughout all phases of development.

The logical expression language grammar is published as an EBNF specification. By providing this grammar to an AI assistant, you can ask it to generate cause-effect graphs from natural language requirements — bridging the gap between specifications and test design.

NeoCEG は原因結果グラフ技法(ISO/IEC/IEEE 29119-4:2021 に規定)に基づくテスト設計ツールです。 論理関係と制約関係をグラフとして描くだけで、最適化されたデシジョンテーブルとテストの網羅性を効率的に確認できるカバレッジ表を自動生成します。

グラフの修正はGUI上で簡単に行うことができ、その変更は瞬時に原因結果グラフ、論理式によるテキスト表現、デシジョンテーブル、カバレッジ表に反映されます(リアクティブ動作)。 テスト設計に限らず、開発のあらゆるフェーズで論理関係や制約関係の整理や確認、レビューに効果を発揮します。

論理式言語の文法は EBNF仕様 として公開されています。この文法をAIアシスタントに渡すことで、自然言語の要求仕様から原因結果グラフを生成させることができ、仕様とテスト設計の橋渡しが可能になります。

Why Cause-Effect Graphing? / なぜ原因結果グラフ法か?

The Cause-Effect Graphing technique is known to reduce the number of test cases by an order of magnitude compared to exhaustive combinatorial decision tables. Fewer tests mean faster preparation, more efficient execution, and easier maintenance — but there is another significant advantage.

Because the technique eliminates infeasible test cases — combinations that cannot occur due to constraint relationships — the resulting test suite consists entirely of executable tests. This makes it exceptionally well-suited for embedding in DevOps workflows and CI/CD pipelines, where every test must be runnable without manual intervention or judgment calls about which cases to skip.

Furthermore, the generated decision table can be directly fed into data-driven testing frameworks, making it straightforward to automate the entire test execution process.

原因結果グラフ技法は、すべての組み合わせを列挙するデシジョンテーブルと比較して、テストケース数をオーダーレベルで削減することが知られています。テスト数の削減は、準備の効率化、実行時間の短縮、保守性の向上をもたらしますが、大きな利点はほかにもあります。

この技法は、制約関係により実行不可能なテストケース(あり得ない組み合わせ)を排除するため、生成されるテストスイートはすべて実行可能なテストで構成されます。これにより、手動での判断や実行不要なケースの選別が不要となり、DevOps ワークフローや CI/CD パイプラインへの組み込みに非常に適しています。

さらに、生成されたデシジョンテーブルをデータ駆動テストフレームワークに直接投入することで、テスト実行全体の自動化を容易に進めることができます。

How This Tool Was Built, and How to Use It with Confidence / 本ツールの成り立ちと、安心して使うために

This project was developed through AI-assisted development using Claude Code (Anthropic), employing a specification-driven methodology: the human author conceived the requirements, designed the architecture, directed the development process, and exercised final judgment on verification and validity. The AI generated all source code and documentation under continuous human direction.

The fact that code was written by an AI does not, in itself, make the output less trustworthy — just as code written by a human is not inherently reliable without verification. What matters is the ability to verify the results. NeoCEG provides a Coverage Table — a feature not required by any standard — that enables users to efficiently review which logical conditions have been covered, which tests were adopted, and why. This transparency applies equally regardless of whether the implementation was produced by an AI or a human engineer.

This software is provided free of charge under the MIT License, which includes an explicit disclaimer of warranty. Users are encouraged to make full use of the Coverage Table for review and validation before incorporating generated results into their test designs.

本プロジェクトは、Claude Code(Anthropic)を用いたAI支援開発によって構築されました。仕様駆動開発の手法を採用し、著者が要求仕様の策定、アーキテクチャの設計、開発プロセスの指揮、および検証・妥当性確認における最終判断を行っています。ソースコードおよびドキュメントの全行は、著者の継続的な指示のもとAIが生成しました。

AIがコードを書いたという事実は、それ自体で成果物の信頼性を損なうものではありません——人間が書いたコードであっても、検証なしに信頼できるわけではないのと同じです。重要なのは、結果を検証できるかどうかです。NeoCEG は国際規格等が要求していないカバレッジ表を出力します。カバレッジ表により、どの論理条件がカバーされたか、どのテストが採用されたか、そしてその理由を効率的にレビューできます。この透明性は、実装がAIによるものであっても人間のエンジニアによるものであっても、等しく有効です。

本ソフトウェアは MIT ライセンスのもと無償で提供されており、同ライセンスに明記された免責条項が適用されます。生成結果をテスト設計に組み込む前に、カバレッジ表を十分に活用してレビュー・妥当性確認を行うことを推奨します。

Acknowledgments / 謝辞

NeoCEG is not a port of any existing software, but a ground-up reimplementation. Nevertheless, it could not exist without the pioneering work that came before it.

This project owes a profound debt to X-CEG, developed by Dr. Koichi Akiyama (秋山浩一), and to CEGTest, developed by Masaki Kase (加瀬正樹). Their tools brought the Cause-Effect Graphing technique — long confined to textbook descriptions — into practical, usable form, and demonstrated that rigorous test design methods could be made accessible to working engineers. NeoCEG stands on the foundation they built.

The author wishes to express deep respect and gratitude to both Dr. Akiyama and Mr. Kase for their years of dedication and the results they have achieved.

Special thanks are due to Dr. Koichi Akiyama, who tested NeoCEG from an early stage of its development and provided valuable evaluation and feedback.

NeoCEG は既存ソフトウェアの移植ではなく、一から再実装したものです。しかしながら、先行するツールなくしては存在し得ないものです。

本プロジェクトは、秋山浩一氏が開発された X-CEG、および加瀬正樹氏が開発された CEGTest に多大な恩恵を受けています。両氏のツールは、長らく教科書上の記述にとどまっていた原因結果グラフ技法を実用的かつ使いやすい形に具現化し、厳密なテスト設計手法が現場のエンジニアにとって身近なものとなり得ることを示しました。NeoCEG は両氏が築かれた基盤の上に立っています。

秋山浩一氏と加瀬正樹氏の両名の長年の取り組みとその成果に、改めて深い敬意と感謝を表します。

とりわけ秋山浩一氏には、NeoCEG の開発初期から試用いただき、大変有益な評価やご意見を賜りました。深く感謝いたします。

Try It / 試してみる

Samples / サンプル

Click a link to open the sample directly in NeoCEG. / リンクをクリックすると NeoCEG でサンプルが開きます。

Basic Logic / 基本ロジック:

Constraints / 制約:

Real-world Examples / 実践例:

Reference / 参考文献