Thinking about INVEST

INVEST

Have you ever heard the acronym “INVEST”?

The INVEST mnemonic was created by Bill Wake and it is introduced in The Agile Samurai(@jrasmusson 2010) .

“INVEST” is as a reminder of the characteristics of a good quality user story,

  • Independent
    • The user story should be self-contained, in a way that there is no inherent dependency on another user story.
  • Negotiable
    • User stories, up until they are part of an iteration, can always be changed and rewritten.
  • Valuable
    • A u ser story must deliver value to the end user.
  • Estimable
    • You must always be able to estimate the size of a user story.
  • Small
    • User stories should not be so big as to become impossible to plan/task/prioritize with a certain level of certainty.
  • Testable
    • The user story or its related description must provide the necessary information to make test development possible.

quated from wikipedia)

“Valuable” is easy understand Of these six words, So everyone will care
But Testable,Small and Estimable are often forgotten.

If you noticed follow problems, It may be able to solve it by being conscious of INVEST.

  • Story goal is difficult to understand, Because acceptance criteria is not clear.
  • Story is hard to estimate, Because the size is huge.

INVEST User Story

Then I think about an example about the user story that is INVEST.

1
2
As a Administrator,
I want search user by name so that I don't use time for find user in list.
  • Independent
    • OK. This story is inipendent feature.
  • Negotiable
    • OK. This story is not specified implementation.
  • Valuable
    • OK. To improve Administrator’s work efficiency
  • Estimable
    • OK. It story may be modified 1 view (and 1 logic)
  • Small
    • OK. It is simple and small.
  • Testable
    • OK. Story is simple, (please confirm the acceptance criteria properly in PO.)

It is INVEST and good user story.

1
2
3
As a ramen JIRO lovers (sometimes called Jirolian),
I want to know which JIRO is open now
so I wants to go to Jiro as soon as I thought.

And this user story is INVEST too.

Conclusion

INVEST is good practice for writing user story.

How about if you try a Story-Gathering workshop while being conscious of INVEST?

Appendix

INVEST something

With that said, I understood that INVEST was important in thinking about user story.
In, what’s the INVEST in something other than user stories can be applied?

I’m tried.

JIRO

Ramen Jiro is of course technically ramen, but it is somewhat different from any other ramen in Japan.

quated from http://www.ramentokyo.com/2007/06/ramen-jiro.html

Ramen Jiro is introduced in Guardian 2009 The 50 best things to eat in the world, and where to eat them

and Elon Mask was visited.

Is Jiro INVEST?

  • Independent
    • Jiro has some unique distinction. amazing large serving, own rule, etc…
    • someone says “Jiro is not ramen, but Jiro is the Independent food”
  • Negotiable
    • Jiro is negotiable some toppings vegitables (yasai), Backfat (abura), garlic(nin-niku) and depth of taste (karame).
    • If you want to more and more vegitables,backfat and garlic, you shoud say “yasai, abura, nin-niku mashi-mashi”.
  • Valuable
    • Jiro is Cost-effective.
    • Jiro is unique.
  • Estimable
    • While you attend a few times, it will be so as estimated to be either the amount of how much today is eaten.
    • If, when you can not eat too much, it would be nice if I tell half noodles when presenting the meal ticket.
  • Small
    • Jiro’s menu have “small size” (but Jiro’s small size equals ordinaly ramens large size or extra large size.)
  • Testable
    • Jiro might store a total of 40. we can achieve 100% coverage. It’s testable.

Jiro isn’t completely INVEST. but Jiro is extremely unique.

Conclusion

Meanwhile, it is very distinctive ramen Jiro, as there is also saying, “Seeing is believing”, First, What is How about try to experience.

Enjoy “mashi-mashi”.

(日本語版)

INVEST

INVEST という頭文字語をご存知ですか?

“INVEST” とは ビルウェイクにより考案されアジャイルサムライでも紹介された、よくかけているユーザーストーリーに備わっている6つの要素を表します。

  • Indipendent
    • 独立している
  • Negotiable
    • 交渉の余地がある
  • Valuable
    • 価値のある
  • Estimable
    • 見積もれる
  • Small
    • 小さい
  • Testable
    • テストできる

