Tag | Testing Posts

Hello All, Recently I am engaged in an Integration project in which I have to Integrate BizTalk Server 2006 R2 with EMC Solutions product called Smarts Software. This Smarts Software exposes a Java API and a Web Service interface. Initially knowing that it exposes a Web Service I felt relief and it would make my life easy but then talking with the Smarts Software people they told us that the Web Service Interface is very naïve and it does not have all the functionality we need for the Integration. ...
In this Issue: Cristian Merighi, Walt Ritscher, Al Pascual, Vijay, and Faisal(2). Shoutouts: The Mashooo folks have the winning entries up for their S Prize contest. I'd like to thank them for the honor of participating as a judge. I didn't look at any of the games prior to going through the 10 finalists because I didn't want to be swayed. Since I was a judge I won't comment on the winners, but I will say I'm not disappointed :) Check them out ... the other 7 are all winners also! Mashooo S Prize ...
I just completed my first iteration on a project I was injected into at work. What makes this project interesting is the approach to software development as well as the technology makeup. Many developers wonder what its like to switch from traditional methods and adopt something like TDD or OSS tools like nHibernate, Rhino Mocks, Castle Project, etc. I wanted to share some thoughts and what my experiences have been after completing my first iteration in exactly that type of environment. TDD – Different, ...
Many organizations are faced with the threat of data theft, from which legal battles, hefty fines and negative publicity can arise. Interestingly enough stealing data is not always that difficult. In this post we will review certain aspects of data masking, a technique used to disguise personable and sensitive information. Data masking encompasses two key areas: in-flight and at-rest. In-flight data masking is different than encryption; the goal of this technique is to temporarily transform data ...
Purpose of Article I’m sure that there are a ton of articles out there regarding how to subclass windows. The purpose of this article is to walk through the entire process of why you might want to subclass a window, how to look at the window hierarchy, and then how to actually do the subclassing. At PaperWise (http://www.paperwise.com), we have a new architecture that is .NET and an older architecture that is COM, C++, and VB6. While VB6 is a powerful language, I am sure that you would agree that ...
I am 41. I started developing software when I was 12 using a Sinclair ZX80. That means I have been developing software for … 29 years!! (Do I get an award of some kind when I get to 30?). I also was a very good developer – but you will just have to take me word for that as I pretty much suck these days :-) The reason “I suck” is for the the last 5 years I have developed relatively little code. Instead I perfected my white boarding skills as a Solutions Architect and my Excel skills as a programme ...
While I was building the position heuristic function for Connect Four I ran into an interesting gotcha with F# pattern matching. Lets see if you see it before I tell you what it is: let rec heuristic (positions: (int * int) list) (pos: int*int) = match positions with | [] -> 0 | position::_ -> 1 + (heuristic (List.tl positions) pos) | _ -> heuristic (List.tl positions) pos Looking at it, it seems the code should tell me how often value is in position, right? Well it doesn’t! And there is ...
Summary: In this post we will discuss the tooling that is at our disposal and also some of the benefits or not so beneficial features it brings to the table. Content Introduction Tooling Benefits of using it Introduction ASP.NET MVC is Microsoft's way of getting on the MVC wagon. It offers a lot more control over the application you're building, no more WebControls ( personally I never and hope to never have to use it ), pure XHTML as W3C would have you doing anyways. At this moment, and I suspect ...
The Adobe UG here in Winnipeg has an event tomorrow night (Thursday, June 25th). From their website (which you should visit to RSVP to): Flash Catalyst/Flash Builder Demos Date and Time: June 25, 2009 from 7:00pm - 9:00pm Address: Red River College 160 Princess Street Winnipeg, Manitoba Speakers: Darren Osadchuk Agenda: Adobe recently made beta versions of Flash Catalyst and Flash Builder publicly available on Adobe Labs. Come out and see these exciting new tools in action and learn how they integrate ...
In C# and Ruby we can use the Where() and Select() methods to select elements from a collection by testing each element with a predicate (method that returns a boolean). Unfortunately, javascript does not have this capability. Here is the code to add a where() method to the javascript array class...

