Blog Clemens Reijnen

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.

    TMap 4 TFS WP7 App – Connect 2 TFS video explanation

    For all the people who don’t own a windows phone and want to see how the TMap for TFS App works… see this video.

    Posted: May 17 2012, 07:41 by ClemensReijnen | Comments (0) RSS comment feed |
    • Currently 0/5 Stars.
    • 1
    • 2
    • 3
    • 4
    • 5
    Filed under: ALM | MTM | TMap | VS2010 | VS11 | Testing

    TMap for TFS Windows Phone 7 App available in the marketplace.

    TMap (Test Management Approach) is a method for structured testing of software. An essential part of the method is the Life Cycle.

    SNAGHTML8b95af8

     

    image      image

    The TMap Life Cycle app describes the different phases of the TMap Life Cycle and has the capability to create TMap Test Tasks in your Team Foundation Server project.

    The TMap app also offers various downloads for checklists and templates supporting the TMap process. As well as the possibility to download books and papers.

    promo

     


    TMap for TFS menu’s

    The TMap for TFS App has four main menu’s; TMap, TFS, Sogeti and Books.

    1

    TMap is the entry point to the TMap Test Lifecycle. In this menu you can find the different Test Phases, from creation of the plan to the completion and preserving of the testing effort. Every phase has a page with exists out of five sections. Aim, discuses the why if the phase. The activities section shows the TMap test activities and has the capability to upload these to your TFS project, so they become part of your project task list. When you tap on an test activity item it show a more detailed description of this activity. Operation, describes how to run this phase and the products list gives you some guidelines which product should be realized during this phase. The toolbox section has a collection of tools and practices which you can use to execute this phase.

    Under the TFS menu you can make the settings and connection to your TFS project for uploading TMap test tasks. See section below for details.

    The menu Sogeti and Books provide some additional information.

    21 41 61 books

     

     


    Plug in

    TMap Test Tasks in Team Foundation Server Projects

    41

     

    The connection with TFS

     

    image51 Collection.
     
    The connection with TFS uses the OData service for TFS.
    When you want to use this for your own TFS server you need to install and configure the OData service for it, see the docs in the download
    You also can use it for your codeplex project. For these login settings see: CodePlex OData API.
    For TFS 11 Preview OData isn’t available.

    The TMap for TFS app saves your settings and will move to the next screen when connected.


    image

    projects


    Team Projects.

    Select or search for a Team Project where you are working on.
     

    image

    55


    Work Item.

    Make the default work item settings.
    Type the name for the work item type you want to create. For Codeplex projects this is ‘Work Item’ for Scrum projects this will be ‘Task’.
    Give the initial state of this work item type. For Codeplex this will be ‘Proposed’, for Scrum it will be ‘New’.
    Finaly set the area and iteration path of the work items. 








    Finally the created work items will appear in TFS and will be accessible by all Visual Studio client tools, Visual Studio, Microsoft Test Manager, Excel, SharePoint and by Web Access.
    5-6-2012 9-01-18 AM

    Posted: May 11 2012, 12:20 by ClemensReijnen | Comments (2) RSS comment feed |
    • Currently 1.333333/5 Stars.
    • 1
    • 2
    • 3
    • 4
    • 5
    Filed under: ALM | Agile | MTM | TMap | Testing | VS11 | VS2010 | dotnetmag

    08. Getting Testing Done in the Sprint – Write Logical Acceptance Tests

    During release planning meeting. Capture acceptance criteria and immediately add the as logical test cases to the PBI. It will help the team to understand, clarify the discussion and more important for this topic, it helps testers be involved, and be important at the early stages of the software cycle.

    Within VS11 | TFS11 this is very easy to accomplish:

    1. add the PBI to the backlog.image
    2. add logical test cases, from the backlog item work item. and only add the test case title.
      image
      image
    3. Start planning and execute the sprint
    4. open Microsoft Test Manager, add a test plan for the current sprint.
      image
    5. Add the Backlog items as Requirement Suites to the plan and see the test cases listed in the suite, ready to add test steps.
      image

     

    This is a very small tip, but is very useful to get testing involved in a sprint (see tip 01).

    Past Tips:
    01. Getting Testing Done in the Sprint - The Team and Activities
    02. Getting Testing Done in the Sprint – Regression Test Sets
    03. Getting Testing Done in the Sprint – Test Automation
    04. Getting Testing Done in the Sprint – Undone Backlog Item
    05. Getting Testing Done in the Sprint – No Double, Triple Testing
    06. Getting Testing Done in the Sprint – PBI Implementation Sequence
    07. Getting Testing Done in the Sprint – Risk and Business driven Tests

    Next Tips:
    09. Getting Testing Done in the Sprint – Test Tasks on the Board
    10. Getting Testing Done in the Sprint – Done
    11. Getting Testing Done in the Sprint - The Customer Test Team
    12. Getting Testing Done in the Sprint – The Test Branch

    Posted: Feb 28 2012, 16:54 by clemensreijnen | Comments (2) RSS comment feed |
    • Currently 1.481172/5 Stars.
    • 1
    • 2
    • 3
    • 4
    • 5
    Filed under: ALM | Agile | MTM | SCRUM | Testing | dotnetmag

    07. Getting Testing Done in the Sprint – Risk and Business driven Tests

    I really like the mindset “no risk, no test”. So, when there isn’t any business risk, there aren't any tests and is it easy to fit testing in a sprint. More realistic do a good risk analysis on your product backlog items before start writing thousands of tests. Also in scrum is risk an important attribute.

    The release plan establishes the goal of the release, the highest priority Product Backlog, the major risks, and the overall features and functionality that the release will contain.

    Products are built iteratively using Scrum, wherein each Sprint creates an increment of the product, starting with the most valuable and riskiest.

    Product Backlog items have the attributes of a description, priority, and estimate. Priority is driven by risk, value, and necessity. There are many techniques for assessing these attributes.

    from the scrum guide

    Within the TMap test approach product risk analysis is an important technique. Determine risk analyses are part of the proposed activities in the Master Test Plan of TMap: ‘Analysing the product risks’. It not only supports the Product Owner to make the right decisions it also the Team benefits in a later stage, this information is invaluable while defining the right test case design techniques for the Product Backlog Item.

    “The focus in product risk analysis is on the product risks, i.e. what is the risk to the organization if the product does not have the expected quality? ”
    www.TMap.net

    Having full product risk analysis for every Product Backlog Item during the Release Planning meeting is slightly overdone, but the major risks should be found. Determine product risks at this stage will also provide input for the Definition of Done list.

    3

    TMap Product Risk Analyses

    Within the Visual Studio Scrum 1.0 Process Template Product Backlog Items are written down in the Work Item Type ‘Product Backlog Item’. This Work Item Type hasn’t got a specific field for risk classifications. Adding a risk field is preferable (TFS Powertools makes this an easy task) so you can query on this property, or you can make the risk analyses a more product generic property.

    image

    TFS Scrum Product Backlog Item

    The flow with risk analyzing, classification, discussion and test design with the Product Owner can look like the diagram below.

    image

    But again most important for fitting testing in a sprint, know the risks use test design techniques to cover the risk and only write useful test cases.

    Post partly taken from previous posts:

     

    Past Tips:
    01. Getting Testing Done in the Sprint - The Team and Activities
    02. Getting Testing Done in the Sprint – Regression Test Sets
    03. Getting Testing Done in the Sprint – Test Automation
    04. Getting Testing Done in the Sprint – Undone Backlog Item
    05. Getting Testing Done in the Sprint – No Double, Triple Testing
    06. Getting Testing Done in the Sprint – PBI Implementation Sequence

    Next Tips:
    08. Getting Testing Done in the Sprint – Write Logical Acceptance Tests
    09. Getting Testing Done in the Sprint – Test Tasks on the Board
    10. Getting Testing Done in the Sprint – Done
    11. Getting Testing Done in the Sprint - The Customer Test Team
    12. Getting Testing Done in the Sprint – The Test Branch

    Posted: Feb 28 2012, 16:05 by clemensreijnen | Comments (3) RSS comment feed |
    • Currently 1.5/5 Stars.
    • 1
    • 2
    • 3
    • 4
    • 5
    Filed under: ALM | Agile | MTM | SCRUM | TMap | Testing | dotnetmag

    05. Getting Testing Done in the Sprint – No Double, Triple Testing

    One way of getting testing done in a sprint is making it [testing] as efficient as possible, meanwhile this also saves money. One way of getting more efficient is not doing things double or triple. An interesting thing with testing, we do test double or triple. We test it during unit, during unit integration, during functional and during acceptance testing, this can be done better, we could save a lot of time. I’ve seen teams which also automated all these types of tests, testing the same thing... not really efficient, they didn’t manage to get it done in a sprint.

    Each phase of the development process has its own test goals and depth of test coverage. The depth particularly depends upon the risks: higher probability of damage requires better test coverage. These test goals are especially aimed at discovering errors that can be found in that phase (“as early as possible”).

    • during unit testing the internal logic of the unit is tested,
    • the unit integration test needs to show that units ”understand” each other.
    • the system test needs to prove/demonstrate that the system complies with the functional requirements that have been agreed to,
    • finally, the acceptance test considers how the system fits into the environment in which it will operate.

    Test goals and (depth of) test coverage per phase are made compatible with each other using a Master Test Plan (see TMap® www.tmap.net).

    clip_image002

    Every test must be able to rely on previous tests, only then will the complexity of errors be contained to errors that were introduced during the last step. Setting up a learning cycle makes it possible to correct shortcomings, if any, in the testing process chain.

    Each phase of the development process and its corresponding test goal introduces a specific role with specific abilities and tasks. These roles are supported by specific ways of testing, often visualized in the Agile Test Quadrants.

    image

    http://lisacrispin.com/wordpress/2011/11/08/using-the-agile-testing-quadrants/

    How the quadrants work

    Tests on the left-hand quadrants help the team know what code to write, and know when they are done writing it. Tests on the right hand side help the team learn more about the code they’re written, and this learning often translates into new user stories and tests that feed back to the left-hand quadrants. Business stakeholders define quality criteria for the top two quadrants, while the bottom two quadrants relate more to internal quality and criteria.
    from:
    http://readytohelpfortesting.blogspot.com/2012/01/ttesting-quadrants.html

    How To.

    All these types should work together, and as already mentioned a Master Test Plan (see TMap® www.tmap.net) can help. What also can help; is getting the team together and discus it [what to test where]. This is even more important when the first tip isn’t in place (01. Getting Testing Done in the Sprint - The Team and Activities) or when there is a Customer Test Team (will be explained in tip: 11. Getting Testing Done in the Sprint - The Customer Test Team).

    I like the example: where it is very hard to create unit tests for a specific piece off functionality, like login screens. To create unit test you have to use a mocking framework that mimics the user database or AD. This takes some time implement and maintain, while the functional testers will use the login screen (and test it) every time they run a test. A nice piece of functionality to have a good discussion with the tester where to test and automate this.
    An other example is a really world scenario I’ve seen; this is where the developers created some great unit tests for input validation, the functional system testers created test scripts to tests the input validation and the acceptance tester tested the input validations... really a scenario where there wasn’t any communication between the testers and people didn’t trust each other (see 01. Getting Testing Done in the Sprint - The Team and Activities)

    More reading: the Test Automation Pyramid http://blog.goneopen.com/2010/08/test-automation-pyramid-review/

    Tool Support:

    All test types are supported by VS2010.

    • The development tester:
      This tester knows the inner workings of the system and makes use of test-frameworks to automate the tests that he wants to perform. This testing role, has been supported for a while now by technical aids as unit test frameworks in Visual Studio, and is primarily done by developers. VS2010 eases the life of the development tester by intelligent support of Test Driven Development.
    • The system tester:
      The system tester tests the system for completeness, whether requirements have been met. These are not only functional requirements, but also quality requirements like performance and security (see agile test quadrant).
      System testers use a lot of scripts to automate their activities, he/she would like to perform the same tests using various infrastructures and configurations. VS2010 has had Load- and Web testing for quite a while in the Test Edition and with the introduction of VS2010 the creation of test scripts is simplified by introduction of the ‘Coded UI’ framework.
    • The acceptance tester:
      The acceptance tester, also called user tester or black box tester, truly is a tester who performs a test of the application and knows nothing about the internal workings of the application. He/she constructs test cases using functional requirements, using various testing techniques.
      Acceptance testers, who often still use Excel sheets to perform their tasks, are abundantly well supported in Visual Studio 2010. Test cases are registered in TFS and he/she has access to Microsoft Test Manager on optimal support of, usually, manual testing activities.

    There isn’t any support to see if pieces of functionality are tested twice. But with unit test coverage and data diagnostic adapters for functional testing there are some capabilities in place to extract the information from the system. Maybe time to create a custom data diagnostic adapter, visualize it and compare it with the unit test coverage.

    Past Tips:
    01. Getting Testing Done in the Sprint - The Team and Activities
    02. Getting Testing Done in the Sprint – Regression Test Sets
    03. Getting Testing Done in the Sprint – Test Automation
    04. Getting Testing Done in the Sprint – Undone Backlog Item

    Next Tips:
    06. Getting Testing Done in the Sprint – PBI Implementation Sequence
    07. Getting Testing Done in the Sprint – Risk and Business driven Tests
    08. Getting Testing Done in the Sprint – Write Logical Acceptance Tests
    09. Getting Testing Done in the Sprint – Test Tasks on the Board
    10. Getting Testing Done in the Sprint – Done
    11. Getting Testing Done in the Sprint - The Customer Test Team
    12. Getting Testing Done in the Sprint – The Test Branch

    Posted: Jan 30 2012, 04:23 by clemensreijnen | Comments (3) RSS comment feed |
    • Currently 5/5 Stars.
    • 1
    • 2
    • 3
    • 4
    • 5
    Filed under: ALM | Agile | MTM | TMap | Testing | VS2010 | dotnetmag

    the one thing every tester was waiting for in Microsoft Test Manager… multiline support for test steps and rich text.

    alt enter does the magic…

    image

    now tester can write complete books in the test step field.

    image

    Posted: Sep 17 2011, 01:47 by ClemensReijnen | Comments (1) RSS comment feed |
    • Currently 2.153847/5 Stars.
    • 1
    • 2
    • 3
    • 4
    • 5
    Filed under: VS11 | MTM | ALM | Testing | dotnetmag

    MTLM Visual Studio 2010 ALM TRAINING GUIDE and DECKS

    Below the training guide and decks I use for Microsoft Test Manager Trainings, feel free to use it.
    One note, it is work in progress. I add, change, tune the guide every time I provide a MTM course.  

     

     

    Ping me if you want the editable versions, the project used for the labs, or course given to your organization.
    Posted: Sep 08 2011, 12:01 by ClemensReijnen | Comments (25) RSS comment feed |
    • Currently 2.166667/5 Stars.
    • 1
    • 2
    • 3
    • 4
    • 5
    Filed under: dotnetmag | VS2010 | Testing | TMap | Sogeti | MTM | ALM

    Fall Conference season speaking

     

    DevNetNoord (Groningen, Netherlands)

    29 September

    Title: Five Visual Studio features that make development testing fun.

    [DUTCH] Testen, leuk, dat meen je niet? Ik heb een hekel aan testen. Unit testen, systeem testen, acceptatie testen noem maar op, het staat in de weg van het 'echte' werk. Wij ontwikkelaars hebben geen tijd voor development testing, het is overbodig de code, de implementatie is perfect, maar het moet van mijn project leider. Tijdens deze demo rijke presentatie worden de features (Data Diagnostic Adapters, Test Impact Analyse, Spec Explorer (is een addon), Lab Management en CodedUI ) van Visual Studio besproken die het development testen leuk, interessant, uitdagend en effectief maken. Je krijgt meerdere handvaten om eenvoudig aan te kunnen tonen dat jouw implementatie perfect is.

    For more information please visit: http://www.devnetnoord.nl/

    Agile .Net 2011 Europe (Ghent, Belgium)

    10 and 11 October

    Title: Agile practices with Microsoft Visual Studio and Microsoft Test Manager.

    Agile teams find it hard to get the testing effort in sync with the other development activities. Not only development tests are executed during sprints as the main testing practices. All kind of testing activities are part of done. Functional, system and acceptance tests are executed during a sprint. Automation is the key, but test cases need to be written upfront. Continuous integration works for code but is it ready for test. Continuous delivery is the goal, how can we reach it.

    This session will give guidance how Microsoft Visual Studio and Microsoft Test Manager can support agile teams. How to run sprints, how to use the tools and what are the common pitfalls. Covered topics are:

    • backlog items and acceptance criteria
    • test tasks on the task board
    • branching and test cases
    • automated test plans
    • test plan organization
    • the bug backlog

    For more information please visit: http://www.agileminds.be/event/5

     

    WAZUG (Brussels, Belgium)

    20 October

    Title: ALM 4 Azure

    This session will guide you through how professional application development is done for and with the cloud.

    Application Lifecycle Management (ALM) is about working together. People, processes and tools all working together to create end-user systems quicker and better. This is valid for all application types: Mobile Devices, Windows Clients and Windows Azure systems. This session highlights how the ALM features in VS2010, TFS2010, Microsoft Test Manager and Windows Azure can contribute to a better combination of processes and tools. We'll optimize the "develop, build, deploy, test" lifecycle for a Windows Azure application.

    For more information please visit: http://www.azug.be/ 

    Visual Studio ALM days 2011 (München, Germany)

    23 and 24 November

    Title: Maintainable CodedUI tests – best practices from the field

    CodedUI tests within Visual Studio makes it easy for developers together with tester to create, fully-automated, functional user interface tests. These tests alert the team in an, easy to execute, automated way about regressions. CodedUI tests are easy to create for different UI technologies. But, all kinds of test automation needs an investment. To get a good return on this test automation investment you need to create CodedUI tests in a robust manner which can sustain changes to your application over time.

    In this session you will see how maintainable CodedUI tests can be created and how the test infrastructure needs to be configured for efficient execution.

    For more information please visit: http://www.teamconf.de/

    Posted: Sep 06 2011, 05:31 by ClemensReijnen | Comments (0) RSS comment feed |
    • Currently 3/5 Stars.
    • 1
    • 2
    • 3
    • 4
    • 5
    Filed under: dotnetmag | VS2010 | Testing

    large slide deck: technical meeting automated testing with vs2010

    Slide deck from a 3 hour presentation (in the north of the Netherlands) covering automated testing with vs2010: test case specification, execution, automation and test infrastructure with VS2010 CodedUI and Lab management.

    Posted: Jul 10 2011, 15:25 by ClemensReijnen | Comments (11) RSS comment feed |
    • Currently 0/5 Stars.
    • 1
    • 2
    • 3
    • 4
    • 5
    Filed under: ALM | MTM | TMap | Testing | VS2010 | dotnetmag

    Microsoft Test Manager - Test Runner–Playback error with C:\fakepath

    When executing a test case with Microsoft Test Runner with a step where you have to select a file in a web application, you get “C:\fakepath” for the location of the file you selected.

    For example in step 4 you need to select an image from the local disk. When you replay this action you get the c:\Fakepath folder. For sure this ruins the fat forward for you test case.  

    image

    This Fakepath comes from Internet Explorer and is a security feature which hides the real path selected path. The workaround to get the action recording up and running is to add the site to the trusted sites in the security tab of IE options.

    SNAGHTML50dcecd

    Posted: May 24 2011, 15:54 by ClemensReijnen | Comments (4) RSS comment feed |
    • Currently 1.444444/5 Stars.
    • 1
    • 2
    • 3
    • 4
    • 5
    Filed under: MTM | dotnetmag | VS2010 | Testing