テスト方針書の作成(前編)はじめに~テスト環境方針

スポンサーリンク

今回の記事では、全体テスト方針書の作成方法について説明したいと思います。

テスト方針書やテスト計画書については、本サイトの中でも特に人気のコンテンツとなっています。

スポンサーリンク

本サイトでは、テスト方針書やテスト計画書のPPT(パワーポイント)テンプレートやサンプルも用意しているので合わせてご利用ください。

※2021/11/26 テスト方針書については、Excel版の内容をアップグレードしたPPT版を新規追加しました。

テスト方針書の作成手順

1.テスト方針書の章立て(目次)

まずは、テスト方針書の全体の目次をご紹介します。

【テスト方針書(章立て)】参考

目次
改訂履歴

  1. はじめに
    1. 本書の目的
    2. 本書の構成
  2. 基本事項
    1. 各テストの位置づけ
  3. テスト範囲
    1. 前提条件と制約事項
    2. テスト範囲
    3. テスト対象
  4. テスト方針
    1. テスト環境方針
    2. テスト担当者方針
    3. ツールの利用方針
    4. テスト設計方針
    5. テスト実施方針
  5. 管理方針
    1. 進捗管理方針
    2. 品質管理方針
    3. バグ(故障)管理方針
    4. 回帰テスト方針
    5. 課題管理方針
  6. 添付資料(Appendix)
    1. 用語集

上記は中規模程度を想定したものとなっています。小規模であればもう少し簡素なものでもよいと思いますし、大規模プロジェクトであれば、記載すべき事項はもっと多くなると思いますので、プロジェクトに合わせて、適宜変更してください。

1.はじめに

1.本書の目的

画像はクリックすると拡大表示されます。

まずは、テスト方針書を作成する目的を記述します。テスト方針書は、あくまで今回のプロジェクトでは、どのような方針でテストを進めるのかについて大枠の方針を決定するための位置づけとなります。

詳細な内容は、テスト方針書でお客様や関係者と合意した内容に基づき、各テスト工程でテスト計画書を作成していきます。

テスト方針の段階で検討しておくべき事項について合意形成することが目的となります。主に以下のような内容について定義します。

  • テスト範囲やテスト対象(対象外)の明確化
  • 環境や体制などのリソースに関する方針
  • テスト設計や実施に関する方針
  • 品質や進捗の管理方針など

2.本書の構成

構成に関しては、テスト方針書と別紙になるものがあれば定義しておきましょう。

用語集などは、方針書(本書)に入れてしまってもよいと思います。

2.基本事項

続いての基本事項では、最初に関係者間でテストに関する事前の認識合わせが必要な内容について定義しておきます。

以下の例では、今回のプロジェクトのテスト工程の定義(単体テスト、内部結合テスト、外部結合テスト…)では、対象とテスト観点についての説明をしています。

また、Salesforceのシステム構成(基盤・ミドル・アプリ)に対して、各テスト工程で、どの部分をどのようにテストするのか概要図で説明しています。

  • 単体テスト(UT)では、プログラム、コンポーネント、ユニットに関する説明
  • 内部結合テストでは、処理結合テスト、機能結合テスト、業務結合テストでそれぞれ何を検証するのかを説明
  • 外部結合テストでは、本システムと外部システムのインタフェースに関するテストを実施と明記

上記は、機能に関するテストの説明となりますが、続いて以下の図では、非機能に関してのテストの説明を行っています。

非機能に関しては、性能・セキュリティ・基盤に関するテストの概要をそれぞれ説明しています。

特にセキュリティや基盤周りについては、Salesforceのサービスとして担保されている部分については、テストを実施しないということも明記しておきましょう。

3.テスト範囲(スコープ)

1.前提条件と制約事項

3章では、テスト範囲について記述していきます。

最初に前提条件と制約事項を明記しておきましょう。コスト・期間などの制約以外にも環境や要員などのリソースの制約等も記載します。

参考

例えば、以下のようなものが考えられます。

