Paulo Morgado

.NET Development & Architecture

This Blog

Syndication

Search

Tags

News

Unit Test Today! Get Typemock Isolator!

Projects

Books

 

Visitors

Visitor Locations

Community

Email Notifications

Archives

Profile

Disclaimer

The opinions and viewpoints expressed in this site are mine and do not necessarily reflect those of Microsoft, my employer or any community that I belong to. Any code or opinions are offered as is. Products or services mentioned are purchased by me, made available to me by my employer or the manufacturer/vendor which doesn't influence my opinion in any way.

Browse by Tags

All Tags » Testing (RSS)
TypeMock: How to Make Reflective Mocks More Natural
Like I said before , this as been on the back of my mind for a while. A while back I introduced a way to get the MethodInfo of a method in a strongly typed way using LINQ , and that's how I'm going to make Reflective Mocks more Natural . Well...

Posted Thu, Jan 31 2008 23:56 by Paulo Morgado | 2 comment(s)

TypeMock: Making Reflective Mocks More Natural
I've been thinking about this for a while. Seems like someone beat me to it.

Posted Tue, Jan 29 2008 22:46 by Paulo Morgado | 2 comment(s)

Is Testing The Ultimate Goal?
Whenever you throw TDD without worshiping it you turn yourself immediately in a victim of religious fundamentalists. TDD is a gift from god, it's good, it's cool and should never be questioned. It's a dogma. Frans Bouma complains about it...

Posted Mon, Jan 28 2008 1:15 by Paulo Morgado | 2 comment(s)

Filed under: , ,

Custom Generators For SQL Data Generator 1.0 Beta
SQL Data Generator will be a great tool when redgate releases it. David Connell has a detailed post on how to build your own generator where he explains the concepts and ideas behind developing generators for SQL Data Generator 1.0 Beta . Andrew Clarke...

Posted Sun, Jan 27 2008 23:11 by Paulo Morgado | 2 comment(s)

Filed under: , , ,

TypeMock Basic Introduction Screencast at Facebook
Roy Osherove done a nice introductory 10 minute screencast that shows some basic features in TypeMock .

Posted Sun, Jan 27 2008 22:42 by Paulo Morgado | with no comments

Naming Conventions For Unit Testing
Reading Roy Osherove 's post about naming conventions for unit testing I have to say that it all makes sense to me. I just want to add that for property testing I use the corresponding method names: get_ Property and set_ Property .

Posted Sun, Jan 27 2008 22:13 by Paulo Morgado | with no comments

TypeMock Snippets For Visual Studio
I've just created a set of code snippets for Visual Studio for my most used features of TypeMock . Feel free to use it.

Posted Sun, Jan 13 2008 23:37 by Paulo Morgado | 9 comment(s)

JSMock on CodePlex
Bruno has set up a project at CodePlex for his testing framework for JavaScript .

Posted Thu, Dec 27 2007 21:57 by Paulo Morgado | with no comments

Unit Testing in JavaScript
Bruno does a lot of JavaScript development and needs to build lots of web pages to test his code. On top of that, those tests always involve a human tester and cannot be included in automated tests (like in continuous integration). That's why I dared...

Posted Thu, Dec 27 2007 1:04 by Paulo Morgado | with no comments

Filed under: , , , ,

Stop Designing for Testability (by Eli Lopian)
Eli Lopian from TypeMock™ , has an article on CodeProject about the disadvantages of design for testability and how to use TypeMock™ to remove these disadvantages while keep the advantages of unit testing. I have to say that I agree with Eli: design for...

Posted Wed, Dec 26 2007 21:25 by Paulo Morgado | with no comments

Unit Test Patterns for .NET (from TypeMock™)
There is a good set of articles about Unit Test Patterns in the TypeMock™ site: Unit-Test Patterns for .NET - Part I This article looks at patterns in unit testing and describes the main patterns found in tested .NET code. It also describes the problems...

Posted Wed, Dec 26 2007 20:21 by Paulo Morgado | with no comments

TypeMock 4.1 has been released.
The main features of this version are: Support of .NET 3.5 syntax changes Mocking automatic properties. Mocking Anonymous Types. Mocking Lambda Expressions. Verifying New Initialziers. Mocking Extension Methods. Mocking LINQ statements. Integration API...

Posted Tue, Oct 2 2007 23:50 by Paulo Morgado | with no comments

TypeMocks™ 4.0.0 is now available
TypeMocks™ 4.0.0 is now available . In my previous analysis mentioned two drwanbacks of this mocking framework: The lack of a mocking scope. The lack of the use of Generics in its APIs. Let's start with the second one. Generic Reflective API TypeMocks...

Posted Sun, May 20 2007 20:34 by Paulo Morgado | with no comments

Test Driven Development - Is it good or bad?
For short: BAD . I've been thinking about this for a while and reading Michael Puleio's blog [ ^ ] [ ^ ] has made me think even more about this. What is often referred as Test Driven Development (TDD) is actually Test First Development (TFD), which is...

Posted Thu, Mar 29 2007 23:49 by Paulo Morgado | 27 comment(s)

The Laws of Unit Testing
Reading this post from Michael Puleio's blog I got to this post from Michael Feathers' blog . In his post Michael Feathers doesn't state what a unit test is, but what a unit test isn't. And, sometimes, this is just enough to help a lot. A test is not...

Posted Wed, Mar 28 2007 23:42 by Paulo Morgado | with no comments

TypeMock.NET Version 3.7.0 is now available
TypeMock announced that Version 3.7.0 of Type.NET is now available. A few of the new features included in this release are: You can now mock mscorlib interfaces. Enterprise Edition only Vista support is now complete. You can fire Multiple instances of...

Posted Wed, Feb 21 2007 8:50 by Paulo Morgado | with no comments

Unit Testing and Mock Frameworks
I'm not a big fan of Test Driven Development (TDD) , but I love Unit Testing . But to be productive on unit testing I need a good framework for Mock Objects . I can't expect to be productive and have to build a lot of mock classes to test other...

Posted Sat, Feb 17 2007 23:51 by Paulo Morgado | 12 comment(s)

More Posts « Previous page