Quantcast
Channel: Testing – Coffee => Coder => Code
Browsing latest articles
Browse All 13 View Live

Image may be NSFW.
Clik here to view.

Unit Test Test Data

One of the most valuable lessons I learnt whilst doing unit testing with Sitecore projects was to ensure my tests were robust and repeatable. I went through a lot of pain in my earlier projects with...

View Article



Image may be NSFW.
Clik here to view.

Dreamcore AU 2011

It was my great pleasure to present at Sitecore’s Dreamcore event in Sydney, Australia this week. This was the first time the conference was held in Australia and it was fantastic with lots of great...

View Article

Image may be NSFW.
Clik here to view.

Automated Testing in Sitecore Without an HttpContext

This year was the first year that Sitecore’s Dreamcore conference was held in Australia. And I for one jumped at the opportunity to speak at it. One topic that quite interests me is unit testing, and...

View Article

Image may be NSFW.
Clik here to view.

Mocking Sitecore

Whenever I talk about unit testing and Sitecore, someone inevitably will ask about the practise of mocking. Mocking involves creating a simple object to replace a dependency in your unit tests so your...

View Article

Image may be NSFW.
Clik here to view.

What to Test?

Recently I was having a discussion with someone around how to test certain scenarios in Sitecore. The scenario in question involved testing a sublayout on a page to ensure it was working properly, and...

View Article


Image may be NSFW.
Clik here to view.

Testable Code

Ahhh, automated testing. It’s what gives you that warm fuzzy feeling that your code is all working as you intended. A validation that you’re free from errors and a safety net for future modifications....

View Article

Image may be NSFW.
Clik here to view.

Roll your own Sitecore Item

One of the most difficult aspects of unit testing against Sitecore is mocking Sitecore items. The Sitecore Item class is quite a complex class and it’s interface is not structured the way most mocking...

View Article

Image may be NSFW.
Clik here to view.

Sitecore Integration Testing Made Easy

A few years back, I uploaded a couple of short videos to YouTube to show how easy it can be to get started with testing your Sitecore solution. The approach shown in the videos uses my ASP.NET embedded...

View Article


Image may be NSFW.
Clik here to view.

Sitecore 8.2: Mock your Items

Back in January I wrote an article about how to Roll your own Sitecore Item, which showed how to create an in-memory Sitecore item for use in testing. The technique was quite limited and still required...

View Article

Browsing latest articles
Browse All 13 View Live




Latest Images