browse.develop.com
Browse.develop.com is a community that was established to collect and organize valuable web information. Our technical staff have selected and indexed information and courses that they feel will help you stay current on best practices across the SDLC.

130 Articles match "Unit Testing"

  • The Best from DevelopMentor

    130 Results found
    Showing page 1 of 13   Next >

  • Test Driven Development, Approval Testing, and a Song – Oh Boy!
    So my buddies Dan Gilkerson and Llewellyn Falco have been doing some brilliant, ground breaking work on advancing the state of unit testing and TDD with a concept they call Approval Testing. To highlight the transition from unit testing -> … Continue reading → Agile Video.NET unit testing
    Michael C. Kennedy's Weblog - Wednesday, January 7, 2009
  • Test-Driven Cameras
    wish people had this same reaction to the idea of writing code without first writing tests (TDD). Tests give you the chance: To see what you are going to write, BEFORE you write it. If you haven’t already, here’s a great place to start learning to Test-Driven Development ? If you are already writing tests, here’s a free library to make test even easier to write? Unit Testing TDDI am getting old. The other day I was hanging around with my friend, Ike Ellis. He told me a story about his kids. The first question they asked was “Where is the picture?”
    DevelopMentor Courses - Wednesday, September 7, 2011
  • Unity, Multiple Constructors and Configuration
    However to make Unit Testing simple I’ll add another constructor to MyService so I can pass a specific timeout. Tags: NET;IoC;Unit Testing I’ve been working with the Unity IoC container from Microsoft Patterns and Practices recently. Its mostly straightforward as IoC containers go but one thing had me puzzled for a while as its not really documented or blogged as far as I can see; so I decided to blog it so hopefully others looking will stumble across this article. 1: public interface IService. 3: void DoWork(); 4: }. 1: public interface IRepository. and MyService.
    .NET Meanderings - Monday, June 7, 2010
  • Unit testing a ASP.NET WebAPI 2 controller
    'Earlier this year I wrote a blog post about how to unit test ASP.NET WebAPI controllers. It turned out that in order to do a good job of testing the public ApiController methods you would need to quite a bit of setup. One of the goals of the ASP.NET WebAPI 2 was to make testing of controllers easier. So how does this change the unit testing story? So how about testing them? Testing the Get() method. The Get() method as real easy to test before as we where just returning an IEnumerable. Testing the Get(id) method. 13: {.
    The Problem Solver - Wednesday, November 13, 2013
  • Unit testing a ASP.NET WebAPI controller
    Testing a simple ApiController that gets data Suppose we have the following ASP.NET WebAPI Controller with two Get methods, the first returns the complete list of books and the second returns the book with the requested ID. Testing the Get() method. The Get() method that returns all books is easy enough to test. Testing the Get(id) method. Testing for getting with an invalid ID is equally simple: 1: [TestMethod]. Testing an HTTP PUT operation. Testing an update using an HTTP put is just as simple as a testing a get action. 8: 9: }. 11: {.
    The Problem Solver - Sunday, May 12, 2013
  • Complete Unit Testing
    vBlogged my thoughts here: I'm using the LegacyApprovals package (which I wrote, download below) here to test every combination of the possible parameters. It's design to test a lot of cases, but not every case. Links: Approval Tests (Legacy Approvals is part of the standard ApprovalTest download.) Today I had a conversation with @WoodZuill where an extremely rare situation came up. situation where you can practice TDD with Completeness of the possible user scenarios. It's worth pointing out this is NOT what the LegacyApprovals package was actually made for.
    DevelopMentor Courses - Tuesday, December 7, 2010
  • Unit testing the AngularJS code in the RAW Stack
    However we didn't actually start writing any tests yet so lets create a few tests. The AngularJS controller under test Just as a quick reminder the AngularJS controller in our previous code was as follows 1: ( function () {. What do we want to test. The first thing we need to think about what to test. There isn't really a lot of application logic here so there is not much to test on that front. With JavaScript there is no compiler to validate this so it makes sense to create small unit tests that check our public interface. Try it.
    The Problem Solver - Saturday, February 22, 2014
  • Unit testing AngularJS HTTP requests in the RAW Stack
    'In the previous blog post we created some basic unit tests for the AngularJS movies controller. As I mentioned there was one set of tests missing and that was around the controller doing HTTP requests to the WebAPI backend. In a unit test typically don't want to do those test for real. Fortunately AngularJS makes it easy to fake those requests and test the controller bits in isolation. which contains a number of things for our tests. Testing the HTTP requests The unit tests are quite simple. 13: $scope: scope.
    The Problem Solver - Friday, February 28, 2014
  • Learning more about Unit Testing
    I just had an email in my inbox recommending "The Art of Unit testing" by Roy Osherove. I've been doing unit testing for a long time, but since I'm largely self-taught I can probably learn something. know all the basics, I feel the biggest challenge with unit testing larger applications is managing test data. guess I’ll put in another order at Amazon. :-). Perhaps I’ll even sign up for a course at DevelopMentor.
    The Blomsma Code - Thursday, May 27, 2010
  • Significant Advances in Unit Testing Windows Workflow
    This post describes a unit testing library for testing Windows Workflow Foundations.It Rather it’s a library that can be used in conjunction with any of these testing frameworks. is not a framework like HarnessIt, NUnit, or MsTest. Download the library with sample … Continue reading → Agile.NET agile Articles Visual Studio WF Workflow
    Michael C. Kennedy's Weblog - Sunday, January 18, 2009
<< 1 2 3 ... 12 13 >>
%>