| |
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.
|
13 Articles match "Library","Unit Testing"
| Related DevelopMentor Courses | MORE | | 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. To which they replied, “When will that be?” DevelopMentor Courses - Wednesday, September 7, 2011 Lynn Langit: ApprovalTests at Agile 2012 Woody Zuill and I are presenting on the open source unit testing library ApprovalTests at the Agile 2012 conference this week. Below are the slides. The presentation will also be recorded and I will link that recording here after it’s … Continue reading → DevelopMentor Courses - Tuesday, August 14, 2012 Guerrilla.NET (UK) Training Use PFx as a unifying library for all your multithreading needs. Create robust code using unit testing frameworks and mocking Simplify your service deployment with zero config services with WCF 4.0. Write modern web applications that are simpler to unit test with ASP.NET MVC. Learn to write code using new.NET class libraries like PFx. How can I make sure people use my libraries correctly? Unit Testing Using unit testing comprehensively within software development is a growing movement. Leverage new features of C# 4.0, DevelopMentor Courses - Tuesday, March 1, 2011 |
20 Articles match "Library","Unit Testing"
| The Latest from DevelopMentor | MORE | | ASP.NET WebAPI Security 2: Identity Architecture There might be existing library code you want to call from WebAPI that makes use of T.CP (e.g. is static, and static is bad for testing” chant. is a getter/setter and, in fact I find it beneficial to be able to set different security contexts in unit tests before calling in some logic. Pedro has beaten me to the punch with a detailed post (and diagram) about the WebAPI hosting architecture. So go read his post first, then come back so we can have a closer look at what that means for security. Pedro nicely shows the integration into the web host. Why so generic? www.leastprivilege.com - Thursday, March 8, 2012 Build a Multi-Project Visual Studio Template good example is the SimpleMvmRiaServices project template shown in the first screenshot, which generates a Visual Studio solution with three projects: an ASP.NET Web project, a Silverlight client project, and a Test project for unit tests. Start by creating a class library project and referencing the assembly, Microsoft.VisualStudio.TemplateWizardInterface.dll. Download the code for this article here. To enhance developer productivity, the toolkit combines a set of helper classes with code and xml snippets, as well as Visual Studio item and project templates. Enjoy. Tony and Zuzana's World - Wednesday, September 14, 2011 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. To which they replied, “When will that be?” DevelopMentor Courses - Wednesday, September 7, 2011 | -
| The Best from DevelopMentor | MORE | - Significant Advances in Unit Testing Windows Workflow
This post describes a unit testing library for testing Windows Workflow Foundations. Rather it's a library that can be used in conjunction with any of these testing frameworks. Download the library with sample test project here: Kennedy.WorkflowTesting.zip (216 KB). First a Little History: Last September I posted this teaser entitled Unit Testing Coming to a Workflow Near You. Unit Testing Activities with Windows Workflow Foundation by Ron Jacobs. Unit Testing Workflow Activities by K. Scott Allen. Michael C. Kennedy's Weblog - Sunday, January 18, 2009 - Unit Testing Coming to a Workflow Near You
[Update: See the follow up post "Significant Advances in Unit Testing Windows Workflow" ]. However you won't find very much support for Test Driven Development (TDD) or unit testing in general. In fact the architecture that makes Windows Workflow powerful (strict separation of workflow, activities, and the host for example) really gets in the way of unit tests. There has been some work done on unit testing Windows Workflows. Here's some links: Unit Testing Activities with Windows Workflow Foundation by Ron Jacobs. Michael C. Kennedy's Weblog - Tuesday, September 30, 2008 - 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. To which they replied, “When will that be?” DevelopMentor Courses - Wednesday, September 7, 2011 - Unity, Multiple Constructors and Configuration
Lets start off with a simple example: I have two interfaces: IService and IRepository that live in the Interfaces class library. also have two implementations in the Services class library: MyRepository. 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. 1: public interface IService. 3: void DoWork(); 4: }. 1: public interface IRepository. 3: string GetStuff(); 4: }. 10: {. .NET Meanderings - Monday, June 7, 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. Download the library with sample … Continue reading → Agile.NET agile Articles Visual Studio WF Workflowis not a framework like HarnessIt, NUnit, or MsTest. Michael C. Kennedy's Weblog - Sunday, January 18, 2009 - Keep Dependency Injection Simple with MEF
Having to click through screens to test an application can be tedious and time-consuming, and it may not provide good code coverage or regression testing. By abstracting the View into a separate ViewModel, you can independently test the ViewModel to make sure it behaves as expected. The unit testing framework is simple another consumer of the View-Model. Whether or not you subscribe to the tenants of Test-Driven Development (TDD), you should test your ViewModels without any dependency on WCF services or databases. Enter Dependency Injection ! Tony and Zuzana's World - Tuesday, March 8, 2011 - Inversion of control and WCF
The are lots of reasons for doing so but in the end they mostly boil down to separation of concern which makes thing more modular and thereby easier to reuse and unit test. Add a Library Package Reference to the project and search for “Ninject.Extensions.Wcf”. Lots of people like to use in inversion of control container, usually shortened to IOC, to inject dependencies into classes. The problem is that you don’t always control the object creation and therefor are not always able to insert dependencies into the constructor, even when using an IOC container. repo = repo; }. The Problem Solver - Tuesday, April 19, 2011 %>
| | |