MSTest vs. NUnit with Visual Studio 2010 & TDD

All unit testing frameworks share the same core features: test declaration, test execution, and pass/fail notices based on assertions. The shop I work at has been using NUnit for over two years now, with great success. We considered switching to MBUnit a year and a half ago, primarily because of Gallio’s compelling nature, but didn’t [...]

 
MyBatis.NET Tips & Tricks Part 6 - Submaps & Discriminators

In this part of our MyBatis.NET series, we’ll go over how to use submaps and discriminators to help us instantiate the right object in an inheritance hierarchy declaratively. As usual, we will be building on the code build in prior parts of this series, and will be using the AdventureWorks database as our target database. [...]

 
MyBatis.NET Tips & Tricks Part 5 – Multiple Results In One Map

In this part of our MyBatis.NET series, we’ll go over how to hydrate multiple object types with one mapping. Also, we’ll review the use of submaps and how they help to deal with inheritance hierarchies. We build upon the same code base used in prior parts of this series, which uses the AdventureWorks database as [...]

 
Android Development – Audio Playback, Safely

In this brief post we’ll be going over how to play back an audio file in a safe fashion. The Sound File Making sound files available to your Android application is as simple as recording them in an Android-acceptable format and then dragging them into your project. For this example, I recorded my oldest kid [...]

 
Android Development – More Animations, Part 2

In this final part of this series, I’ll demonstrate how to combine animations and sprinkle some interpolator goodness in the animation definition file. We’ll be picking up where we left off in Part 1, so go there to review if you have to. Animation Sets The way to combine animations in Android is by using [...]

 
Android Development – More Animations, Part 1

In this first part of the series we will present a few animations using TextViews on the same screen. The finished result will look like below. The Goal For this sample, we will be demonstrating three different animations: alpha, translate, and rotate. We will be defining the animations in XML files instead of code, and [...]

 
Android Development – Simple 2D Graphics Part 2

In this second of a two-part series, we will finish our simple Tic Tac Toe board by responding to user screen presses and drawing Xs and Os on the board as appropriate. We will be continuing with the code developed in Part 1, so review that as needed. Initial Strategy In the first part of [...]

 
Android Development – Simple 2D Graphics Part 1

In this first of a two-part series we’ll be going over some of the 2D graphics primitives that are provided by the Android SDK. To demonstrate this, we’ll draw a Tic Tac Toe board that responds to user presses. The first part will be the drawing of the board. In the second part we’ll capture [...]

© 2011 Musings of the Bare Bones Coder Suffusion theme by Sayontan Sinha