Recommended

Skip Navigation LinksHome / Search

Search

 
Results Per Page

Found 12 results for Unit Testing.
Date between: <not defined> and <not defined>
Search in: News , Articles , Tips , Shows , Showcase , Books

Page 
  • 1
  • 2
Next
Order by Publish Date   Ascending Title   Rating  

  • 1 comments  /  posted by  Zoltan Arvai  on  Jun 16, 2010 (1 week ago)

    Introduction

    In this short series of articles I’ll cover what MVVM is and how to use it in practice, how to solve issues when applying this pattern and how to take advantage from it.

    1. Part I: The Basics
    2. Part II: Messaging, Unit Testing and moving to a live data source
    3. Part III: Validation, Closer integration with the view

    In the previous article we discussed what MVVM is and why it matters. In this article we’ll try to benefit from the pattern and talk about the issues you have to battle through when working with MVVM. Our sample application was able to pull some data from a model, and display it on the screen in a master-detail fashion.



  • Silverlight Unit Testing and the Incorrect CLR Problem

    0 comments  /  posted by  Silverlight Show  on  May 14, 2010 (1 month ago)
    Tags: Unit Testing , Frameworks , Nunit , Ray Booysen
    Ray Booysen has a short blog post in which he discusses the differences of the unit testing frameworks available in Silverlight.

    With a properly architected Silverlight application, unit testing should come naturally. Using a pattern like MVVM, testing the view models should become second nature.

    However, you need to be aware of the differences of the unit testing frameworks available. The Silverlight Unit Testing Framework (isn’t that acronym brilliant) works well as an in-browser framework. Couple this with StatLite and you even can have a headless mode running.

  • Typemock Isolator 2010 released

    0 comments  /  posted by  Silverlight Show  on  May 13, 2010 (1 month ago)
    Tags: Unit Testing , Frameworks , Isolator 2010 , .NET 4 , Visual Studio 2010
    Take a look at the next Typemock Isolator release which this time is very special – a fully blown major version.

    Isolator version 6.0, dubbed Typemock Isolator 2010, includes support for Visual Studio 2010, .NET 4, a dedicated Silverlight unit testing solution and more. those of you who want to get it right away just click here. Since the last release we’ve added quite a few nifty features:

    You might have noticed the lack of x64/x86 installer – we’ve merged both installers so that you won’t have to download two files anymore.

  • Unit Testing A Silverlight 'Simplified MVVM' Modal Popup

    0 comments  /  posted by  Silverlight Show  on  May 03, 2010 (1 month ago)
    Michael Washington has an example of a 'Simplified MVVM' Modal Popup Unit Test.

    The "Simplified MVVM" pattern allows a programmer to create an application that has absolutely no UI (user interface). The programmer only creates a ViewModel and a Model. A designer with no programming ability at all, is then able to start with a blank page and completely create the View (UI) in Microsoft Expression Blend 4 (or higher). If you are new to "Simplified MVVM" it is suggested that you read Silverlight MVVM: An (Overly) Simplified Explanation for an introduction.

  • 0 comments  /  posted by  Silverlight Show  on  Apr 22, 2010 (2 months ago)
    Tags: Unit Testing , MVVM , Silverlight 4 , Slobodan Pavkov
    As feedback to his recent post on Modal Dialogs in MVVM and Silverlight 4, Slobodan Pavkov has received comments that the solution is not easy to Unit Test so he decided to create small blog posts on this subject just to show how simple and clean it is to do this.

    So in this post i will use the same simple Demo Application for the previous modal dialogs post but I will add few Unit Tests using Silverlight Unit Testing Framework and Silverlight verstion of RhinoMocks.

    Our Sample app is very simple and just shows a view with list of some User entities.

  • Test-Driven Development in Windows Phone7 – Part 1: Unit Testing with Silverlight for Phone7

    0 comments  /  posted by  Silverlight Show  on  Apr 09, 2010 (2 months ago)
    Tags: Unit Testing , Windows Phone 7 , Michael Sync
    This is the first post of “Test-Driven Development in Windows Phone7″ series, in which Michael Sync will show you how to use Silverlight Unit Test Framework for Windows Phone 7 and how to run the unit tests in Phone emulator.

    As it’s an introductory post, I will not talk about TDD or stub or mock in this article. (But I promise those things will come in next post. )

  • Unit Testing Silverlight & Windows Phone Applications – talk now online

    0 comments  /  posted by  Silverlight Show  on  Mar 18, 2010 (3 months ago)
    Jeff Wilcox's MIX 10 talk, which was an introduction to unit testing on Silverlight and the Windows Phone, is now online for streaming and download.

    An early preview set of bits are online at http://jeffatmix.com/ – and the next release of the Silverlight Toolkit when Silverlight 4 ships will contain support for the phone officially. Stay tuned for more.

  • Using Moq with Silverlight for Advanced Unit Tests

    0 comments  /  posted by  Silverlight Show  on  Feb 08, 2010 (4 months ago)
    Tags: Unit Testing , Moq
    In this post Jeremy Likness focuses on a few ways to use Moq for some more involved testing scenarios.

    I started with the Simple Dialog Service in Silverlight and extended the example a bit. In the post, I promised that abstracting the dialog function behind an interface would facilitate unit testing. In this post, I'll deliver on the promise.

  • 0 comments  /  posted by  Silverlight Show  on  Oct 19, 2009 (8 months ago)
    Tags: MVVM , Unit Testing

    In this post Nigel Sampson discusses Blendable MVVM, Dependency Injection and Unit Testing.

    There are a couple of great reasons for using a UI separation pattern such as Model, View, ViewModel (or the more common MVP and MVC), the first being that with the application logic separated from the view logic the application becomes easier to maintain. Secondly it's usually easier for a designer and developer to work on the separate areas and integrate them at a later date (this actually helps enforce the separation). And thirdly by having the application logic away from the UI it becomes much easier to test.

  • Modularity - Testing, Module Catalog and Unity in Prism

    0 comments  /  posted by  Silverlight Show  on  May 27, 2009 (more than a year ago)
    Tags: Modules , Prism , Unit Testing , Videos
    Erik Mork has published a nice video in which he covers a few topics - Unity, Unit Testing, Modules and how they're loaded by the Module Catalog.

    Modularity allows applications to be broken down into discrete pieces. This allows for easier testing, better maintainability and the ability to distribute an application across multiple teams. This video explores the modularity support in Prism. The first part of the video covers Unity and Unit Testing. Inversion of Control using Dependency Injection and Service Location are both covered. The second part of the video details modules and how they're loaded by the Module Catalog.


Page 
  • 1
  • 2
Next
Help us make SilverlightShow even better. Whether you'd like to suggest a change in the structure, content organization, section layout or any other aspect of SilverlightShow appearance - we'd love to hear from you! Need material (article, tutorial, or other) on a specific topic? Let us know and SilverlightShow content authors will work to have that prepared for you. (hide this)