Read the full article

 

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; ...
As the technical editor for the UK MSDN Flash I get surprisingly free rein to decide what content to place in it . I suspect one day they will notice – but I will enjoy it while it lasts. Every 3 months or so I do a special edition of the Flash, and this week I chose to go with “Open Source Frameworks and Libraries”. I have written before on Microsoft and Open Source and the rosy future I see ahead and I decided it was time (long overdue?) to give some of the great OSS for .NET developers wider visibility. ...
Microsoft Community in Bangladesh proudly presents Microsoft Day @ Dhaka. This is a special day dedicated to all Microsoft technology professionals and students in Bangladesh. We will be having the best Microsoft community technologists from Bangladesh - Microsoft Most Valuable Professionals (MVPs) delivering sessions at the event. This technology marathon is a great opportunity to learn from the best and network with each other. Both Microsoft developers and networking professionals would find the ...
In this Issue: Patrick Cauldwell, Erik Mork, Dan Wahlin, David Poll, Peter Bromberg, Steve Strong, Jonathan van de Veen, Michael C. Neel, and Jafar Husain. Shoutouts: Pete Blois reports that he has Updated Rooler ... if you haven't used this, go get it now! From SilverlightCream.com -- 9 items since some folks got delayed a day: Default button semantics in Silverlight revisited Patrick Cauldwell revisited his Default button code I blogged a couple days ago and has made it Prism-friendly. It depends ...
Wow, been awhile since I last posted....sheesh. Anyway, I've been doing some web service testing lately at work. Nothing to strenuous; just your basic does it do what it is supposed to do type testing. I was introduced to SoapUI in the process of this, and I can honestly say I like it. It's simple to set up and seems to work well. It provides a TestSuite/TestCase paradigm seems natural and normal to anyone who's done some testing. My only complaint so far: it is has a steep learning curve once you ...
In this Issue: Mark Monster, Patrick Cauldwell(2), Kirupa Chinnathambi, and Nigel Sampson. Shoutouts: Tim Heuer has some great advice up for anyone trying to get ready for the SL2/SL3 switch: Check your Silverlight 2 apps for compatibility with Silverlight 3. I know we all have seen pages that want us to install SL 1 or 1.1 still, so follow Tim's instructions to not be one of those! Despite 3 years of French in High School, I do NOT speak or read French (it's been too long ago!), but I can look at ...
Back in February we did our first special edition of the UK MSDN Flash focused on Free Software for developers (Which was our most popular edition for years!). The next special edition will be June 17th and the focus will be Open Source Software for developers with a bias (slight!) towards some of the great work on Codeplex and a heavy bias towards frameworks that you can include in your application or help you get the job done. The technical author will be Sara Ford (fingers X’d) who is the programme ...
I own a mac, I'm a fan of macs, but I'm not a mac-fanboy. I think they're bloody great machines, and that OSX is by far the best OS out there, but I appreciate they're not for everyone. Even osx has (cue dramatic pause) .. flaws. Copy a folder somewhere in OSX, and if the folder already exists on the destination it will prompt you to entirely replace that folder - WOT NO MERGE?! Anyway, apart from that minor niggle, OSX is awesome, especially for web development (in rails). So where am I going with ...
This is a short description on how to set up BizTalk 2009 project with automated build and testing. The build server setup First, before we start running automated build and tests we need to setup our build server with the tools necessary. Log on to your build server and install the following parts of BizTalk 2009: · Additional Software / Project Build Component (needed to building the project) · Developer Tools and SDK (needed to run tests) Setting up the build Set up a new build for your project, ...
I started having a think about how you could make BizTalk Server 2009 RESTful as I had been asked to give it some thought. Whilst thinking about it and wondering how I could let any subscription know the message it was subscribing to was supposed to be GET, DELETE, PUT or whatever I started creating some basic plumbing to give me something to test. To this end I started taking a look at the new WCF SQL Adapter in the BizTalk Adapter Pack 2.0. This new adapter is built using the WCF LOB Adapter SDK ...
Last month (May 2009) Microsoft has released its first beta for Visual Studio Team System 2010 and Team Foundation Server 2010 release, two of the most waited and wanted tools in developer community. From my point of view these two releases are going to be one of the most historical releases, as lots of really cool stuffs has been added with respect to the last version. However, as the Beta 1 releases are pretty infant, there are very limited resources available in the web and community, so I just ...
I’m currently using context/specification style tests. While I think frameworks like J.P.Boodhoo’s are beautiful, I prefer something that works with ReSharper, TD.NET and CI without extra hurdles. I also want something my team, with limited exposure to *Unit frameworks, can easily pick up. I’d prefer not to have the ceremony and misleading terminology of “Test” attributes, but its a trade-off I’m willing to make to more easily to integrate with team members and third party tools. I put my testing ...
The blog engine I’m writing for the WinPHP Challenge is really getting shape. At certain points in the application I would like to send an email. Luckily SMTP is supported by IIS. Here’s a small how-to to get it up and running and send an email from your php app using IIS. Setting Up and Configuring IIS Start by going to the ServerManager on you Server. Most often this is the server you’ll be running your php website on. Go to Add features in the Features summary section. Check SMTP Services in the ...
In this Issue: Brian Genisio, Davide Zordan(2), Paul Chapman, Tim Heuer, Shawn Wildermuth, Brad Abrams, Jordan Knight, and Unni. From SilverlightCream.com: Adventures in MVVM – A Testing Story Brian Genisio submitted this just under the wire tonight... and it's a good discussion of how he got started in MVVM and testing Silverlight.Silverlight 3 Beta and Binary message encoding Davide Zordan has two posts up today. This one gives a quick example of binary message encoding on the client side, and ...
Adventures in MVVM I have been spending a lot of time lately thinking about client architecture with Silverlight and to a lesser extent, WPF. I tend to subscribe to the philosophy that when you make your code testable, you get a lot of other great qualities along with it. I believe this so strongly that I go out of my way to architect my inherently untestable code in a way that I can, indeed, test it. Since I have been writing most my code for the Silverlight platform in the past several months, ...
A couple of notes about my environment that I didn’t state before. The laptop I’m use is a typical laptop 4Gb of memory standard dual-core, with 64-bit Vista Ultimate as the OS. There don’t appear to be any limitations Pex in on 64-bit, but there are a few messages you’ll see on the dashboard that state that Pex Explorations are going through some kind of “(x86) cold-start”. The first time saw this I thought that I might need to spin up a test project on a 32-bit VM, but it works fine on a 64-bit ...
1. Introduction Have you ever been in a situation where the users are unable to explain how an error was displayed on their computer and moreover describe the details of the error message? Well… I wonder why I asked when I already knew the answer you’ll say. A few weeks ago, the some users started testing the system; I realized our method of tracking bugs was not nearly good. We had an excel spreadsheet which had bug details and how we can reproduce the bug. We had problems with that each tester ...
This post is intended to be a high-level post intended to index all of my “Adventures in MVVM” posts. I will be traveling the region this summer giving talks on the MVVM pattern and these posts are part of me working through the details of the MVVM pattern. These posts will not include the “What”. There are several good articles on the web that do that already. Instead, I will be taking a deeper dive into MVVM and writing on the “How” and “Why” of the MVVM pattern. Commands in Silverlight A Testing ...
I presented at the Twin Cities Connected Systems User Group last night on the Managed Services Engine. You can get the presentation here. The Managed Services Engine is a CTP technology that acts as a service intermediary. It helps abstract consumers form the services that they call, performing things such as xslt mapping, protocol switching, version mapping and service stubbing (useful for testing unhappy service respone paths as well as development of the consumer before the service is really ready.) ...
When unit testing you sometimes need to test that values are being set to the correct literal/constant value - and this value is often stored in a resources file. However, for some reason the VS2008 'Create Private Accessor' feature did not work for me for resources (maybe be cause they're all static properties and the generated _Accessor classes need to be instantiated). So to make these resource available within the unit test project I simply made the Resources class public (by default it's internal). ...
ASP.Net Listview is a Template Driven Grid control from Microsoft. It combines the features of DataGrid, GridView and Repeater. There is lot of web resources available about ListView. I had a scenario where the grid control has to act like an Excel control. Excel allows us to enter data in each of the cell. Then a submit button can be used to perform the Update or Delete operation on the Bulk. Referral Links: http://weblogs.asp.net/scot... ...
I’ve refactored part of the project and removed the generic methods, and added in a few new public methods to illustrate building a real sandwich. To keep the example a bit realistic, I’m leaving the Crunchy layer in a rougher state and building up the Creamy layer. I’m not a big fan of crunchy peanut butter sandwiches, but in a pinch it will do. Pressing on. Our solution looks like this now. I’ve asked Pex to go back through the solution and hook up PUTs for me. One notable thing to mention here ...
You read it correctly...TypeMock is giving out free licenses... well not to everyone, but hey... you can try. I'm posting this in hopes I get some licenses that I can hand out to readers... and that would be all of you :) I'll let you know how it goes :) Unit Testing ASP.NET? ASP.NET unit testing has never been this easy. Typemock is launching a new product for ASP.NET developers – the ASP.NET Bundle - and for the launch will be giving out FREE licenses to bloggers and their readers. The ASP.NET ...
Typemock guys, the guys behind the only mocking framework that can apply mocking in complex environments like Microsoft SharePoint, are releasing a new Product,, ASP.NET Bundle. Here is what they’re saying about it: Typemock is launching a new product for ASP.NET developers – the ASP.NET Bundle - and for the launch will be giving out FREE licenses to bloggers and their readers. The ASP.NET Bundle is the ultimate ASP.NET unit testing solution, and offers both Typemock Isolator, a unit test tool and ...
*Moved to: Visual Studio Team System 2010 Beta 1 ShipsVisual Studio 2010 Team Suit Beta 1 and Visual Studio 2010 Team Foundation Server Beta 1 will be available to download from MSDN today at 5pm (GMT) and to the general public on Wednesday. Read more...Follow my new blog on http://blog.hinshelwood.com ...
A friend and fellow MVP Jeff Arnett recently collaborated on a project to replace some DLL files in an existing NK.BIN file for testing. Jeff tried to use BinMod.exe, but it didn’t work. When trying to extract or replace a DLL the following message was output to the console: BinMod V1.0 built Apr 5 2006 11:32:47 Checking record #70 for potential TOC (ROMOFFSET = 0xFEC634B4) Checking record #195 for potential TOC (ROMOFFSET = 0x00000000) NOTICE! Record 195 looked like a TOC except DLL first = 0x4001C001, ...
Pex has had two updates, one since I first used it, and one after I finished using it. Here’s the release notes for the latest build that dropped on 5/1/2009. Fresh install, and rewinding back through the project I had referenced in my first post. This time I need to build a different project that doesn’t reference my day job and also how well things work with xUnit. The install was perfect again, no issues with that so far. Here are the release notes, and a few steps setting up a new project. I’m ...
Recently I posted about UppercuT, the insanely easy to use build framework. There are so many things you can do with UppercuT, that it may make your life easier. We decided to make it even easier to use UppercuT by using a convention most people in the .NET world understand, the .config file. This replaces the build.settings.bat file for those of you who were using it. All you need to do now is navigate to the Settings folder and open the UppercuT.config file in your favorite editor. Get Building ...
Visual Studio Team System is getting a new tool: Microsoft Test and Lab Manager. It was codenamed Camano and announced last year at PDC08, but new details have emerged via Jason Zander's blog. The tool will not only be included with Visual Studio Team Test since generalist testers (think domain experts rather than programmers) may not want to install the rather large Visual Studio on their testing boxes. The tool will also be included in Visual Studio Team Test 2010 Essentials and Visual Studio Lab ...
Article Source: http://geekswithblogs.net/c... This article describes our approach to testing BizTalk integration with Dynamics AX 2009. It builds on the "Alternative Bindings" approach as described by Mike Stephenson. Alternative Bindings We are communicating asynchronous with Dynamics. As such, in our developer / unit test bindings, we have replaced use of the AIF Adapter with the MSMQ Adapter. If you are communicating synchronously, you could use the WCF Adapter. Mimic the Dynamics AIF ...
Article source: http://geekswithblogs.net/m... When we are testing our BizTalk solution one of the biggest challenges is how we deal with the dependency on external systems. Some of the common scenarios I have come across are as follows: We will be integrating with some web services but there are no test instances of these services we can use We will integrate with a LOB application but there is either no test instance of the LOB system of using the LOB application will make it difficult ...
I recently took the Pex framework for a test drive and spent a few weeks off and on trying to make sense of it all. Lots of promise with this framework, and I bought into it all – I really like to test my code, but writing code to cause a framework to generate the tests sounded cool. Yet another shiny thing in the world of testing – I know. I first saw this running at a PnP Summit last November and just recently got to put it in play, and while I was waiting a few new builds dropped that made things ...
That’s right, I said it, I’ve been doing it, and I abso-effin-lutely love it. A few months ago my co-worker, Troy, posted a question on Stack Overflow. We were doing integration testing on a project we were working on, and as the object graph grew larger, the code required to test query logic became painful. Since I am a sissy and don’t like pain, Troy asked the question on SO about how we might do it less painfully, and we got this answer, and it totally changed our TDD/BDD lives. The answer came ...
Developing With Velocity - Phase II In my limited testing environment I have decided to try only the basic sample of MS Velocity found in CTP2 Samples, and what I thought would be the most often used properties of Velocity. By default, the Velocity's DistributedCache service after the installation is not running and is set to manual start, so to begin working with it you will need to launch it. This can be done using the admin PowerShell applet or by starting the Microsoft project code named “Velocity” ...
I hear a lot of stories that start off with “We were going to use InfoPath for this project but we couldn’t get it to work so we had to do it all as .aspx forms”. Frankly, if I were not so stubborn I would have the same stories. At first glance InfoPath seems like a great solution, then you start to get under the covers a little bit and it becomes more and more frustrating. You end up having to purchase a code signing certificate, open the form up to Full Trust, write Code Behind, etc… and every ...
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 ...