There's been a lot of interest paid in the last couple of years on how to run NUnit tests against Sitecore.
Saturday, January 26, 2013
Sunday, January 13, 2013
Sitecore Unit Testing and Auto Include Config Files
I'm working on a open source project that involves running NUnit tests against Sitecore. I had originally set these up using the CodeFlood Test Runner, which creates a simple ASPX page for running NUnit tests so they have access to HttpContext. My partner on the project, Mike Edwards, pointed out this was unnecessary for unit testing Sitecore.
Labels:
Config,
Developer Tools,
Sitecore,
TDD,
Testing
Monday, December 10, 2012
Extending DMS: Symposium Learnings, Part 2
In my last post, I discussed Sitecore's conception of DMS as a nexus for measuring, managing, and optimizing engagement value. Today I'd like to share some concrete takeaways on how this can be done. I attended three developer-track talks on DMS, and each reinforced my understanding of how this module can be extended by the developer to tie the customer experience to business value.
Wednesday, October 31, 2012
Sitecore Symposium DMS Learnings, Part 1
With ten sessions and seven concurrent tracks, you have to have a strategy to tackle the Sitecore Symposium. Mine was to take in as much DMS wisdom as I could, and although Profiles, Personas and Patterns are still gurgling through my head, I came away with a clearer idea of how DMS works, how it can be leveraged, and how it fits in within Sitecore's roadmap.
Monday, September 10, 2012
A Look at Sitecore Social Connected
Social Connected is a free module from Sitecore that allows websites to:
- Enable visitors to log in with Facebook, Twitter, LinkedIn, or Google+
- Personalize content based on a visitor's social network profile
- Post messages to Facebook and Twitter timelines
- Capture DMS campaign and goal data on social network actions
The module was introduced in October 2011, and has gone through two upgrades, each of which significantly extended its functionality and usability. The initial release allowed log in and content related messages, version 1.1 added the ability to send messages directly to users based on DMS goals, and version 1.2, released in July 2012, presents impressive feedback on what happens to those messages, showing share, comment, and retweet activity, and evaluating the engagement value of users who come to site based on Like This and Tweet This links. The rate of introduction of new features shows Sitecore's commitment to the Customer Engagement vision announced at Dreamcore 2011, since it brings this notion of personalization and triggered action into the social networking space. This post takes a look at how to set up the module, what it can do, and how it can be customized.
Wednesday, September 5, 2012
Pseudo TDD with CodeFiles and Exceptions
I'm working on a hefty solution that takes north of a minute to load after a compile. Which is a killer for working through UI issues.
Monday, September 3, 2012
A SQL template for attaching Sitecore DBs
I've been doing some comparison analysis of different builds of Sitecore, and found myself creating a large number of throw-away installs locally. Attaching databases and giving rights was a bit of a nuisance, so I wrote a SQL Server Management Studio template. You can add this to your local SQL Server Management Studio by clicking Ctrl-T to open Template Explorer, and clicking New Template.
Sunday, September 2, 2012
Using enums as constants
The other day I found myself having to add a value in to a dictionary with a number of constant keys. I started out with this:
Then I felt bad.
//populating method: dictionary["constant1"] = value1; dicitonary["constant2"] = value2; ... //consuming method: value1 = dictionary["constant1"]; value2 = dictionary["constant2"];
Then I felt bad.
Labels:
C#
Thursday, August 30, 2012
Rocking the SRP with ReSharper
The Single Responsibility Principle is a pain in the ass. You're trying to get something done, and don't have a lot of time, and you'd like to keep all the moving parts in front of you. So put it all in one class, or better, yet, one method.
Thursday, August 9, 2012
An Evening with @Sitecorejohn
The Professional Sitecore Development book tour made a stop in Boston last night, and John West had quite a story to tell.
Subscribe to:
Posts (Atom)