Menu
  • HOME
  • TAGS

Writing acceptance tests for “lean” user stories

Tag: agile,user-stories,kanban,agile-project-management,agile-processes

We are moving to a more Lean based approach, Kanban the lot. We started breaking down our user stories into very small ones, however a lot of questions are being raised as to what stories should have acceptance tests and what shouldn't.

For example we have split one story into 2. The first creates an entity and some basic fields. The other expands on those fields and adds more functionality. Normally we would write acceptance tests at the end of the second story. However should we be writing a small acceptance test now we have a smaller story and then expand on the acceptance test(s) when we do the second story?

The argument for it is, that all stories should be testable, the counter argument is its anti-lean because we are splitting the stories to get them to the testers quicker, but by writing acceptance tests (on tiny logic and tests that are going to change) slows things down to them anyway. What is the consensus with Lean on how to approach acceptance testing (or BDD testing) with Lean user stories?

Best How To :

To quote from wikipedia:

"...a user story is a description consisting of one or more sentences in the everyday or business language of the end user or user of a system that captures what a user does or needs to do as part of his or her job function"

In this context acceptance tests make a lot of sense. Acceptance tests are the 'tick boxes' that need to be ticked to satisfy the user story.

What you are describing sounds a lot like technical tasks. An acceptance test does not make sense in that context as there is nothing for the end user to accept. Unit tests and integration tests would be more appropriate for this level of granularity.

How can a change be brought about in the testing process that follows waterfall?

testing,project-management,software-engineering,agile

I think the best approach for this changing is show the test value for your managers. I suppose that without well organized test process the bug finding happens eventually. The value of one crucial issue find by your customer but not by you may lead to the huge impact on...

Plan several sprints at once

agile,scrum,scrummaster

It is not unusual to estimate ahead and attempt to get a feel for what could potentially be included in a future release. However assigning work to sprints beyond the immediate one is not a common practice. The reasons for that include: 1 - If for any reason planned work...

Is it possible to associate one product backlog with multiple projects? [closed]

agile,scrum,backlog,agile-project-management

My advice: Don't run both projects parallel on one Scrum Team. Start and finish the most important one (maybe only a MVP [1]) and then start the other. Every parallelisation will decrease the Teams productivity [2]. http://en.wikipedia.org/wiki/Minimum_viable_product http://www.dailyinfographic.com/the-high-cost-of-multitasking-infographic ...

VSO and multiple projects for a single product team

tfs,agile,visual-studio-online,tfs2013,scrum

You should have both teams in the same team project. You c Dan create multiple teams that all exist within the same team project and get their own backlogs. http://nakedalm.com/creating-nested-teams-visual-studio-alm/ Most of my customers have moved to a single team project and I have a simple rule: "If you have...

Agile development and the “wish list”

agile,scrum

Be ruthless with your jira's, there is nothing to be gained by documenting every issue you find. Remember the agile manifesto - "Working software over documentation". Fix the blockers right away, put the critical ones in the backlog and schedule in the next sprint, for anything that isn't worth fixing,...

From user stories to sequence diagram

uml,user-stories

In my opinion, what works best with the customers are not use cases. They are too abstract and complicated even for the most of developers. And when they are finally approved, you're never sure whether the customers actually understood them correctly. I suggest the mix of UML activity diagrams and...

How to best incorporate “regression periods” withint SCRUM agile approach?

regression,development-environment,agile,scrum

An extensive period of regression testing is something you should try to avoid at all cost when you want to practice Scrum. Not fully testing your software during or at the end of each sprint breaks one of the most important rules of Scrum, namely that the increment you deliver...

Rating for User Stories, is it a good idea? [closed]

tfs,agile,scrum,jira-agile,scrummaster

As the Product Owner is part of the Scrum Team, at the end of the Sprint I would expect them to already know what is going on. Any ratting system that you apply to the individual will destroy your team. If they are on the line individually then they will...

how to adopt agile developmemt for iOS app while Apple take weeks to review it?

ios,agile

No general rule that will fit all and solve all your problems, but here are some advices that will help: Leverage iTunes Connect Testflight and your social channels to create an army of beta testers that can give you early feedback if something is terribly wrong Dont stop development while...

Can I colour cards in YouTrack AgileBoard?

agile,bug-tracking,youtrack

In youtrack 6.0 you can use only single rule for cards coloring. It can be specified by "Field for color-coded cards" property in agile board settings where you can select it to be field or project based. In case of field based coloring for example 'Priority' field agile board will...

Mocha: Translating a user story to a spec of describe / it (bdd framework i.e. mocha)?

javascript,node.js,bdd,mocha,user-stories

I am not very familiar with mocha so I did a similar one for you. Hope you get the idea. (People please fill free to improve on it) Senario 1: it should authenticate card currectly if a valid card and details are provided: System.readCard(new Card({config})).... expect(System.Card.isValid).toBe(true) it should get the...

