Browse by Tags

All Tags » unit testing
  • Unit Testing XAML Data-Bindings in Silverlight

    In an interview earlier this year with MSDN geekSpeak, I discussed unit testing for Silverlight and some of the frameworks that are available. One audience member raised a very important question: ''How do we test the XAML?'' Specifically, what happens when we hand off XAML to a designer or another developer, and they accidently remove a ...
    Posted to Jeremy Likness' Blog (Weblog) by Anonymous on August 5, 2010
  • Unit Testing Dynamic XAP Files

    By now, you probably are aware that you can dynamically load XAP files using the Managed Extensibility Framework (MEF) within your Silverlight applications. Have you been scratching your head, however, and wondering how on earth you would actually test something like that? It is possible, and here's a quick post to show one way you can. First, ...
    Posted to Jeremy Likness' Blog (Weblog) by Anonymous on June 29, 2010
  • Silverlight UI Automation and Full VS 2010 Integration

    OK, so it's not exactly ''out of the box'' but the most recent PRISM 4.0 Drop (drop 2) seems to contain something Silverlight developers have been begging for ... for quite some time. It's buried within the ''QuickStart'' folder under the ''BasicMVVM'' project. This project provides guidance for the Model-View-ViewModel pattern and is worth a ...
    Posted to Jeremy Likness' Blog (Weblog) by Anonymous on June 16, 2010
  • Using Moq with Silverlight for Advanced Unit Tests

    Moq is a library that assists with running unit tests by providing easily mocked objects that implement interfaces and abstract classes. You can learn more about Moq on their website. There is a distribution for Silverlight, and in this post I'll focus on some ways to use Moq for some more involved testing scenarios. Download the source code for ...
    Posted to Jeremy Likness' Blog (Weblog) by Anonymous on February 2, 2010
  • Automated Silverlight Unit Testing Using StatLight

    One concern with the Silverlight Unit Testing Framework is that it runs on a UI thread and requires a browser to function. This makes it difficult to integrate into automated or continuous integration testing. Difficult, but not impossible. A solution is provided by the project called StatLight which not only supports Silverlight testing ...
    Posted to Jeremy Likness' Blog (Weblog) by Anonymous on January 9, 2010
  • Silverlight Unit Testing Framework: Asynchronous Testing of Behaviors

    Last month, I bogged about Unit Testing ViewModels AND Views using the Silverlight Unit Testing Framework. I wanted to take that post a step further and talk about some more advanced testing scenarios that are possible. The site itself provides a lot of information about how to get started and what is available with the framework. One thing to ...
    Posted to Jeremy Likness' Blog (Weblog) by Anonymous on January 7, 2010
  • Windows Workflow Sequential Workflow Unit Testing

    Windows Workflow Foundation (WWF) is a powerful programming model and designer for workflow processes. Using workflow is easier than some may believe. I wanted to share a quick post relative to some practices I've found useful for sequential workflows, specifically around Inversion of Control (IoC) and unit testing. In our shop we have several ...
    Posted to Jeremy Likness' Blog (Weblog) by Anonymous on August 26, 2009
Powered by Community Server (Commercial Edition), by Telligent Systems