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?

More than 5 years have passed since last update.

知識ゼロから学ぶ ソフトウェアテスト(3章 ブラックボックステスト④ 状態遷移テスト)

0
Last updated at Posted at 2019-06-28

知識整理のために投稿しています。
本は 知識ゼロから学ぶ ソフトウェアテスト[改訂版]です。
テストってなかなか書けない。

状態遷移テスト

  • 「状態」をモデル化して行うテスト

(例)
メモ帳ソフトウェアを考える

|イベント/状態 |システム|入力待ち|ダイアログオープン|
|:--:|:--:|:--:|:--:|:--:|
|立ち上げ | 入力待ち | NA | NA |
|メニューコマンド| NA | ファイルダイアログオープン | NA |
|入力| NA | 入力待ち | NA |
|ダイアログ閉じる️ | NA | NA | 入力待ち |
|アプリケーション終了 | NA | システム | NA |

見つかるバグ

  • 期待していない状態に遷移するバグ
  • 繊維自体がない場合

役立つとき

  • GUI(Graphical User Interface)ソフトウェア
  • オブジェクト指向ソフトウェア
  • 通信プロトコルテスト(絶対やるべき)

向かないとき

  • 状態の数が多くなるとモデルが複雑化する
  • モデリングに時間がかかりすぎるとテストする時間がなくなる
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?