hi in this
I will show you how to use user
stories to identify the main
requirements that will drive your
application remember that I am using the
beta to of Vis Studio 2010 client and
Vis Studio 2010 team Foundation server
okay so so far you have already created
your new team project in this case we
call it it bookstore and now you have to
State the requirements that will drive
your application for that we use what we
call user stories this is very uh
popular in the scrum process template
which is the one that we're using right
now so what what is user story it is no
more than a way to document your
requirements paying some particular
attention to the end user's point of
view so this will state the requirements
H the way that the end user expects to
the the application to
behave so where should we put this user
story
we use for this what we call the product
backlog which is no more than a list of
all the user stories that dve your
application where would can you find
that H product backlog you can go to
Team Explorer enter documents and share
documents okay which is actually a
document a library of your SharePoint
project portal you can see here this is
the product backlock or you can also go
to
the to your uh project
portal okay if you go to share documents
you can see here this is the product
backlog okay ER this could be a a good
way to to access the product backlog if
you don't have the visual studio
installing in your computer so let's
open the product
backlog and remember we are using h a
book story scenario so what we want is
to be able to somehow H manage
um a list of of books that could be able
to be sell in the bookstore okay so um
what we have to do is first state which
are these user stories so I just talked
about three possible user
stories we'll write right
now okay so first one will
be as a
customer I want to see a list of all
available books
okay another
one as a book
store
administrator I want to add a new
book so let's add a final one let's call
this as a
Salesman I want to sell a
book okay good we now have the three
user stories and what we should do uh
right now is to set some priorities to
these user stories okay this is a common
practice to that will help you to Al
always focus on the most important ER
user stories for your application so
from my point of view H the most
important thing here is that the user
can see the list of books and that the
salesman can actually sell a book so
let's put uh priority one for both these
user stories and let's just use priority
two for the last for the third one now H
now that you have priorities you should
have some um
estimation for the size of your res
stories you know this will help you um
on estimating um how much work can be
done in each uh product ER cycle which
we call Sprint in the scrum process so
you will usually have a Sprints of two
or at most three weeks when you have to
deliver a new version of your product so
how can you know how much work can be
done in each Sprint you will use what we
call story points and story points is a
measure of the amount of work or the
amount of complexity in each user story
so now having these three user stories I
will H estimate that
the first one the customer wants to see
the list of available books is not
really too much complicated so let's add
uh put two story points for that one the
next one I want to add a new book well
you have to do some insertions in the
database so let's give a little bit more
complexity to this one and the last one
the salesman H wants to sell a book
might include some other complexities so
let's say five for this user story okay
so h if this was like a big project you
might say okay I have time
for H five story points in each Sprint
so you might say okay let's develop uh
these two ones first and let's and then
this one in this next Sprint okay five
story points and five here okay or any
other way okay so um now that we have
this we should state in which iteration
or which Sprint we want to develop uh
this user
story so if we open this iteration pad
cell we can see that we already have ER
stated the three iterations for this
application okay this is the default you
can also add new more iterations from
the D Explorer so let's say we will H
create a develop all these requirements
in iteration
one okay and another uh important thing
we should should state which kind of
work item is this okay as we already
know these are user stories so let's
just put user story for each of them of
them so having this the only thing that
we should do right now is to publish
this new these three new user stories
which are work items to team Foundation
server so let's H you should go to the
team uh tab in your in Excel and then
click
publish what this will do is to publish
ER each each of the three items to team
Foundation server which already did and
if now you go back to Vis Studio you can
go to um okay let's close this let's go
to word items team queries and let's
open user
stories okay you see we now have the
three user stories ready to start uh
working from here so now
um once you have the user stories stated
you should H also create the developer
or the teams tasks that will give more
uh detail to what has to be done in
order to um build uh the the
specifications the the product to
accomplish with these user stories so in
order to do that we can for example
let's go for for the first one as a
customer I want to see a list of all
available books so in order to create
tasks for this user story we will right
click here and let's say new linked word
item we will create a child word item
the kind of a task word item and let's
say that in order to do this we will
have to build the book list screen okay
which is will be our first
task and let's go back and add another
one let's say that uh we will have to
test the book list screen okay the book
list screen will be a screen we will see
the list of all the these books okay
let's hit
okay and let's uh of course you can also
State several oral details on each of
these tasks okay um for now let's just
save all
them and we're done so right now you
have at least uh you have all the user
stories uh that uh involve are involved
in your system and the tasks so that
will be all for this uh video and
hopefully in the next video we can start
writing some code see you soon
No comments:
Post a Comment