Adding test cases to user stories (Backlog items) before the sizing session












4















Scenario: I was asked by management if it is a good idea to add test cases to user stories before the sizing session. This will involve investigating the item, writing test cases, speaking to developers / architects to ensure areas are covered and adding more if needed.



During a normal sizing activity, the team will take an item from the backlog, discuss it briefly, and each member will mentally formulate an estimate. From a developers perspective, they don't build a prototype, they discuss the item and then size the item.



So after doing some research, I am not comfortable for the team to create test cases before sizing because there might be discussions in the sizing session and we might uncover issue with acceptance criteria or the priority might change or technologies might change, as we know the IT industry is always evolving.



I think this should be factored in with the sizing session. The test cases can be created after the item is pulled into the sprint.



Have anyone tried this before or do you have any concerns or ideas that might help.










share|improve this question





























    4















    Scenario: I was asked by management if it is a good idea to add test cases to user stories before the sizing session. This will involve investigating the item, writing test cases, speaking to developers / architects to ensure areas are covered and adding more if needed.



    During a normal sizing activity, the team will take an item from the backlog, discuss it briefly, and each member will mentally formulate an estimate. From a developers perspective, they don't build a prototype, they discuss the item and then size the item.



    So after doing some research, I am not comfortable for the team to create test cases before sizing because there might be discussions in the sizing session and we might uncover issue with acceptance criteria or the priority might change or technologies might change, as we know the IT industry is always evolving.



    I think this should be factored in with the sizing session. The test cases can be created after the item is pulled into the sprint.



    Have anyone tried this before or do you have any concerns or ideas that might help.










    share|improve this question



























      4












      4








      4








      Scenario: I was asked by management if it is a good idea to add test cases to user stories before the sizing session. This will involve investigating the item, writing test cases, speaking to developers / architects to ensure areas are covered and adding more if needed.



      During a normal sizing activity, the team will take an item from the backlog, discuss it briefly, and each member will mentally formulate an estimate. From a developers perspective, they don't build a prototype, they discuss the item and then size the item.



      So after doing some research, I am not comfortable for the team to create test cases before sizing because there might be discussions in the sizing session and we might uncover issue with acceptance criteria or the priority might change or technologies might change, as we know the IT industry is always evolving.



      I think this should be factored in with the sizing session. The test cases can be created after the item is pulled into the sprint.



      Have anyone tried this before or do you have any concerns or ideas that might help.










      share|improve this question
















      Scenario: I was asked by management if it is a good idea to add test cases to user stories before the sizing session. This will involve investigating the item, writing test cases, speaking to developers / architects to ensure areas are covered and adding more if needed.



      During a normal sizing activity, the team will take an item from the backlog, discuss it briefly, and each member will mentally formulate an estimate. From a developers perspective, they don't build a prototype, they discuss the item and then size the item.



      So after doing some research, I am not comfortable for the team to create test cases before sizing because there might be discussions in the sizing session and we might uncover issue with acceptance criteria or the priority might change or technologies might change, as we know the IT industry is always evolving.



      I think this should be factored in with the sizing session. The test cases can be created after the item is pulled into the sprint.



      Have anyone tried this before or do you have any concerns or ideas that might help.







      scrum estimation testing






      share|improve this question















      share|improve this question













      share|improve this question




      share|improve this question








      edited yesterday









      Aziz Shaikh

      2,7461535




      2,7461535










      asked yesterday









      RuanRuan

      11118




      11118






















          2 Answers
          2






          active

          oldest

          votes


















          6














          A short answer to start with. If you have the Product Owner available with a well-defined list of Acceptance Criteria against User Stories, your agile team can conduct an effective Story Sizing session.



          Agile estimation (specially the Story Points estimation technique) is based on relative sizing. You need don't need to have 100% clarity to estimate stories based on relative complexity and effort required to complete them.



          Scrum framework does not dictate whether the team writes test cases or not. The expectation, at the end of every sprint, is to complete the sprint backlog as "done".



          Acceptance criteria is generally the source of test cases (whether manual or automated). AC are the conditions which will satisfy the PO on the working software that the team delivers after the sprint. Before test cases can be written, the PO should write good user story and acceptance criteria.



          Test scripts will make sure that the software meets the acceptance criteria under various scenarios and situations. While writing test cases a team member may come across unknown areas that would require changes in the existing acceptance criteria. Which is absolutely fine in the agile world. There are different approaches to tackle this learning/change.



          For the sizing activity, discussion between PO and team is more important then having details in form of test cases, including performance, load, negative scenarios which may be useful later on but is a waste at the moment.






          share|improve this answer































            1














            Scrum is a balancing act between:




            • Preparing user stories so that the team can effectively work on them in sprints

            • Not doing too much up front work so that you are able to respond to change.


            Every team needs to find the right balance point that suits their organisation and way of working.



            If you spend time producing test cases on stories in the backlog then you may be better prepared for sprints.



            However, there are a number of disadvantages to this approach:




            • If priorities change or new work appears that the effort spent will be wasted or there is an opportunity cost - you could have better spent your time elsewhere

            • There is the risk that if you put a lot of up-front effort into stories that there will be a reluctance to accept change

            • As you mentioned, there is the risk of technical changes or discovery invalidating some of your work


            I would suggest that if you do decide to add test cases in advance you treat it as an experiment. Give it a period of time (say 3-4 sprints) and then see if it has worked out to be of benefit.






            share|improve this answer























              Your Answer








              StackExchange.ready(function() {
              var channelOptions = {
              tags: "".split(" "),
              id: "208"
              };
              initTagRenderer("".split(" "), "".split(" "), channelOptions);

              StackExchange.using("externalEditor", function() {
              // Have to fire editor after snippets, if snippets enabled
              if (StackExchange.settings.snippets.snippetsEnabled) {
              StackExchange.using("snippets", function() {
              createEditor();
              });
              }
              else {
              createEditor();
              }
              });

              function createEditor() {
              StackExchange.prepareEditor({
              heartbeatType: 'answer',
              autoActivateHeartbeat: false,
              convertImagesToLinks: false,
              noModals: true,
              showLowRepImageUploadWarning: true,
              reputationToPostImages: null,
              bindNavPrevention: true,
              postfix: "",
              imageUploader: {
              brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
              contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
              allowUrls: true
              },
              noCode: true, onDemand: true,
              discardSelector: ".discard-answer"
              ,immediatelyShowMarkdownHelp:true
              });


              }
              });














              draft saved

              draft discarded


















              StackExchange.ready(
              function () {
              StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fpm.stackexchange.com%2fquestions%2f25708%2fadding-test-cases-to-user-stories-backlog-items-before-the-sizing-session%23new-answer', 'question_page');
              }
              );

              Post as a guest















              Required, but never shown

























              2 Answers
              2






              active

              oldest

              votes








              2 Answers
              2






              active

              oldest

              votes









              active

              oldest

              votes






              active

              oldest

              votes









              6














              A short answer to start with. If you have the Product Owner available with a well-defined list of Acceptance Criteria against User Stories, your agile team can conduct an effective Story Sizing session.



              Agile estimation (specially the Story Points estimation technique) is based on relative sizing. You need don't need to have 100% clarity to estimate stories based on relative complexity and effort required to complete them.



              Scrum framework does not dictate whether the team writes test cases or not. The expectation, at the end of every sprint, is to complete the sprint backlog as "done".



              Acceptance criteria is generally the source of test cases (whether manual or automated). AC are the conditions which will satisfy the PO on the working software that the team delivers after the sprint. Before test cases can be written, the PO should write good user story and acceptance criteria.



              Test scripts will make sure that the software meets the acceptance criteria under various scenarios and situations. While writing test cases a team member may come across unknown areas that would require changes in the existing acceptance criteria. Which is absolutely fine in the agile world. There are different approaches to tackle this learning/change.



              For the sizing activity, discussion between PO and team is more important then having details in form of test cases, including performance, load, negative scenarios which may be useful later on but is a waste at the moment.






              share|improve this answer




























                6














                A short answer to start with. If you have the Product Owner available with a well-defined list of Acceptance Criteria against User Stories, your agile team can conduct an effective Story Sizing session.



                Agile estimation (specially the Story Points estimation technique) is based on relative sizing. You need don't need to have 100% clarity to estimate stories based on relative complexity and effort required to complete them.



                Scrum framework does not dictate whether the team writes test cases or not. The expectation, at the end of every sprint, is to complete the sprint backlog as "done".



                Acceptance criteria is generally the source of test cases (whether manual or automated). AC are the conditions which will satisfy the PO on the working software that the team delivers after the sprint. Before test cases can be written, the PO should write good user story and acceptance criteria.



                Test scripts will make sure that the software meets the acceptance criteria under various scenarios and situations. While writing test cases a team member may come across unknown areas that would require changes in the existing acceptance criteria. Which is absolutely fine in the agile world. There are different approaches to tackle this learning/change.



                For the sizing activity, discussion between PO and team is more important then having details in form of test cases, including performance, load, negative scenarios which may be useful later on but is a waste at the moment.






                share|improve this answer


























                  6












                  6








                  6







                  A short answer to start with. If you have the Product Owner available with a well-defined list of Acceptance Criteria against User Stories, your agile team can conduct an effective Story Sizing session.



                  Agile estimation (specially the Story Points estimation technique) is based on relative sizing. You need don't need to have 100% clarity to estimate stories based on relative complexity and effort required to complete them.



                  Scrum framework does not dictate whether the team writes test cases or not. The expectation, at the end of every sprint, is to complete the sprint backlog as "done".



                  Acceptance criteria is generally the source of test cases (whether manual or automated). AC are the conditions which will satisfy the PO on the working software that the team delivers after the sprint. Before test cases can be written, the PO should write good user story and acceptance criteria.



                  Test scripts will make sure that the software meets the acceptance criteria under various scenarios and situations. While writing test cases a team member may come across unknown areas that would require changes in the existing acceptance criteria. Which is absolutely fine in the agile world. There are different approaches to tackle this learning/change.



                  For the sizing activity, discussion between PO and team is more important then having details in form of test cases, including performance, load, negative scenarios which may be useful later on but is a waste at the moment.






                  share|improve this answer













                  A short answer to start with. If you have the Product Owner available with a well-defined list of Acceptance Criteria against User Stories, your agile team can conduct an effective Story Sizing session.



                  Agile estimation (specially the Story Points estimation technique) is based on relative sizing. You need don't need to have 100% clarity to estimate stories based on relative complexity and effort required to complete them.



                  Scrum framework does not dictate whether the team writes test cases or not. The expectation, at the end of every sprint, is to complete the sprint backlog as "done".



                  Acceptance criteria is generally the source of test cases (whether manual or automated). AC are the conditions which will satisfy the PO on the working software that the team delivers after the sprint. Before test cases can be written, the PO should write good user story and acceptance criteria.



                  Test scripts will make sure that the software meets the acceptance criteria under various scenarios and situations. While writing test cases a team member may come across unknown areas that would require changes in the existing acceptance criteria. Which is absolutely fine in the agile world. There are different approaches to tackle this learning/change.



                  For the sizing activity, discussion between PO and team is more important then having details in form of test cases, including performance, load, negative scenarios which may be useful later on but is a waste at the moment.







                  share|improve this answer












                  share|improve this answer



                  share|improve this answer










                  answered yesterday









                  Aziz ShaikhAziz Shaikh

                  2,7461535




                  2,7461535























                      1














                      Scrum is a balancing act between:




                      • Preparing user stories so that the team can effectively work on them in sprints

                      • Not doing too much up front work so that you are able to respond to change.


                      Every team needs to find the right balance point that suits their organisation and way of working.



                      If you spend time producing test cases on stories in the backlog then you may be better prepared for sprints.



                      However, there are a number of disadvantages to this approach:




                      • If priorities change or new work appears that the effort spent will be wasted or there is an opportunity cost - you could have better spent your time elsewhere

                      • There is the risk that if you put a lot of up-front effort into stories that there will be a reluctance to accept change

                      • As you mentioned, there is the risk of technical changes or discovery invalidating some of your work


                      I would suggest that if you do decide to add test cases in advance you treat it as an experiment. Give it a period of time (say 3-4 sprints) and then see if it has worked out to be of benefit.






                      share|improve this answer




























                        1














                        Scrum is a balancing act between:




                        • Preparing user stories so that the team can effectively work on them in sprints

                        • Not doing too much up front work so that you are able to respond to change.


                        Every team needs to find the right balance point that suits their organisation and way of working.



                        If you spend time producing test cases on stories in the backlog then you may be better prepared for sprints.



                        However, there are a number of disadvantages to this approach:




                        • If priorities change or new work appears that the effort spent will be wasted or there is an opportunity cost - you could have better spent your time elsewhere

                        • There is the risk that if you put a lot of up-front effort into stories that there will be a reluctance to accept change

                        • As you mentioned, there is the risk of technical changes or discovery invalidating some of your work


                        I would suggest that if you do decide to add test cases in advance you treat it as an experiment. Give it a period of time (say 3-4 sprints) and then see if it has worked out to be of benefit.






                        share|improve this answer


























                          1












                          1








                          1







                          Scrum is a balancing act between:




                          • Preparing user stories so that the team can effectively work on them in sprints

                          • Not doing too much up front work so that you are able to respond to change.


                          Every team needs to find the right balance point that suits their organisation and way of working.



                          If you spend time producing test cases on stories in the backlog then you may be better prepared for sprints.



                          However, there are a number of disadvantages to this approach:




                          • If priorities change or new work appears that the effort spent will be wasted or there is an opportunity cost - you could have better spent your time elsewhere

                          • There is the risk that if you put a lot of up-front effort into stories that there will be a reluctance to accept change

                          • As you mentioned, there is the risk of technical changes or discovery invalidating some of your work


                          I would suggest that if you do decide to add test cases in advance you treat it as an experiment. Give it a period of time (say 3-4 sprints) and then see if it has worked out to be of benefit.






                          share|improve this answer













                          Scrum is a balancing act between:




                          • Preparing user stories so that the team can effectively work on them in sprints

                          • Not doing too much up front work so that you are able to respond to change.


                          Every team needs to find the right balance point that suits their organisation and way of working.



                          If you spend time producing test cases on stories in the backlog then you may be better prepared for sprints.



                          However, there are a number of disadvantages to this approach:




                          • If priorities change or new work appears that the effort spent will be wasted or there is an opportunity cost - you could have better spent your time elsewhere

                          • There is the risk that if you put a lot of up-front effort into stories that there will be a reluctance to accept change

                          • As you mentioned, there is the risk of technical changes or discovery invalidating some of your work


                          I would suggest that if you do decide to add test cases in advance you treat it as an experiment. Give it a period of time (say 3-4 sprints) and then see if it has worked out to be of benefit.







                          share|improve this answer












                          share|improve this answer



                          share|improve this answer










                          answered 18 hours ago









                          Barnaby GoldenBarnaby Golden

                          8,6501823




                          8,6501823






























                              draft saved

                              draft discarded




















































                              Thanks for contributing an answer to Project Management Stack Exchange!


                              • Please be sure to answer the question. Provide details and share your research!

                              But avoid



                              • Asking for help, clarification, or responding to other answers.

                              • Making statements based on opinion; back them up with references or personal experience.


                              To learn more, see our tips on writing great answers.




                              draft saved


                              draft discarded














                              StackExchange.ready(
                              function () {
                              StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fpm.stackexchange.com%2fquestions%2f25708%2fadding-test-cases-to-user-stories-backlog-items-before-the-sizing-session%23new-answer', 'question_page');
                              }
                              );

                              Post as a guest















                              Required, but never shown





















































                              Required, but never shown














                              Required, but never shown












                              Required, but never shown







                              Required, but never shown

































                              Required, but never shown














                              Required, but never shown












                              Required, but never shown







                              Required, but never shown







                              Popular posts from this blog

                              "Incorrect syntax near the keyword 'ON'. (on update cascade, on delete cascade,)

                              Alcedinidae

                              RAC Tourist Trophy