(前提条件)本プロジェクトで利用するクラウドサービス(Salesforce)のサービス基盤に関するセキュリティや脆弱性に関するテストは実施しない。また、Salesforceが提供する標準機能に関しては、単体テストは実施対象外とする。

(環境制約)他システムとの連携テスト実施にあたり、他システム側は現在運用している環境しかないため、連携テストでは、休祝日等の非営業日を利用して、一時的に環境の切り替えを行ってテストを実施するなど。

サービス基盤側で担保されているような内容に関しては、対象外とすることでテスト工数を削減できますが、契約段階などで事前に合意しておくとよいでしょう。

2.テスト範囲

テスト範囲については、まず全体のシステム構成を提示し、各システムのどの領域をテスト対象とするのかを線引きします。

複数のベンダーが関係している場合には、各社がどの領域をテストするのかわかるように色を変えて、〇〇社担当領域など明示しておき、各社で認識を合わせておくことがよいでしょう。

3.テスト対象(機能)

続いては、具体的なテスト機能について記述していきます。テスト方針の段階でまだ詳細な機能が不明な場合には、機能のまとまり(領域)で定義して、テスト計画の段階で詳細化してください。

3.テスト対象(非機能)

非機能に関するテスト対象と対象外の事項について記述します。

特に、処理性能やセキュリティなどのテストに関しては、どこまでどのようなテストを実施するのか曖昧なままとならないように、しっかり定義しておきましょう。

テスト対象外の事項については、なぜ実施しないのか、理由も合わせて記述するようにしましょう。

4.テスト方針

1.テスト環境方針(サーバ)

テスト環境方針では、各テスト工程でどの環境を使ってテストをするのかを定義します。

参考

単体テストでは、開発目的で作成するSandbox(Developer)と同じ環境を使ってテストを実施する。本環境については、お客様のシステム担当者様にて、〇月〇日時点の本番環境をコピーして作成していただく。

※本開発環境は、〇〇社と共同で利用することになるため、共通設定(システム設定、権限設定など)を変更する場合には、事前に通知し合意を得たうえで実施する。

補足)テスト環境構築

各テスト工程における、環境構築イメージ

例では、開発したリソースを変更セットで別環境へ移送するやり方としていますが、プロジェクトによって環境管理のやり方は異なると思います。

また、変更セットだけでは対応できない内容もあるため、それらをどのように扱うのかも決めておくとよいでしょう。

変更セットで対応できない資材については、直接gitやSandboxなどからリリースできるXgeekが提供するPipelineを利用するとよいでしょう。

XgeekやPipilineについて詳しく知りたい方はこちらの記事を参照ください。

補足)Sandboxの種類による相違点の説明

どのテスト工程でどの環境を利用するか検討するときには、利用するSandboxの種類を選択する必要があります。

Salesforceでは、Sandboxの種類によって、格納できるデータ量・更新サイクル・利用可能な機能が異なってくるため注意が必要です。

また、お客様のご契約状況によって利用できるSandboxの種類や数が異なるため、事前に本番環境で利用可能なSandboxの状況を確認しておきましょう。

1.テスト環境方針(クライアント端末)

サーバ環境に続いて、クライアント端末についても定義しておきましょう。(端末の種類やOSの種類・バージョン、利用するアプリケーションなど)

テストする端末やOSの種類などが増えるとその分工数も跳ね上がってくるため、当初見積もりの工数や契約内容に合わせて、テスト対象を指定してください。

補足)Salesforceがサポートするブラウザの種類とバージョン

クライアント端末から利用するブラウザについては、基本的にSalesforceがサポートしているブラウザを指定するようにしましょう。

お客様によっては、サポート期限切れのIEなどが指定される場合もありますが、必ず、サポートされないことをご理解いただいたうえご利用くださいと伝えるようにしましょう。

まとめ

テスト方針に関する説明(前編)は、ここまでとなります。

続きは、次の記事へ

テスト方針書(PPT版)のテンプレートが必要な方は、以下の記事からダウンロードしていただくことができます。

