|
|
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.
|
15 Articles match "Unit Testing"
|
Related DevelopMentor Courses
|
MORE
|
|
Virtual ASP.NET MVC
How can I build unit tests for my MVC application? Decoupling and IoC In this module we will see how to design for unit testing using the repository and service patterns and how to utilize dependency injection. Unit Testing and Mocking Unit testing is one of the main motivators for MVC. This module examines how MVC facilitates unit testing and how to write unit tests. We will also see how mocking frameworks aid in unit testing. How do I write views to render HTML dynamically?
DevelopMentor Courses
- Thursday, May 27, 2010
Test Driven Development for C# Developers
Create user stories to better define requirements Quickly and efficiently turn those stories into unit tests Use mocks to test against seemingly 'un-testable' conditions Write tests against web pages (ASP.NET) Write tests for GUIs (Windows Forms & WPF) Produce cleaner, more modular code. Avoid the pitfalls of un-manageable tests Keep your code running with an automatic regression suite Deliver code in significantly shorter release cycles. Have confidence in your code Test Driven Development (TDD) is the foundation of Agile code.
DevelopMentor Courses
- Wednesday, June 17, 2009
Essential ASP.NET MVC
How can I build unit tests for my MVC application? Unit Testing Unit testing is one of the main motivators for MVC. This module examines how MVC facilitates unit testing. We will see how to design for unit testing using the repository and service patterns and how to utilize dependency injection. We will also see how mocking frameworks aid in unit testing. You'll get answers to these questions: What is ASP.NET MVC and how is it different than ASP.NET WebForms? How do I write views to render HTML dynamically?
DevelopMentor Courses
- Thursday, November 5, 2009
|
58 Articles match "Unit Testing"
|
The Latest from DevelopMentor
|
MORE
|
|
Purchasing Visual Studio 2010
Testing. Unit Testing. Test Impact Analysis. Coded UI Test. Web Performance Testing. Load Testing 1. Microsoft Test Manager 2010. Test Case Management 2. Manual Test Execution. Fast-Forward for Manual Testing. Database Unit Testing. Database Test Data Generation. Test Case Management 2. MSDN Subscription - Software for Development and Test Use 4. May require one or more Microsoft Visual Studio Load Test Virtual User Pack 2010. Below the prices is a feature comparison also….
The Blomsma Code
- Tuesday, July 13, 2010
Unity, Multiple Constructors and Configuration
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. Its mostly straightforward as IoC containers go but one thing had me puzzled for a while as its not really documented or blogged as far as I can see; so I decided to blog it so hopefully others looking will stumble across this article. 1: public interface IService. 3: void DoWork(); 4: }. 1: public interface IRepository. and MyService.
.NET Meanderings
- Monday, June 7, 2010
Things to do to improve code quality
On this occasion the exercise went particularly well and resulted in the list in the picture below: Lets run through these one by one - not necessarily in the order on the sheet: Test Driven Development: if there is one practice above all others which contributes to better code quality and fewer bugs it is TDD. When run as part of a continuous integration cycle with frequent automated builds and tests the practice is Unit Testing on steroids. Acceptance Test Driven Development (ATDD) is the next level up from unit test based TDD. shame really.
Allan Kelly's Blog
- Thursday, June 3, 2010
|
-
|
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. In that previous post, I highlighted what I could determine to be the current state-of-the-art with regard to unit testing workflows, circa September 2008.
Michael C. Kennedy's Weblog
- Sunday, January 18, 2009
-
Article: Avoiding 5 Common Pitfalls in Unit Testing
Llewellyn Falco and I recently wrote an article for DevelopMentor's Developments newsletter entitled Avoiding 5 Common Pitfalls in Unit Testing. Avoiding 5 Common Pitfalls in Unit Testing. When I started out with unit tests, I was enthralled with the promise of ease and security that they would bring to my projects. In practice, however, the theory of sustainable software through unit tests started to break down. Unit Tests have become more trouble than they are worth.". When tests would stop working, we just ignored them.
Michael C. Kennedy's Weblog
- Thursday, August 6, 2009
-
Article: Avoiding 5 Common Pitfalls in Unit Testing
Llewellyn Falco and I recently wrote an article for DevelopMentor's Developments newsletter entitled Avoiding 5 Common Pitfalls in Unit Testing. Avoiding 5 Common Pitfalls in Unit Testing. When I started out with unit tests, I was enthralled with the promise of ease and security that they would bring to my projects. In practice, however, the theory of sustainable software through unit tests started to break down. quot;Unit Tests have become more trouble than they are worth." Pitfall #1: Tests are hard to maintain.
-
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
-
TDD Invades Space Invaders
As a follow-up to our " Avoiding 5 Common Pitfalls in Unit Testing " article we did a webcast where we took a problem from the audience and solved it live and unrehearsed on stage. The thing to remember is that all of this was done for the sole purpose of creating a recipe for a scenario we could test. Create a new test project. We made it to step 4 during our presentation (download code below) and estimate another 15 minutes would have had the whole scenario done, tested, and well-factored. Tags: DevelopMentor Screencasts Talks Unit Testing
Michael C. Kennedy's Weblog
- Wednesday, October 28, 2009
-
TDD Space Invaders Video and Downloads
Recently Llewellyn Falco and I did a webcast for DevelopMentor where we demonstrated some TDD techniques and introduced Approval Tests. Tags: DevelopMentor Screencasts Talks Unit Testing We let the audience choose our project and they chose Space Invaders. It was all great fun. Now the videos and MP3 streams are online and available for download. . Be sure to check out the write-up we did afterward where we talked about the tools and gave you a chance to try it for yourself: TDD Space Invaders Write-up. Cheers! Michael. All content copyright Michael C. Kennedy.
Michael C. Kennedy's Weblog
- Wednesday, November 4, 2009
-
Why Write Unit Tests?
Why Write Unit Tests? I've made a small video to go with this post Approval Tests have allowed us to focus on the parts of testing at a much higher level of abstraction. The benefits of Automated Tests are one of the areas that we can now more clearly appreciate. There are 4 main areas programmers can benefit from using Automated Tests (Unit and otherwise) Specifications Feedback Regression Granularity Let's talk about each of these. Well, you can't do better than a running, failing unit test. First, there is Specifications.
|
|
|