Continued from http://dotnet.org.za/willy/archive/2008/11/19/visual-studio-2010-ctp-2-6-7-the-exciting-world-of-construction-part-1-2.aspx ... this is part two of two, focusing on construction.
Tour of VSTS 2010
Test Driven Development (TDD) , Code Analysis
... covered in part 1.
Program interruption
...while working with the test impact analysis, using my own test solution and team project, I noticed the following:
Notice ...
- The build log, the duration and in general the amount of information contained in the build report
- The legend, top left, which shows the build progress and past results graphically.
- The activity log, showing the overall position within the build.
- The menu ... and much more.
WOW!
Sorry, we can now get back to the regular program ... sorry for the deviation!
Test Impact Analysis
... my feedback on this is postponed and will be included in a separate post, as I am busy investigating some features and issues around the feature ... as soon as I understand my own mess, I will advise.
Manual test Cases
Camano is back, stronger than before, allowing us to organise tests into test suites and introducing structure and control to the test environment. Here are a few screen shots of the Camano environment:
To add a test case we select "new test case":
We then complete the details of the test case, including manual test steps:
... and link it to a user story:
... as shown the user story (1) and the test cases (2) are visible to the solution stakeholders through the more classical interfaces, i.e. Team Explorer, as well.
The Camano product is one to keep an eye on. I am not a typical tester and am therefore more excited about other features, such as the next q;-)
Branch Visualisation
.
The final visualisation model has finally entered the picture, the "branch visualisation" diagram or rather diagrams.
... find a work item, right click and select Track Work Item.
... select the relevant branches ... for the demo we selected all.
Now watch with amazement, because the long awaited visualisation of branches materialises in front of our eyes (click on the image for a larger view):
| Track on timeline view | Track on Hierarchy view | Highlight Merges to Source branch |
| | | |
... then comes more magic. Select a changeset and drag to another branch, i.e. INTEGRATION -> MAIN as shown:
Which starts a merge process:

Once complete we can see the completed merger visually off course:
This is the feature that I am getting really excited about in this post, because we can finally visualise the branching world, which will allow more teams to effectively use branching and merging without having to be terrified of an invisible branching hell.
Gated Check-in
Finally we must mention the new build type, that was unfortunately not in CTP1, the Gated Check-In:

Any check-in will be stopped by the GATE, notifying the user that check-ins must be verified before being processed:
In the background, the gated check-in environment creates a shelveset:
Starts a build and if successful, automatically checks-in the changes:
Note that the options of the Gated Check-In allow preservation of pending changes locally and a bypass (not recommended) of the validation:

Gated Check-In ... a great feature, but one I need to mull over a bit more before getting too excited q;-)
Diagram | Model Summary ... we have completed the list
| Diagram | Usage |
| Activity | Visualise the workflow through a system |
| Use Case | Visualise the interaction between users (actors) and the system |
| Sequence | Visualise the sequence of interaction between users (actors) and the system |
| Component | Visualise the functional division of a system |
| Logical Class | Visualise the classes and interfaces, as well as relationships in the system |
| Architecture Exploration | Visualise the various pieces of a system and their dependencies |
| Layer | Visualise the software assets that provide behaviour into groups, called layers and validate architecture |
| Branching | Visualise the hierarchy and timeline of branches |
Summary
What is exceptionally exciting is the fact that Test Driven Development?Design (TDD) is now feasible and combined with the branch visualisation modelling, the 2010 CTP2 development environment get my thumbs up. I believe that there is a need for serious guidance and "101 how to use" documentation, because the functionality and options are literally exploding in our faces.
My 'personal' rating, based on a 5 smiley (maximum) system ...
| Preview Walk-through document | ☻☻☻☻☻ | Ditto. |
| Visual Studio Team System 2010 | ☻☻☻☻ | With the gated check-in and especially the branch vitalization taking on shape I am tempted to give five smiley's. I will, however, resort to a four as I have simply not had time to explore all the features and will need a lot more time and documentation to actually understand all the features. |
| Team Foundation Server 2010 | ☻☻☻☻☻ | The server/services of TFS have behaved themselves very well, even under the most difficult circumstances ... VPC, little memory, ... at this stage full points. |
Average evaluation rating so far is 52 smiley's out of 55, i.e. 4.73/5 score
Accumulative Wish List
- Ability to insert|paste images into the description and history fields of work items.
- Ability to select a list of source files or projects in a new view (list of graphical), which allows analysts to determine the impact on the test impact if specific projects or files re touched, without having to make code changes.
Concern / Observation List
- Performance and stability of the IDE is a concern, but as we are working with a CTP and functionality is currently dominating the priority list, I am convinced that reliability, stability and performance concerns will evaporate in the next CTPs/BETAs.
- Some of the modelling tools, especially architecture explorer, are very resource hungry. My 1.5GB ram virtual environment often had the gulp ... telling me to "go for coffee, while I give the external drive a beating" ... processing different viewing modes.
- Running all of TFS 2010 and VSTS 2010 on the same virtual machine has proven to be a patience tester ... if you can give the VPC more than one processor and more than 2GB on Hyper-V, then that is the way to go. Running it in Virtual PC with 1.25GB or 1.5GB is not a pleasurable experience.
The next post will explore the new Testing features ...