関連記事

スポンサーリンク

「テスト方針書の作成(前編)はじめに~テスト環境方針」への80件のフィードバック

  1. You actually make it seem really easy along with your presentation but
    I find this topic to be actually one thing which I believe I would by no
    means understand. It kind of feels too complicated and very wide for me.
    I am taking a look ahead in your subsequent publish,
    I’ll try to get the hang of it! Escape rooms hub

  2. May I simply say what a comfort to find someone that truly understands what they are talking about on the internet. You definitely know how to bring an issue to light and make it important. A lot more people have to read this and understand this side of your story. I was surprised you aren’t more popular since you surely possess the gift.

  3. I truly love your website.. Pleasant colors & theme. Did you develop this amazing site yourself? Please reply back as I’m planning to create my own blog and would love to find out where you got this from or what the theme is called. Kudos.

  4. Spot on with this write-up, I really believe that this amazing site needs a great deal more attention. I’ll probably be back again to read through more, thanks for the information.

  5. An outstanding share! I have just forwarded this onto a colleague who had been doing a little homework on this. And he actually bought me breakfast simply because I found it for him… lol. So allow me to reword this…. Thanks for the meal!! But yeah, thanx for spending time to talk about this topic here on your website.

  6. The next time I read a blog, I hope that it won’t fail me just as much as this particular one. After all, Yes, it was my choice to read, but I actually believed you would probably have something useful to talk about. All I hear is a bunch of complaining about something you can fix if you weren’t too busy looking for attention.

  7. Everything is very open with a precise description of the issues. It was definitely informative. Your website is useful. Thanks for sharing!

  8. You are so awesome! I do not believe I’ve read a single thing like that before. So great to discover somebody with a few unique thoughts on this topic. Really.. many thanks for starting this up. This site is something that is needed on the internet, someone with a bit of originality.

  9. Howdy! This article could not be written any better! Going through this article reminds me of my previous roommate! He constantly kept preaching about this. I’ll send this information to him. Fairly certain he will have a great read. Thanks for sharing!

  10. I seriously love your website.. Excellent colors & theme. Did you build this web site yourself? Please reply back as I’m attempting to create my very own site and would love to know where you got this from or what the theme is named. Many thanks.

  11. I was pretty pleased to find this web site. I want to to thank you for your time just for this fantastic read!! I definitely loved every part of it and i also have you saved to fav to see new information on your site.

  12. Next time I read a blog, I hope that it doesn’t fail me as much as this particular one. I mean, I know it was my choice to read, but I really thought you would probably have something interesting to talk about. All I hear is a bunch of whining about something you could possibly fix if you weren’t too busy searching for attention.

  13. Integrating Sugar Protector into my daily routine overall health.
    As somebody who prioritizes healthy and balanced eating,
    I value the extra security this supplement supplies.
    Considering that beginning to take it, I’ve noticed a significant renovation in my
    power levels and a substantial reduction in my wish for undesirable treats such
    a such an extensive impact on my life.

  14. Hi, I do think this is a great web site. I stumbledupon it 😉 I may return once again since i have book marked it. Money and freedom is the best way to change, may you be rich and continue to help other people.

  15. Hi, I do believe this is an excellent website. I stumbledupon it 😉 I will return yet again since I bookmarked it. Money and freedom is the greatest way to change, may you be rich and continue to help other people.

  16. Howdy! Do you know if they make any plugins to assist with Search Engine Optimization? I’m
    trying to get my website to rank for some targeted keywords but I’m not seeing very good gains.
    If you know of any please share. Cheers!
    I saw similar art here: Eco blankets

  17. You’ve made some good points there. I looked on the web to find out more about the issue and found most individuals will go along with your views on this site.

  18. Oh my goodness! Amazing article dude! Thank you so much, However I am having problems with your RSS. I don’t understand the reason why I cannot join it. Is there anybody getting the same RSS issues? Anyone that knows the answer can you kindly respond? Thanx!!

コメントは受け付けていません。

上部へスクロール