Latest

  • Testing & ALM

    30 Days of TDD – Day 24 – Strictly Mocking

    As I mentioned in my previous post, TDD is easy to do in a green field situation. However for most developers these types of projects are few and far between. Sometimes the brown field project we’re working on don’t lend themselves to unit testing. In the last post I demonstrated how Future Mocking can help in situations where mocking is difficult due to the use of statically bound dependencies. In this post I’ll show how using strict mocking can help ensure that you’re “after the fact” mocks of dependencies and methods are in line with how these components actually work.
    November 25, 2013
  • .NET Testing & ALM

    Distribute Your Tests

    As your suite of tests - both functional UI tests and load tests - grows, so should your use of Test Studio's more advanced features; there's no reason to be running your tests by hand. Craft your tests well, use good test lists, and finally spread out the processing. Test Studio's new remote execution engine makes distribution and scheduling of your tests easier than ever. When you start the setup for remote execution, there are some details you'll need to know. There are a few components that you’ll be using: A storage service, which is connected to a ...
    November 25, 2013
  • .NET Testing & ALM

    Two Agile Myths- BUSTED!

    Agile is just a series of waterfalls There’s a lot more to being agile than just shortening the cycle. The waterfall process is defined by stages (or tollgates) that happen in serial - Requirements, Design, Construction, Verification, and then Maintenance. Agile incorporates all of these tasks in parallel, with a focus on collaboration, rapid feedback loops and the embracing of change. Each story (or item of value) moving through an agile queue can be labeled with similar states from waterfall. This does not make the sprint mini-waterfalls. Since the transitions are at the feature/story level (and not at the project ...
    November 22, 2013
  • .NET Testing & ALM

    Load Testing Web Services With Test Studio

    Many web sites make use of Web services, either in-house services or those from a third party.  Web services perform tasks common across many applications, such as stock market tickers, weather reports, and news feeds. If the Web service is in-house, testers have to determine if it meets the required performance and load characteristics.  If the service is provided by a third party, you want to make sure that it is meeting your Service Level Agreement regarding the number of simultaneous users and response times.  Test Studio will have the ability to help you determine this. Let’s take a look ...
    November 20, 2013
  • Testing & ALM

    30 Days of TDD – Day 23 – Mocking… FROM THE FUTURE!

    The examples I’ve been working with for this series have assumed that you are doing "Green Field” development. This means that we are writing an application from scratch and can make sure all of the things that make code testable are incorporated into our design from the start. The biggest one of these things being the user of dependency injection. But what if you are working on “legacy” code that still uses static dependencies and not dependency injection? Is TDD and unit testing out of reach due to a decision made at the beginning of the project? Not necessarily.
    November 20, 2013