Is RUP an Agile method

agile,rup

Rational Unified Process is an Iterative and Incremental process, though by default the average cycle time to deliver working software is still quite long. I personally count RUP as borderline agile, close to long-iterative or short-water-fall. It's more recent brother, OpenUp, is supposedly a more agile version, concentrating on the...

How to relate change set with a user story or task using TFS 2013 and visual studio 2013

visual-studio-2013,tfs,agile,tfs2013,agile-project-management

You need to change the way that you build and deliver software in order to deliver more successfully. http://nakedalm.com/avoid-pick-n-mix-branching-anti-pattern/ What you are describing with picking changesets will consistently and continuously reduce the quality of your product. If you implement a good definition of done and get your guys working in...

How to know if authentication is really a requirement

authentication,requirements,user-stories

Yes, it makes sense. The issue with simple cookies is that if you lose the cookie, there is no way become that user again. That said I think these stories are what you need (this include the extra points you make): As a logged-in user I want to become anonymous...

How to introduce scrum and gitflow to a team without overwhelming them? [closed]

git,agile,scrum,git-flow,scrummaster

It sounds as if you're in a good position to make a real difference. Being new to the team doesn't mean that you can't take a leadership role in their new way of doing things. Since your company is going to start off with formal agile training (from an external...

Is this approach 'agile'? Separating use-cases into sprints/iterations

agile,scrum,agile-project-management,agile-processes

Agile is sort of a big tent, but I would not apply that label to the process you've described. You are describing lots of upfront design work and a full specs up front. The schedule assumes all the req take the same amount of time to implement, thought you acknowledge...

How to manage to write first stories when applying scrum to a game? [closed]

agile,scrum,user-stories

A good starting-point for writing good user stories is the book by Mike Cohn. There are also plenty of useful resources online how to write good user stories and how to work with the backlog as a Product Owner and how to involve the team to continuously keep the backlog...

What's the priority of a rejected bugfix?

agile,kanban,agile-project-management,agile-processes

This is a great question and a common problem for teams that are new to Kanban. Minimizing WIP normally isn't necessarily the goal of a kanban system. It is a system lever/configuration that we can use to guide ourselves to optimal behavior, given the current situation and delivery goals for...

Writing acceptance tests for “lean” user stories

agile,user-stories,kanban,agile-project-management,agile-processes

To quote from wikipedia: "...a user story is a description consisting of one or more sentences in the everyday or business language of the end user or user of a system that captures what a user does or needs to do as part of his or her job function" In...

How to configure task cards on agile board in Youtrack?

agile,youtrack

A card displays first two custom fields in your project (excluding Priority, Assignee and State and some other that are displayed by other means), so you can you go to your_yt_url/editProject/project_key#project-tab=Fields and sort the list.

What documentation should be created in Agile?

architecture,documentation,agile,software-design

I don't agree fully with Daniel Ofc I can't argue with manifesto but diagrams, documentation are absolutly ok in my opinion. a story is a description. but for programmers it may be too little. The story gives info what will happen when, and this should be converted to diagrams, documentation...

What are Epics in regard of Features and Backlog Items in Team Foundation

tfs,agile,visual-studio-online,scrum

The general consensus is that: Product backlog Item is something that can be delivered in a single sprint. Feature is something that can't be delivered in a single sprint, but that can be delivered in a single release. Epic is something that transcends releases. In general the idea of theme...

Are there any agile management tools out there that uses TFS as a “backend”, but gives you a more delicate UI to work with?

tfs,agile,usability

Even though this is officially off-topic (tools related advice is off-topic for StackOverflow): Not that I know of, there are tools though that extend Team Foundation Server with additional features: Urban Turtle, VSO Enhancer ...

What is role of Analyst in agile software development team? [closed]

agile

The analyst is the person responsible for accurately documenting the business requirements and turning those requirements over to the technical staff responsible for implementing them. It's an important role because it frees the developers from having to interview the business users, so they have more time to flex their core...

SCRUM Terminology: What is the Difference Between a New Feature and an Enhancement? [closed]

agile,scrum

I guess this cannot be answered in a generally accepted way. However this is how I would put it: A feature is new functionality i.e. a user can do something new with the software. An enhancement makes doing something that was possible before simpler, more powerful or adds somehow to...

What Does 'What Stack Do You Work In?' Mean in Web Development? [closed]

development-environment,agile

Not sure what this has to do with the agile tag but, here's what I understand your question to mean: I know of three stacks. WAMP, WIMP and LAMP LAMP - Linux, Apache, MySQL, PHP (I think this is the most common and best known) WIMP - Windows, IIS, MS...

Can a user story be a request for information?

agile,scrum,user-stories

A user story should represent value to an actual user, not just a part of the development process. Start with a story like "Player plays the game for a few turns" or just "Player moves a piece on the board" or whatever you think will fit in to one sprint....