C l e m e n s

Recent posts

Tags

Categories

Navigation

Pages

Archive

Blogroll

    Disclaimer

    The opinions expressed herein are my own personal opinions and do not represent my employer's view in anyway.

    VSTS 2010 Test Edition at the TMap® Dag 2009 [Dutch]

    tmap dag
    Theorie en praktijk wisselen elkaar af met onderwerpen als TMap NEXT®, ketentesten, security testen, Agile testen en nog veel meer actuele onderwerpen.
    Tijdens de TMap® Dag 2009 wordt het nieuwe boek TPI® NEXT gelanceerd! Een compleet herziene versie van het TPI® model waarin voor het eerst de business doelen écht een ssentiële rol spelen.

    WS8 -- De TMap NEXT® Proces template voor Visual Studio Team System
    Gerard van der Pol, Microsoft
    Visual Studio Team System ondersteunt uw procesbenadering voor software ontwikkeling door het gebruik van Proces Templates. De guidance en werkwijze kunnen hierdoor transparant worden ondersteund door de in het project gebruikte tooling. Voor de nieuwe 2010 release
    van Visual Studio Team System is er een proces template in de maak rondom TMap NEXT®.
    Deze sessie introduceert de TMap NEXT® proces template en laat zien welke voordelen er te verwachten zijn door deze te hanteren. Tevens zullen we laten zien op welke wijze de template aansluit op de bestaande en nieuwe test functionaliteit in Team System.

    Programma [pdf]

    Datum: 17 november 2009
    Locatie: Hotel van der Valk, Vianen
    Aanmelden:
    www.sogeti.nl

    Posted: Oct 09 2009, 11:08 by ClemensReijnen | Comments (27) RSS comment feed |
    • Currently 0/5 Stars.
    • 1
    • 2
    • 3
    • 4
    • 5
    Filed under: VSTS Testing | VSTS2010 | ALM | TMap

    02: Management, preserving and organization of manual test cases within VSTS 2010.

    • Part 00: Agile Testing with VSTS 2010 and TMap
    • Part 01: User Stories
    • [current post, removed the Agile Testing blablabla and part pre-fix]

    This post belongs to the series of “Agile Testing with VSTS 2010 and TMap” although this topic has a wider scope, in used software delivery methodology you have to think about test case management.

    A small introduction.

    First a small introduction to give some direction on the needs of test case management.
    The drawing below I made during a discussion with several TMap experts and explains how test cases are created and executed in a simple situation.

    From top to bottom and left to right.
    _MG_2894_edited-1

    1 Teams start brainstorm over user needs, create stories and write these down on cards together with acceptance criteria.
    Within VSTS 2010 this can be done in the work item type ‘user story’ [see previous post].
    2 After prioritizing the stories, teams start the iterations by brainstorm on implementation tasks and test tasks.
    Again, within VSTS 2010 this can be done in the work item type ‘user story’ [see previous post]. 
     3   4 Next, the sources and test case are going to be created, developed. Within VSTS 2010 source files in the IDE and than added to version control. Test cases are added as work item to TFS.
    5 The source files are build, unit tested, labeled, packaged and finally deployed on a test environment where the manual test cases are executed against this deployment

    All the artifacts created by tasks are under version control, except test cases. 

    All the sources and corresponding automated tests like, unit tests, load tests, web tests and codedui tests are under version control. Getting the latest version of the sources also gets the latest version of these tests. But, also when using the more sophisticated capabilities of version control, like branching and merging, the tests also have this characteristics.

    Manual test cases different, they are work items and aren’t under version control they have a history. Belong [often] to a user story. So, it gets interesting when making the above scenario more real live with sources and automated tests under version control with branching and merging. See drawing below…

    _MG_2903_edited-1

    • User stories, sources and test case are created [top left].
    • [red line] A branch is made from the first version to start the development of an other version.
    • User story 2 [center] is added to this branch [new/ added user needs], also sources are added to this branch and test cases are created.
    • Finally version 2 is build and the test case of user story 2 are executed [bottom right].

    Dotted red line; while there was a branch created from the sources, no branch was created from the test cases of user story 1 [top left], resulting in a version 2 with only partial tested functionality.

    This branching scenario is very simple, there are some more complicated ones as you can read in Microsoft Team Foundation Server Branching. This 2006 MSDN story has also some nice branching and merging strategies.

    b

    The need for test case management within VSTS 2010.

    This branching, merging and the decoupled characteristic of test cases is one of the reasons why we need test case management. We manually need to organize and manage our test cases in such a way that every iteration, version, service pack, hot fix and release is sufficient tested and to prove that its well tested.

    As described in the paper Test Cube principle [pdf]:

    A good test set (= collection of test cases) is of priceless value. During the realization of an application it is the basis for the reporting concerning test coverage and progress. In a maintenance situation it is a source of knowledge concerning the application and a source of ready-made test cases for regression tests.

    In the next post we will have a look / deep dive in the capabilities of TFS 2010, MTLM [Test and Lab manager] how they fulfil the needs of test case management and in what way the TMap process template helps this process.

    One part of the solution and even an agile one: automate the manual test cases as quick as possible and put them under version control. Next post more…



    Posted: Sep 09 2009, 04:40 by clemensreijnen | Comments (16) RSS comment feed |
    • Currently 0/5 Stars.
    • 1
    • 2
    • 3
    • 4
    • 5
    Filed under: VSTS Testing | VSTS2010 | ALM | Agile | TMap

    Agile Testing with VSTS 2010 and TMap: Part 01-User stories

    Previous post:

    • Part 00: Agile Testing with VSTS 2010 and TMap
    • … [current post]
    User stories breakdown...

    This post is about the work breakdown of user stories during the planning phase of an iteration.

    Dd380634_PlanIteration(en-us,VS_100)
    [image from the documentation about VSTS 2010 on MSDN, this page]

    During the planning phase of the project, also called iteration 0 [first blue piece], user stories are collected / brainstormed / defined /… in VSTS this information is collected in the new work item type ‘user story’ [image below].  

    4

    During the planning of the iteration developers the team start to breakdown the user stories [which are selected for that iteration] in implementation tasks. Within VSTS this is done in the implementation tab. The new 2010 functionality of hierarchies between work items is used for this.

    2

    Another task also executed during this phase is the creation of test cases. Within the TMap methodology this is described in the planning phase. Where you create the test plan for that iteration, based on the risk class [see user story work item] and discussion with the customer the necessary test techniques are allocated for the user story and functional area.  See the initial work items for iteration 1 in the image below, added during the unfolding of the TMap process template.

    1

    So, not only the implementation tasks needs to be determined also the test tasks needs to be allocated during the planning phase of an iteration. These test tasks are specific to testers like ‘create test cases for area …. based on the test technique <… decide based on risk and customer contact>
    11
    List of different test techniques…

    • Data combination test (DCoT)
    • Data cycle test (DCyT)
    • Decision table test (DTT)
    • Elementary comparison test (ECT)
    • Error guessing (EG)
    • Error testing (ET)
    • Process cycle test (PCT)
    • Real life test (RLT)
    • Semantic test (SEM)
    • Syntactic test (SYN)
    • Use case test (UCT)

    So, just like the implementation tasks also the test tasks are a link type, have hierarchy with, the user story. [this is TMap process template specific]

    Untitled

    We end up with a list of tasks for a user story, implementation tasks and test tasks… testers and developers are going to execute these tasks together in parallel, during the iteration we have: implemented sources for the user story and test cases which are ready for execution. This user story is finished when: every implementation task is fulfilled, all test cases are successful executed and … the tester hasn’t got any open tasks, so all test cases are created.

    When giving the tester/ the team a place where they can record their testing tasks, testing is really going to be a first class citizen of the lifecycle. beside this benefit the connection between test activities, risk, user story and test cases gives a great opportunity for reports based on test effort, risks and implementation, later on more on this…

    With this this lightweight addition to the user story work item we got a closer to several Agile Testing key characteristics, for example:

  • Customer involvement in writing tests. –> just like the developers, testers breakdown there work discusing it with the customer
  • An iteration is ready when the tests succeed. –> and all tests are created..!

  • Posted: Sep 03 2009, 09:55 by clemensreijnen | Comments (23) RSS comment feed |
    • Currently 0/5 Stars.
    • 1
    • 2
    • 3
    • 4
    • 5
    Filed under: VSTS Testing | VSTS2010 | ALM | Agile

    Agile Testing with VSTS 2010 and TMap: Part 00

    Part, because I’m planning several posts around this topic.
    00, because this is the ‘setting the stage’ post…

    While in the Agile manifesto is written: “Individuals and interactions over processes and tools” I will cover in the coming posts information how individuals and there interactions are supported by tools and processes.

    slide0031_image059

    Several characteristics of agile testing [in random order].

    • Lightweight implementation of tools and processes.
    • Find bugs as early as possible.
    • Don’t do things twice, just enough testing.
    • Short feedback loops to the team.
    • Customer involvement in writing tests.
    • An iteration is ready when the tests succeed.
    • There needs to be space for exploratory testing.
    • Focus on automation.
    • Repeatability is a key success factor, frequent testing.
    • Pair testing.

    Tool and processes support should focus on these characteristics. At this moment the tool support with VSTS 2010 for the tester is getting really mature [see this post]. So, beside the agile support for the developer like TDD, refactoring, continuous builds, guidance and many other things [see this post and image below].

    5

    Also the tester wants / needs this kind of support, beside an easy connection with all the capabilities developers have he needs the capabilities to execute his work in an agile team… 

    So, what practices needs to be in place for the tester within a VSTS 2010 agile project? just randomly start using the offered tools isn’t the right direction. In the coming posts I will capture some thoughts, practices and lessons learned from around the world…

    As a start some useful agile testing links:

    Posted: Aug 28 2009, 06:52 by clemensreijnen | Comments (4) RSS comment feed |
    • Currently 0/5 Stars.
    • 1
    • 2
    • 3
    • 4
    • 5
    Filed under: VSTS Testing | VSTS2010 | ALM | Agile

    TMap Process Template for VSTS2010 – Short Version

    Got way too much comments on the length of the TMap process template ‘overview’ video, I know 38 minutes is long for listing to me, my wife even can hold it for 38 seconds, wen I start talking about my work ;-). So, I made a ‘community cut’, a shorter version with only the highlights of the extended version…

    I’ll keep the YouTube constrains for other video’s, max 10 minutes. [post a comment if that's even too long]

    just saw that the end is a bit strange/ abrupt, don’t know what went wrong, will change it on a latter time

    Posted: Aug 25 2009, 07:15 by clemensreijnen | Comments (6) RSS comment feed |
    • Currently 0/5 Stars.
    • 1
    • 2
    • 3
    • 4
    • 5

    TMap Process Template for VSTS2010 - Overview Video

    This is an update of the work we have been doing regarding TMap [a widely adopted test approach] and VSTS2010. With the release of Beta1 of VSTS2010 we’ve started to build a TMap test process template. This 38 minutes video recording [silverlight] is an overview of this work in progress. Feel free to give us any kind of feedback, by using the comment form or by sending a mail directly at Clemens dot Reijnen at Sogeti dot nl and introduction story can be found here.

    TMapProcesstemplateOverviewVideo

    Windows Flag

    WMV [127 Mb]
    Zune Zune [66 Mb]
    IPod IPod [59 Mb]

    PMP-10

    MP4 [29Mb]


    Posted: Jul 24 2009, 15:46 by ClemensReijnen | Comments (3) RSS comment feed |
    • Currently 0/5 Stars.
    • 1
    • 2
    • 3
    • 4
    • 5

    VSTS 2010 TMap Process Template 1,2 and 3

    As probably everybody already know, Microsoft is going to deliver a toolset for the tester with Visual Studio Team System 2010. If you didn’t know this, you can start by reading several previous posts on this blog, on Rob’s blog or on Bing. It’s not only going to support development testing or system testing but the whole stack of the testing practice including acceptance testing [manual testing].

    Picture1

    This support for all the different test tasks by VSTS 2010, combined with the power of TFS 2010 to guide processes and Sogeti’s method for structured software testing ‘TMap’ is a major win to the application lifecycle. To get this structured software testing method ‘TMap’ into TFS2010 we made a process template.

    Now it’s a bit useless to deliver a process template only for the testing practice, although there are situations where it can be used. But, mostly the conditions are that testing practices are executed during the software development lifecycle. This is a big challenge when offering a method for structured software testing, needs to fit the software development lifecycle.

    image_2
    This challenge is also in place with the Secure Development Lifecycle Process template. The SDL team made template for secure software development, what is really great, but actually every software development process should be secure. So secure processes should be merged with existing templates as Brian Harry writes in his post “The Microsoft SDL Process Template and the Future

    I think everyone understands that we don’t just want “one template for secure software development”   

    The same counts for testing. There is one big problem in this situation… process templates don’t merge very well. So, what we did to deliver TMap to VSTS2010 is creating more several templates.

    First a standalone template. I know it’s useless in most situations, but for example when a customer want to manually test the application disconnected from the development team another situation where you can use a standalone template is in our test lines and StaaS offering, both situations where we are testing [manually] the application disconnected from the development environment, but with a TFS connection. 

    The second template delivery we made is a combined one. TMap processes combined with the In-the-box MSF/ CMM templates. Now I know nobody uses these templates without editing them. But, by providing a combined version people / companies who do a small edit on the existing [in-the-box ] templates can use these.

    The last delivery is a bit more challenging and we didn’t finalize this one yet. We are delivering the XML so you can manually merge the TMap processes with your own template.

    TMap Process Template

    1. Standalone TMap process Template.
    2. Combined TMap processes with the MSF Agile and CMM  process templates.
    3. TMap processes merged with any existing templates.

    Which one would you like to use?
    [next post, what's in it…]

    Posted: Jul 03 2009, 04:13 by clemensreijnen | Comments (2) RSS comment feed |
    • Currently 0/5 Stars.
    • 1
    • 2
    • 3
    • 4
    • 5