Tag | Testing Posts

Our free extension to Visual Studio , the folder based Build Explorer Version 1.1 has now been released, and uploaded to the Visual Studio Gallery and Codeplex. We have collected up a few changes and some bugs, as follows: Changes: Queue Default Builds can now be optionally fully enabled, fully disabled or enabled just for leaf nodes (=disabled for folders). If you got a large number of builds it was pretty scary to be able to launch all of them with just one click. However, it is nice to avoid having ...
There's a new movement rumbling around Red Gate Towers - the Lean Startup. At its core is the idea that you don't have to be in a company with single-digit employees to be an entrepreneur; you simply have to (being blunt) not know what you should be doing. Specifically, you accept that you don't know everything you need to know in order to create a useful, successful & profitable product. This is something that Red Gate has had problems with in the past; we've created products that weren't aimed ...
UPDATED March 24th 2016: Test Data Retention is now added to TFS 2015 Update 1, see this post for more information.UPDATED Apr 15th 2013: Corrected to VS2012 Update 2 UPDATED Mar 23rd 2012: Added information about VS 11 UPDATED Mar 21st 2012: Added info and link to VS/TFS 11 tool for getting the Test Attachment Cleaner, now included with the TFS Power Tools UPDATED Mar 17th 2012: Added sql queries for TFS 11 Beta. Changed structure after Adam’s advices. Updated information. UPDATED Jan 9th 2012: ...
Microsoft has just announced the Windows Azure SDK 1.6 and the Windows Azure Tools for Visual Studio 1.6. Now people can download the latest product through the WebPI. After you downloaded and installed the SDK you will find that The SDK 1.6 can be stayed side by side with the SDK 1.5, which means you can still using the 1.5 assemblies. But the Visual Studio Tools would be upgraded to 1.6. Different from the previous SDK, in this version it includes 4 components: Windows Azure Authoring Tools, Windows ...
Introduction Microsoft recently released the Kinect for Windows SDK Beta 2. It contains many enhancements and fixes that can be found here. The only problem with it is that a lot of current demo applications no longer function properly. Today, I’m going to walk you through a typical scenario of upgrading a Kinect application built with Beta 1 to Beta 2. Note: This tutorial covers WPF, but you can use the same techniques for WinForms. 1) Fix the references Let’s start with a fairly popular Kinect ...
Welcome back once again, in Part 1 of Load and Web Performance Testing using Visual Studio 2010 I talked about why Performance Testing the application is important, the test tools available in Visual Studio Ultimate 2010 and various test rig topologies, in Part 2 of Load and Web Performance Testing using Visual Studio 2010 I discussed the details of web performance & load tests as well as why it’s important to follow a goal based pattern while performance testing your application. In part 3 I’ll ...
Welcome back, in part 1 of Load and Web Performance Testing using Visual Studio 2010 I talked about why Performance Testing the application is important, the test tools available in Visual Studio Ultimate 2010 and various test rig topologies. In this blog post I’ll get into the details of web performance & load tests as well as why it’s important to follow a goal based pattern while performance testing your application. Tools => Options => Test Tools Have you visited the treasures of Visual ...
Today is the big day, the day I attempt to use Ajax in the app… I’ve never done this (well, tell a lie, I’ve done it in a ‘tutorial’ site, but that was a while ago now), so it’s going to be interesting.. OK, basics first, let’s start with the @Ajax.ActionLink Right, first stab: @Ajax.ActionLink("Click to get latest", "LatestEntry", new AjaxOptions { UpdateTargetId = "ajaxEntrant", InsertionMode = InsertionMode.Replace, HttpMethod = "GET" }) As far as I’m aware, I’m asking to get the ‘LatestEntry’ ...
This is the third of a three part series that deals with the issue of faking test data in the context of a legacy app that was built with Microsoft's Entity Framework (EF) on top of an MS SQL Server database – a scenario that can be found very often. Please read the first part for a description of the sample application, a discussion of some general aspects of unit testing in a database context, and of some more specific aspects of the here discussed EF/MSSQL combination. Lately, I wondered how you ...
The problem: Images and other static files will not be cached unless you tell it to. In IIS7 it is remarkably easy to do this. Web pages are becoming increasingly complex with more scripts, style sheets, images, and Flash on them. A first-time visit to a page may require several HTTP requests to load all the components. By using Expires headers these components become cacheable, which avoids unnecessary HTTP requests on subsequent page views. Expires headers are most often associated with images, ...
Performance testing is almost always conducted to address one or more risks related to expense, opportunity costs, continuity, and/or corporate reputation. But not everyone thinks their application requires investment in performance testing. We presented few of our clients who were heavily focussed on functional requirements but did not care too much about the Non-functional requirements with a short questionnaire, User’s will be happy if the website loaded in <= ___ seconds. How many extra seconds ...
This is the second of a three part series that deals with the issue of faking test data in the context of a legacy app that was built with Microsoft's Entity Framework (EF) on top of an MS SQL Server database – a scenario that can be found very often. Please read the first part for a description of the sample application, a discussion of some general aspects of unit testing in a database context, and of some more specific aspects of the here discussed EF/MSSQL combination. Lately, I wondered how ...
The following sections are covered in the Interaction Design book – the sections in blue are examinable for 2011, the sections in pink are not examinable. A brief example of questions to be expected in the Exam Below are some example questions extracted from previous exam papers and assignments…. I have outlined just the basic section headers, you will need to be able to expand on these… Define Interaction Design (Chapter 1) Interactive Design is the process of designing interactive products to support ...
For good or bad, Microsoft’s Entity Framework (EF) has become one of the most widely used ORM tools out there. While some may state that it's not among the better ones (or that it's not even a real ORM), it’s definitely the most convenient one: its Visual Studio integration and consequently its integration with the MS SQL Server database is unparalleled. This is especially relevant to people who haven’t used the concept of object-relational mapping before - there's almost no initial learning curve ...
Aims of this Chapter Consider what doing interaction design involves Explain some advantages of involving users in development Explain the main principles of a user-centred approach Ask and provide answers for some important questions about the interaction design process Introduce the idea of a lifecycle model to represent a set of activities and how they are related Describe some lifecycle models from software engineering and HCI and discuss how they relate to the process of ID Present a lifecycle ...
Aims of this chapter Illustrate how observation, interviews, and questionnaires that you encountered and are used in evaluation Explain the key concepts and terms used in evaluation Introduce three main evaluation approached and key evaluation methods within the context of real evaluation studies Examine how the approaches and methods are used for different purposes at different stages of the design process Discuss some of the practical challenges that evaluators have to consider when doing evaluation ...
The evolution of an IT department is always something interesting to observe. The is especially the case when they move from small departmental IT groups to corporate level oversight. It is usually painful for the people involved to give-up their ability to modify servers on the fly and conform to rigorous testing and documentation. Having the keys to your environments taken away can really feel like getting stabbed in the back especially when the new deployment team is still working out there processes. ...
So I am new to TDD and have been enjoying the ride of learning a new approach – today I came across an interesting situation that I thought I would blog about. I was writing a class that had all sorts of string manipulation in it. I needed some helper methods that would extend my string manipulation abilities. I had read somewhere that I should avoid static methods when doing TDD so I wrote the initial helper class to look something like this… public class StringHelper { public string ReverseStringEx1(string ...
I have recently being trying to implement TDD as a practice in writing code. Up to now I buy into many of the benefits of TDD but it is one thing agreeing that a practice is good and a totally different thing implementing the practice. The approach I have taken was relatively simple, Write a test to exercise the functionality you want in a method Run test – it will fail Implement method Run test – it should pass Repeat first step Seems simple enough… when it came to implementing the process a concern ...
During the last months, I was (for some reasons that are not related to programming) working for a dev shop where software development was done the 'traditional' way: You just write your application's production code, do it as good as you can, and hopefully it will be good enough and no problems will occur in production (this is HDD: Hope-driven development). Anyway, after I had finished this contract, I felt the need to review some core aspects of what I think is Test-driven development. And while ...
Intro If you want to test the internals of a productive assembly you must mark the assembly with the InternalsVisibleTo-attribute. This attribute has only one constructor which needs the name of the testing assembly. http://msdn.microsoft.com/e... So this looks like: [assembly: InternalsVisibleTo("Unlinke... Visual Studio and 3rd party plugins uses the string to mark referencing ...
UPDATED Jul 3rd 2013: Added Art of Unit Testing Version 2 UPDATED Apr 11th 2013: Added Instant TFS 2012 and Project Server 2012 Integration How-to UPDATED Jan 12th 2013: Added Prof TFS Server 2012, TFS 2012 Starter, Pro ALM with VS 2012 and VS 2012 Cookbook UPDATED Dec 8th 2011: Added Kanban book by David Anderson “Send me a list of books to read” – that is what I am often asked. No more, as this list is an answer to those request! I have divided it into different subject areas, and each area hold ...
Recently I looked at a performance problem when transferring image data from a custom HttpListener to web browser clients. In the end it came down to one change I had done which was writing the image data to a memory stream first – this was required so I could add the right content-length header to the output based on the actual image size which some of my clients required. Before this change I had directly written the image to the output stream when it was generated but the modified code looked ...
There is no one best branching strategy, the branching strategy that best fits the requirements of your enterprise is the best strategy for you. The ALM rangers have comprehensive guidelines to help you decide what might work best with your enterprise. A couple of parameters you need to consider while thinking about the branching strategy are, What is the length of the Iteration your team will be delivering in. Agile – Weeks, Waterfall – Months. Would you have multiple versions of the applications ...
I've wrote this article a few months ago but in Portuguese: http://pontonetpt.org/blogs... I've decided to translate it to engish. The sample project is hostead at GitHub but it's in Portuguese (the same as my first article). Link Github: https://github.com/guilherm... I've been progamming with unit testing and test-driven developement in use for server-side for 2 years. On the last months i've been working ...
I'm a big fan of automated testing which actually proves something. Unit tests may prove all the components in a solution work independently, but that doesn't mean you have a working solution. Integration tests give you confidence in the whole solution, but the cost of having a test suite with a lot of external dependencies is the risk of false build failures and long-running test suites. To get something in between, we have acceptance tests written in SpecFlow which run tests at the highest layer ...
I'm going to say this a few times. Look for it. Local Optimizations do NOT equal increased productivity. Everyone wants their development to succeed. The policies of a team are an important element to successful development. As teams gel together, decide on things like pairing frequency, WIP limits, check in policies, testing practices, Done Definitions, etc, they have the opportunity to change behaviors that otherwise would detract from that success. One of the big advantages of these policies is ...
Test Data Builder Pattern When unit testing we often need to fill any POCO objects with enough data to satisfy the needs of the test. Redoing this in every test can quickly become a burden and slow down the testing process. Test Data Builder is a pattern that’s meant to help in just that situation. With test data builder you build a fluent interface that allows you to build out your POCO objects by only replacing the properties that you need specific values for. The other values are set to defaults ...
Even though this is one of the simplest tips it is one of the hardest to find someone who has documented it. So instead of just telling you I am going to take a quick sidebar first. I wouldn’t want you to feel you got jipped by stopping here. One thing that happened when I finished running the Mango update on my Samsung Focus was that the apps that I was testing forced me to uninstall them. Now it turns out that this wasn’t that the SDK needed to be upgraded, but that the device had to be reregistered. ...
Hello group, and welcome to what i hope will be an informative and helpful posting experience. I would like to thank you all for welcoming me into the group, i'm very glad to be here. My first question is has anyone tried to install a VM onto a tablet yet? I realize that the mechanics would be difficult, but the implications I believe would be incredible. Imagine developing whole virtual desktops in multiple OS's, and testing them for portability and efficiency. I'm curious to know what anyone else ...

Hi All

Please Refer the Biztalk Testing Guide

 

URL :http://code.msdn.microsoft.com/BTSTestGuide

 

Thanks

Abhishek Lohani

 

 

In 1983, the term Exploratory Testing was introduced. Prior to that, it is called as ad-hoc testing. Exploratory testing is said to be a mindset, a way of thinking, freestyle testing that liberates the tester to explore. Testers, through experience, know their applications inside out; they are the users in reality. Freeing testers to explore and use the application has been proven to identify more bugs then traditional scripted testing. However, there are obstacles and challenges related to this ...

In the developer preview of Windows 8, I just noticed a breaking change in the way that data bindings react to the PropertyChanged event.

Read the rest of this entry »

At last, I can announce that ‘BizTalk Server 2010 Unleashed’ has been published and is available through major booksellers in both printed and electronic form. The book is not a new edition of the old ‘BizTalk Server 2004 Unleashed’ book from several years ago, although Brian Loesgen, our fearless team leader, provided continuity with that title. Instead, this is entirely new content written by a team of six authors, including myself. BizTalk Server is such a huge subject. It proved a challenge to ...
Normal 0 false false false EN-US X-NONE X-NONE /* Style Definitions */ table.MsoNormalTable {mso-style-name:"Table Normal"; mso-tstyle-rowband-size:0; mso-tstyle-colband-size:0; mso-style-noshow:yes; mso-style-priority:99; mso-style-qformat:yes; mso-style-parent:""; mso-padding-alt:0in 5.4pt 0in 5.4pt; mso-para-margin-top:0in; mso-para-margin-right:0in; mso-para-margin-bottom:10.0pt; mso-para-margin-left:0in; line-height:115%; mso-pagination:widow-orphan; font-size:11.0pt; font-family:"Calibri","sans... ...
The long awaited Dev Teach conference approches FAST and will be held in Ottawa on nov the 2nd to nov the 4th! Very interesting material both in the main event and in pre-conferences with 2 friends of mine, Laurent Duveau and Mario Cardinal both giving a pre-conference workshop ! For my part, I'll be giving a talk on Mocking and Mocking Frameworks as I really think people need to be more aware of their power and the fact that nowadays, effective, responsive, scalable unit testing inevitably equals ...
Normal 0 false false false EN-US X-NONE X-NONE MicrosoftInternetExplorer4 /* Style Definitions */ table.MsoNormalTable {mso-style-name:"Table Normal"; mso-tstyle-rowband-size:0; mso-tstyle-colband-size:0; mso-style-noshow:yes; mso-style-priority:99; mso-style-qformat:yes; mso-style-parent:""; mso-padding-alt:0in 5.4pt 0in 5.4pt; mso-para-margin-top:0in; mso-para-margin-right:0in; mso-para-margin-bottom:10.0pt; mso-para-margin-left:0in; line-height:115%; mso-pagination:widow-orphan; font-size:11.0pt; ...
Recently I was assigned a task of helping a developer to cope with an unusual input file processing. The file we needed to load into SQL Server had double quotes surrounding those fields that contained comma(s). So a short excerpt from it would resemble something like: 123,ABC 456,"D,E,F" "7,89",GHS Since SSIS’s Flat File Connection does not support alternating text qualifiers, the chief difficulty stems from the fact if we even only remove the quotes, the file structure becomes broken because the ...
I recently upgraded my BlackBerry Pearl’s operating system to the latest supported version (version 6.x) only to find that my battery life dropped dramatically from 24+ hours to 6-7. I had noticed a plethora of new applications that had been installed by default. These applications are mainly instant messenger/facebook related. My suspicion was that even though the applications were “switched off” they were attempting to poll the various social networking/instant messenger sites. Testing my theory ...
I took this test a few weeks ago and thought I would offer some pointers on how to prepare for this test. I've been doing Silverlight development for over a year full time now, so that obviously helped out a lot. There are some questions about using a ViewModel and setting the right DataContext. So if you've only done code behind, you will be at a disadvantage. A great resource is the Practice Testing Software from Self Exam Engine. I spent around $100 on this software but it was worth it. Many of ...
A big thanks to my lively audience at the NxtGenUG Birmingham group tonight who provided excellent feedback. I enjoyed the live coding to try to explore the limits of the framework, even though it was interrupted by my PC turning itself off and leading me to thinking I'd trashed my SSD drive. You can find my presentation online at Prezi.com over here, and the source code for the demos is available here. During the presentation I mentioned there were some additional blogs and articles that are well ...
Hi Please refer the link below before building a Custom Adapter in Biztalk . Wizards used from code plex site to build custom Adapter in Biztalk having defect that is not reproducable in System Testing or Integartion Testing that should be reproduce with soak testing or live testing i.e To Save the Cost of Quality of the software developed please refer the below link to fix defects in Requirement stage to coding stage /bloggingabout.net/blogs/we... ...
Yeah, you read that right. I may be weird, but I do think that unit testing is fun. It is also very important. I didn’t know much about Unit testing when I came out of school. I think colleges need to have a class dedicated to it. But anyway, I didn’t do much of it at my previous job since I was developing the Siebel CRM. Since Siebel is an Oracle product, it involves mostly configuration and customization using built components. We did some integration testing by building any new components into ...
While testing the performance characteristics of the SQL Azure backup tool I am building (called Enzo Backup for SQL Azure), I decided to try Spotlight (R) on Azure in order to obtain specific performance metrics from a virtual machine (VM) running on Microsoft's data center. Indeed, my backup solution comes with a cloud agent (running as a worker role in Azure) that performs backup and restore operations entirely in the cloud. Due to the nature of this application, I needed to have an understanding ...
A big thanks to my lively audience at the London .Net Users group last night who provided excellent feedback. They even led me to some live coding to discover how the TaskEx.WhenAny deals with the tasks which didn't complete first - apparently they are immeadiately disposed of and their results are lost. Let's hope the release documentation for the Async libraries makes this very clear. I also must thank EMC Consulting for providing the facilities and beer, and Adgistics for providing the pizza, ...
I have recently started to update a very successful SAP CRM integration I originally built 5 or 6 years ago. We have recently started the implementation of CRM 2011 so the business has decided to take the opportunity to change the data that they want to synchronize between the 2 systems. Luckily the integration is both modular and to a large degree dynamic. The core logic should remain relatively untouched and only the SAP and CRM connection dlls should need any real work. The changes to the SAP ...
Today, I was testing a Web site for deployment and encountered the problem described in the subject of this post. However, the process leading up to realizing the true problem was far from clear. This post describes my initial experience, steps I took to isolate the true problem, and what I did to fix it. To put this in context, My project is an ASP.NET 4.0 Website. Bump! While testing, I encountered a System.Web.HttpException with the following message: File does not exist. with the following stack ...
It’s been quite a while since I’ve done a GeeksWithBlogs.net Influencers review. This time, I had the opportunity to check out Red Gate’s SmartAssembly 6.1, which is a integrated collection of tools for modifying and manipulating assemblies. Now that phrase, while accurate, is quite a mouthful. So what all does it actually do? SmartAssembly has the ability to: Do strong name signing; Add automated error reporting; Add feature usage reporting; Merge dependencies (e.g. libraries) into the main assembly ...
Check out the Top Five most popular news at SilverlightShow for SilverlightShow Top 5 News for August 14 - 21, 2011. Here are the top 5 news on SilverlightShow for last week: The Top 5 WPF and Silverlight Gotchas Can Microsoft ‘fix’ JavaScript and make HTML5 applications viable? The LOB Chronicles - Exploring User Experience (UX) Slides for our upcoming 'Deep-DIVE in Silverlight FIVE' webinar Mango Baby Steps: Unit Testing your WP7 app Visit and bookmark SilverlightShow. Stay in the 'Light ...
Yesterday I realized that non of my custom lists enforce content approval by default. That really worried me as 90% of the data we display in the web site which I'm working on are coming from custom lists. Enabling this manually is a piece of cake but I wanted to include this in the list definition. After some research and testing I found out that there are 2 places you have to configure. You have to set ModeratedList="TRUE" for List element and EnableModeration="True" for ListTemplate element in ...