Tag | Testing Posts

Earlier this week I attended the RFID workshop held at Microsoft's Reading Offices. I thought Id write up some notes and thoughts I'd made about the event. Content/Trainer The course was based on the course developed by the guys at Breeze (http://breeze.net/default.... The material itself is excellently written and is easy to follow. It also has some nice little bits of humour which mean it is not the common/boring material you get on some courses. The material itself lets you build and enhance ...
Channel 9 released 2 videos on BizTalk Server 2009 Performance Testing. Performance Testing video 1 - Click Here Performance Testing video 2 - Click Here ...
Do you ever need to put a Windows CE system to its factory state? I know that we do. Sometimes it is because the system has been used for testing or burn in. If the system doesn’t have any persistent store, this can easily be handled by resetting the device. But if the system uses the hive based registry on a persistent file system, returning the device to its factory state can be more difficult. The following are ways that I know have been used to erase the hive registry: 1. Reformat the persistent ...
[Update 29/04/2009: I recommend you also take a look at the supersite Windows 7 RC Review and Windows XP Mode for Windows 7 which allows Windows XP applications to run unchanged] I apologise. I’m sorry. I sympathise. I do, really. I completely understand that: Discovering an application is broken that previously used to work great is simply not fun and Fixing the application to work again is also simply not fun Especially if you didn’t originally write the application or if you did, it was many years ...
Dave Allen works in Microsoft UK helping partners build solutions which take advantage of the latest technologies from Microsoft. He also happens to be a mate, a jolly nice chap and is leading our efforts in the UK to help partners get their applications working on Windows 7. I sat down with him on Thursday of last week (23rd April) and quizzed him on the thorny subject of compatibility. Check out this companion post I did on resources for getting ready for Windows 7. When did you first start looking ...
As I contemplate the design that was going to be an organizational upgrade to Exchange 2007 – I am now shifting gears towards skipping to an upgrade of Exchange 2010. Some things that are influencing my decision: The ability to use lower tier storage without compromising performance on the mailbox server. Thanks to all of the database optimizations like sequential writes, db schema re-design and table optimization, cache changes, etc. The database is now truly a portable and replicable object. Now ...
I have just released an early version of Html Utilties for Silverlight on CodePlex. This article will explain the whats and hows of this library. Who is this library for? The primary target for this library is someone who: Develops software in Silverlight Uses the Html DOM libraries in Silverlight What problem does this library solve? In the first version of this library, it is all about testability. Lets say I have a (very simple) method I want to test. The code looks like this: public class HtmlGenerator ...

I am testing how windows live writer will help me post to multiple blogs. I have to manually switch using the Blogs menu.

6 words: Scott Guthrie May 26 Phoenix Free Do I need to say anything else?? Oh ok, here's the rest of the info: ASP.NET MVC Presented By Scott Guthrie (ScottGu) We’ll walkthrough building an application from scratch using the recent ASP.NET MVC 1.0 release. You’ll learn what ASP.NET MVC is, the design decisions behind it, and how to build a real application with it. We’ll cover topics ranging from the basics of application creation through to concepts like unit testing and dependency injection. Silverlight ...
Normal 0 false false false EN-US JA X-NONE MicrosoftInternetExplorer4 st1\:*{behavior:url(#ieooui) } /* 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:0in; mso-para-margin-bottom:.000... mso-pagination:widow-orphan; font-size:10.0pt; font-family:"Times New Roman","serif";} Robert ...
A couple of weeks ago I presented WPF databinding at TCCC6. It was the end of a very hectic couple of weeks. I do not often post personal stuff to this blog, but in this the story is just too crazy. It all started during my family’s annual trip to Mexico. My nephew Drew has Spinal Muscular Atrophy, is wheelchair-bound, and the slightest illness poses a serious threat to him. I stayed with my family in Mexico for one week, then I returned home. My family was scheduled to stay for an additional week. ...
Yesterday I got the email welcoming me to the First Annual WinPHP Challenge. Microsoft, ibuildings and Leaseweb are sponsoring this contest to show Windows is now a first class citizen for development and deployment of PHP projects. The idea of this contest is very simple, just build an application running on Windows and IIS7. But, do this with PHP. The contests ends June 1st. Until then all contestants have to blog about their progress. On June 13th the winner will be announced at the DPC closing ...
There are nowadays two terms that are used by the developers : 'stub' and 'mock'. As I found in the article of Martin Fowler 'Mocks Aren't Stubs', he is using the vocabulary of Gerard Meszaros's book, where there is the division into : 'dummy', 'fake', 'stub' and 'mock' points. I'll metnion only what 'dummy' and 'fake' are, and I'll try to concentrate over 'mock' and 'stub'. So 'dummy' objects as Thesaurus says represents a copy, figure, form, model in its mean. In reallity passing to developper ...
I finished up a Visual Studio package, generated the package load key (plk), created an installer, and deployed it to a tester. Of course, it didn't work. Whenever the tester tried to open up the designer, the following error was displayed (note: the screenshots don't reflect the actual product as it is proprietary). To duplicate the environment, I downloaded a set up a virtual pc with Visual Studio Team System 2008. I did a lot of testing and discovered that it would load up fine when the sdk was ...
Unit Test is often used as a generic term to describe testing code-behind pages when it comes to Web Applications. Performing tests at the presentation tier can be cumbersome and usually involves manual case by case test scenarios in some large excel spreadsheets or a form of some sort. The ASP.NET QA team have introduced Lightweight Test Automation Framework as a way to automate these regression test tasks. Your web browser is used as a test harness and your test cases are shown on the left pane ...
BizTalk Server 2009 Hyper-V Guide is out there. The purpose of this guide is to provide practical guidance for using Microsoft BizTalk Server 2009 with Microsoft Windows Server 2008 Hyper-V. The emphasis is on BizTalk Server, but the performance evaluation methods and performance testing scenarios are useful for analyzing the performance of virtualized server applications in general. This guidance will be of interest to both the IT Pro and Developer communities. Download Link: http://go.microsoft.com/fwl... ...
I need to pass an xml document to a SQL 2005 stored procedure as a parameter with a XML data type. I'm using VBScript with ADODB. I was getting the error of "Bad variable type." The problem is the Provider. The SQL Native Client provider uses an Xml type ( 141) that ADODB doesn't recognize. The OLEDB provider converts the xml type to varWChar. To set things up here's a sample sql stored proc create proc stor_PassXml @xmlVar xml as select @xmlVar end So here's the VBScript to call it Dim conStr Dim ...
We had a little problem a few days ago when we were reviewing the testing of a B2B solution implemented with BizTalk. This implementation was basically the collection of a file via FTP and then a splitter pattern which would break up a batch and cascade updates to appropriate systems. The file which was recieved was a moderately complex file containing multiple rows containing different types of positional records. We had implemented this as per the specification and were moving from testing this ...
This year Codestock is selecting their sessions by attendee votes. As people register for Codestock, they are are asked to select the sessions that they would most like to see. While I think this is a way cool and awesome method for selection, it is driving me crazy wondering what the results will be!! Here are the sessions that I have submitted. If you would like to see these at Codestock, register online and vote for me!! Speaker Name Kirstin Juhl Session Name WPF Databinding ++ Technology WPF ...
First of all, thanks to all those brilliant people who made the long arduous journey to the UK (and to all those who just happened to be near by). I know it must have killed you to be so far away for so long. I can only imagine how hard it was for you. All of us that couldn’t go really feel for you and feel your pain. Okay! So, for those of us that couldn’t go, some of these guys really did a tremendous job of twittering what was going on during the conference. They absolutely did not have to do ...
April 30th Microsoft Office - Minneapolis LOW I and II 8300 Norman Center Drive - Suite 950 Bloomington, Minnesota 55437 Microsoft ArcReady 9:00am - 11:45 pm WHAT IS ARCREADY? A forum for aspiring and practicing architects to discuss industry trends An overview of Microsoft’s roadmap as it relates to software architecture A mechanism to solicit your feedback An opportunity to showcase the work you do! WHO SHOULD ATTEND? Architects and Senior Developers who are interested in becoming an architect. ...
There are many cases in BizTalk environments when one want to re-inject a message into their system. I’m mainly referring to testing environments where it doesn’t really matter if a message is repeated. However, it can also be preferred to copy the context of the message into the newly injected message, because your system might want to do some processing of that context while re-injecting. When you do this from code, it’s a snap! First of all, we need to load up our message body and context: Note ...
Being a System Administrator as well as a Web Developer I run into issues with the Mail protocol SMTP. Things hang or people want their email better formatted. Or simply test out you spam messages you are going to blast before you well blast them. Of course you run into issues like is my ports open correctly, is the SMTP server setup to block relaying? Has my domain been blacklisted from spamming? These kind of questions are important. While I can’t fix the blacklisting domain issue the rest is well ...
If you're not yet familiar on how to add a service and invoke a method, please see Getting Started The short video below shows how to create and execute a functional test case in WCFStorm. Towards the end of the video, it shows one of the main features of functional testing with WCFStorm - which is the ability to visually view the difference between the expected and actual responses in a test ...
Recently I was on a project with no Unit Tests, no Continuous Integration Server, not even a Build. I was asked to deploy the application to a server so that the client could begin using it. (No, we had had no User Acceptance testing either formal or informal, but that's neither here nor there...) I tweeted what I thought was a rhetorical question: "I am deploying an application by pulling the source code, compiling it on my laptop, and copying the DLLs to the server. What's wrong with this picture?" ...
[Source: http://geekswithblogs.net/E... DataContract classes in WCF can be declared as implementing IExtensibleDataObject to provide in-built support for schema versioning. Any data contracts created through svcutil or Add Service Reference implement the interface, and it's good practice to implement it for any custom DataContract classes you write. On deserializing, elements which are not declared in the data contract are extracted by the DataContractSerializer and added to the ExtensionDataObject ...
Dave Laribee will be presenting a free webinar on User Story Essentials next Wednesday. From the abstract: First, we'll cover the anatomy of a user story: what makes a good story; who's the story for; how do we apply estimates; how and when do we specify stories? Having a solid definition and understanding of what makes a good story, we'll dive into a brief discussion of how stories drive our developer testing and Behavior-Driven Development efforts. We'll wrap up with a quick discussion of how stories ...
During the last few months I've been working on a commercial tool for testing WCF services. The knowledge I learned building STORM really helped alot in building this tool. So here it is my fellow coders, WCF Storm. It has more features than its open source cousin, STORM and the best part is it works on both WCF and Web services! EDIT : www.wcfstorm.com is up! Please visit the site for updates and to purchase WCFStorm online System Requirement: .NET Framework 3.0 or higher. Features at a glance: ...
The Current state of Unit Testing in the software industry. 10 years ago, when the web boom started and applications were built with classic asp and ado, Unit Testing wasn't much on developers minds. But, in 2009, I'm amazed by the lack of unit testing in most environments I've encountered... In fact, most environments (not all, but most) I've seen don't even have a dedicated QA team, or even testers!!! There are no excuses. Visual Studio (since 2005) have right-click generation of unit test projects ...
The Bubble Chart is part of the Silverlight toolkit and is available for Silverlight 2 and Silverlight 3 at http://silverlight.codeplex... This chart uses the size of the “bubbles” to display more data. For this article I used the Silverlight 3 version of the toolkit and the newly released Expression Blend 3 and Silverlight 3. Creating the Chart Start by creating a new Silverlight 3 project in Expression Blend. Add a reference to the Silverlight toolkit by going to Project in the menu and click ...
*Moved to: Visual Studio Team Test Quick Reference Guide 1.0If you are in any way involved in or thinking bout Testing code, Websites or Web Services then you should have a look at the VSTT Quick Reference Guide 1.0 which the Visual Studio Team System Rangers team has published on CodePlex. If only this had been published weeks ago when I was delving into the world of web and load test I would have had a much easier time as most of the problems that I encountered have solutions offered right here ...
Here are some notes about my experience when testing an upgrade to the general distribution release of the Database Edition. I installed the latest version of the VSTS Database Edition (GDR) on my laptop and loaded up a copy of the a database project. Everything converts pretty much ok with the only issue being unresolved cross-database references. DBPro is now model-based and as such does not require SQL Server to be installed locally. This also allows them to have project references to other databases ...
Much like my previous post about what I use for testing in Silverlight, I was recently asked on Twitter for my ReSharper NUnit templates. I am posting them here if anyone finds them useful. Basically, I write a LOT of tests every day. These templates allow me to write tests faster. New Test File Template This file template adds a new “Test” target when you say tell Visual Studio to create a new file from template. It populates your file with the correct namespaces and decorations to get you started. ...
I was recently asked by someone on Twitter to describe my setup for writing tests against my Silverlight application. I thought I would write them down here in case others might find this information useful. Testing Framework: A slightly modified version of NUnit that works with SIlverlight. Mocking Framework: Moq 3.0 includes support for Silverlight. This is my favorite mocking framework, so I am happy that it now supports Silverlight. Test Runner: I use TestDriven.NET to run all of my tests locally. ...
We’ve all heard the mantra – Unit Testing is good for the soul. We hear about the goodness of things like JUnit, NUnit, and TDD from other people. But you’re not convinced. After all, it takes more time to write unit test code – and you’d rather get on with the next feature. Besides, whether it’s true or not, you certainly feel like your progress is measured by how many features you crank out. In my own journey, I found I went through three distinct stages to testing heaven. Look at my “diary” for ...
[Source: http://geekswithblogs.net/E... This is the rather grand title of a WebCast I've recorded recently which tries to illustrate where the return on investment comes after moving to a SOA strategy. The video is on Digital Forum: Visualizing SOA ROI , and the Open Source proof of concept it references is on CodePlex: ESBSimpleSamples. In the WebCast I start with a blank Visual Studio solution and create a new Web app which consumes an existing service. All in it takes 3 lines of code ...
Donn’s a pretty interesting guy I’ve known for a while now. He’s an active community leader and has had a rather interesting career path. I have been nagging him for an interview for some time. I’ll let him take it from here, in these NINE Questions with Donn Felker: 1. Where are you from? I recently moved to Minneapolis last year. However, I’m originally from Northern California (Redding area), and lived the last ten years in Phoenix, AZ. 2. What do you do / Who do you work for / What is your product? ...
I was asked to put some load on one of our servers yesterday using our functional testing harness (Selenium), but I knew this wasn’t going to generate enough load to make a real stab at stressing the server. We don’t have a genuine load testing harness here, so what to do? I remembered at my last job I had experimented with OpenSTA for load testing, and it seemed to work pretty well. It does, supposedly, have some issues with https (allegedly you can work around these, but I’ve not tried it yet) ...

This is just a test post on testing C# coding!

 

Atiba Software LLC

www.atiba.com

A few weeks back I worked on a process that looked something like this - It was triggered by the scheduled task adapter and then used a SQL send port to call SP to return list of ‘things’. It needed to split the things in the list to individual records, and to start a new, different, process, through pub/sub (to avoid the binary dependency with the called process), for each ‘thing’. Fairly simple. A lot of have been said on the different ways to split messages, I won’t repeat this discussion here; ...
When developing plugins for Visual Studio 2008, your testing is done in what's known as an experimental hive. It's essentially Visual Studio running in a testing environment. This keeps your unfinished plugins from being added to your "real" Visual Studio environment. Unfortunately, this experimental hive tends to become junky. After going through tutorials, you're bound to have all kinds of unnecessary elements added to the IDE. I spent some time trying to clean this out, and I discovered that the ...
Well, we are halfway through day 1 and there are some very cool things being demonstrated and released. First, another reminder that you can see all the sessions for Mix09 at http://2009.visitmix.com. One of the biggest topics of the conference so far is the release of Silverlight 3 into beta. There are a lot of great technologies which come along with this release including the ability to disconnect Silverlight applications from the browser. Myy personal favorite new application update is the release ...
Right, in my last post I wrote about creating a DBML file and hooking it all up through WCF, however, we only got to ‘retrieving’ from the database via the service. So, let’s presume you want to upload… We already had our contract: [ServiceContract] public interface ICarsService { [OperationContract] Car GetCar(int id); [OperationContract] void SubmitCar(Car car); } Of which we’ve tested the ‘GetCar’ method, let’s get to implementing the ‘SubmitCar’ method. We actually did implement some code in ...
I found something interesting in Selenium today. I use the selenium.getXpathCount a lot in my code. Mostly for dynamically generated tables and such. I also use it in testing as it is best to interrogate the page rather than assume the page structure hasn't changed. I know, know...I could isElementPresent() to handle this also, but each execution of isElementPresent() requires selenium to resolve the xpath on each iteration. This is painfully slow. I don't really worry about speed for testing under ...
In this issue: Karim Hernandez, Gavin Wignall, David Anson, Corey Schuman, Terence Tsang, Shawn Wildermuth, John Papa, Nigel Sampson, Bryant Likes, Aurturo Toledo, and Alex Knight. Shoutout: Mike Ormond reports that Microsoft Live Labs has Seadragon Ajax... so for both of you that read this and are not using Silverlight, there ya go :) From SilverlightCream.com: radiobuttons in a datatemplate in silverlight Karim Hernandez of IdentityMine sent me this link, and I'm going to be watching his blog... ...
Here's what's happening: Attendees: 428 Sessions: 73 Speakers: 49 Tracks: 15 Sessions: ASP.NET Make your Data Dance with ASP.NET Dynamic Databy Shawn Weisfeld + Show Description ASP.NET Dynamic Data is a framework that lets you create data-driven ASP.NET Web applications easily. It does this by automatically discovering data-model metadata at run time and deriving UI behavior from it. A scaffolding framework provides a functional Web site for viewing and editing data. You can easily customize the ...
My work environment is usually an anything goes, wild west of development sort of place. There are no rules imposed, just a “get things done” attitude. Because of auditing, source control was a necessity that got added to the mix. We use SVN through VisualSVN Server and TortoiseSVN as a client. Well, as a part of self improvement and to produce better more reliable code, I’ve taken up learning TDD for myself. Our current methodology of testing here is based mostly on WTFs per minute and copious prayer. ...
In this issue: Pencho Popadiyn, Gavin Wignall, Jesse Liberty(2), Ian Blackburn, Rishi, Andrej Tozon, and Corey Schuman. Shoutouts: Andy Beaulieu has a post up about all the good Silverlight Gaming goodness: Silverlight Gaming ++, as with PCs and hardware, I also believe gaming will bring Silverlight into it's own. Tim Heuer describes his new best friend and why: Silverlight Business Application Development faster with IdeaBlade Phoenix' own Steve Commisso has an entry in the MIX09 ShowOff competition ...
While attending a Microsoft Developer Event today (the VSTS Fire Starter in Tampa), I was reminded by Joe Healey that it is my civic duty to write a blog entry at least once a year. That being said, I find that next week would be the 1st anniversary of my last Blog post. To those who actually read my blog, I apologize and to those who didn’t I apologize for making you read this one First, thanks to all who presented at the event, it was enjoyable and informative. To anyone who missed, I would recommend ...