この中でもValuableはわかりやすいので、誰もが気にするのですが、
意外と見逃し気味なのが、Testable,Small,Estimableです。

  • 受け入れ条件が曖昧でストーリーのゴールがわかりにくい
  • ストーリーが壮大過ぎて見積もろうとしても想像が出来ない

などの状況に気づいたら、INVESTを意識すると解決できるかも知れません。

INVEST User Story

では、INVESTなユーザーストーリーについて例を考えてみます。

1
管理者はユーザーを検索したい。なぜならリストから目Grepするのがキツイからだ。
  • Indipendent
    • OK. 独立したフィーチャーです。
  • Negotiable
    • OK. 実現方法などはまだ交渉(カイゼン)の余地があります。
  • Valuable
    • OK. 管理者の作業効率が上がります。
  • Estimable
    • OK. 開発者が想像できるくらいのサイズです。(おそらく1画面+1ロジックでしょう)
  • Small
    • OK. 十分に小さいです。
  • Testable
    • OK. ユーザーストーリーがシンプルなので、テストも書きやすそうです。(ただし、POと受け入れ条件は合意して億必要があります。)

このユーザーストーリーはINVESTを満たしていて、良いストーリーと言えるでしょう。

別の例

1
ジロリアンはどの店舗が今営業中なのか知りたい。なぜなら、思い立ったそのタイミングでラーメン二郎へ行きたいからだ。

また、このストーリーもINVESTを満たしていて良いストーリーといえるのでは無いでしょうか。

Conclusion

このようにINVESTを意識することで、ユーザーストーリーがより良くなります。

ユーザーストーリーワークショップなどを行う際には
INVESTを意識しながらストーリーを抽出してみたらいかがでしょうか。

Appendix

INVEST something

ということで、ユーザーストーリーを考える上でINVESTが重要な事はわかりました。
では、今回は少々趣向を変えて、ユーザーストーリーではなく、身近なものにINVESTが適用できるか考えてみました。

jiro

ラーメン二郎とは、

Guardian 2009 The 50 best things to eat in the world, and where to eat them

で紹介され、

http://mogumogunews.com/2015/04/topic_10702/

あの、イーロン・マスクも訪れたラーメン店です。

http://japan.cnet.com/news/offtopic/35053480/

Is JIRO INVEST?

  • I
    • 二郎はラーメンではなく、二郎という食べ物だと言われることもあるほど独自性が高く、一種独特の文化があると言えるでしょう。
  • N
    • 二郎非常に柔軟な調整が可能です。代表的なものは 麺、野菜、背脂、にんにくの量や、味の濃さです。たとえば、野菜と背脂とにんにくをとても多くしたい場合は「野菜、アブラ、ニンニク マシマシ」と店主に伝えることにより、おそらくあなたの希望の結果が得られるでしょう。
  • V
    • 二郎には圧倒的なオリジナリティがあります。これにまさる価値は無いでしょう。
  • E
    • 何回か二郎に通うと、自分のコンディションに応じて何を増やして何を減らすかが見積もれる様になります。体調が悪くあまり食べられない場合は、食券を提示する際に、麺半分などと伝えればいいでしょう
  • S
    • 二郎にもスモールサイズはありますが、これには注意が必要です。二郎のスモールサイズは、一般的な店舗の大盛りか、それ以上に値します。慣れるまではスモールサイズもしくは(もしあれば)ソレより小さいプチサイズにするのが良いでしょう。
  • T
    • 二郎は総店舗数が40店舗弱(内休業中が2店舗?)であるため、カバレッジ100%を達成することも可能であるため、テスタブルと言えるでしょう。また、非常に量が多いため、自分に対する判断力を試されるため、自分自身に対するテストと考えることも出来ます。

そんな、非常に特徴的なラーメン二郎ですが、百聞は一見にしかずということわざもあるように、まずは体験してみるのはいかがでしょうか。