SharePoint Test-Driven Development Resources
I have been tasked with figuring out how to integrate test-driven development into my company's new development process. One of the important points is how to do TDD with SharePoint development, which I am not too familiar with. The best I could come up was creating an interface-based service layer around SharePoint. That way, you could have stub or fake classes that implement the interface.
After looking at some mocking frameworks, I realized you could have a manager class that is not interface based and mock the manager when testing. I have a long way to go, but based on the list of articles below, I think I am on the right track. Any suggestions are appreciated.
After looking at some mocking frameworks, I realized you could have a manager class that is not interface based and mock the manager when testing. I have a long way to go, but based on the list of articles below, I think I am on the right track. Any suggestions are appreciated.
- Corporate Coder : TDD development with Sharepoint 2007
- Corporate Coder : More thoughts on Test Driven Development with Sharepoint 2007
- Model-View-Presenter Pattern with SharePoint Web Parts - Fear and Loathing
- "Test Driven" SharePoint Development
- OneOfSix - Creating an NUnit base test class for SharePoint applications
- OneOfSix - Creating an NUnit base test class for SharePoint applications: Part 2
- White Paper by Andrew Woodward
Labels: sharepoint, tdd
2 Comments:
Adam, I have started to publish some whitepapers on TDD SharePoint development. You can view part 1 here http://www.21apps.com/agile/beginners-guide-to-test-driven-web-part-development/attachment/unit-testing-sharepoint-solutions-the-basics/
Thanks, Andrew. I added your link to the list.
Post a Comment
Subscribe to Post Comments [Atom]
<< Home