Welcome to MSDN Blogs Sign in | Join | Help

Just Coding

Spanish Developer Bits

Browse by Tags

All Tags » Agile » Code   (RSS)
Moles
I’ve been interesting in unit testing for some years now. One major aspect of unit testing is about how use designs that allows a separation of concerns so you can test your program as units (usually at class level), for this the interface basic programming Read More...
TestResults Reports in TFS Builds
If you use TFSBuilds with VS UnitTests, you know how to inspect the TestResults: you must download the whole directory to your local machine, and sometimes this folder could be pretty huge. So, if you want to check the error details of your tests, you Read More...
Testing with VS2005 Demo
Today's workshop was based on a demo to show all the vs features about testing, it covers: Unit Tests (With MockObjects) Integration Tests (Using ASP.Net Host) Functional Tests (With Web Tests) Load Tests (With testcontrollers and test agents) I've packed Read More...
NUnit vs VSTS
NUnit is the most popular unit tests framework for .Net. The new VSTS has a chance to replace NUnit in corporate environments, however there are some minor issues you must know before take a decission… Read More...
HowToUseXmlDataDocument
One test is better that thousand words... [TestFixture] public class XmlDataDemo { [Test] public void LoadDataSet() { EmployeeDataSet ds = new EmployeeDataSet(); ds.ReadXml(@".\..\..\Employee.xml"); Assert.AreEqual(1,ds.employee.Rows.Count); } [Test] Read More...
PrinciplesOfObjectOrientedDesign
Does everybody agree about the " Principles Of Object Oriented Design " ? from: http://butunclebob.com/ArticleS.UncleBob.PrinciplesOfObjectOrientedDesign "… The first five principles are principles of class design. They are: SRP The Single Responsibility Read More...
MockObjects again
Finally my article about TDD, MockObjects and Dependency Injection is updated to this new URL: http://msdn.microsoft.com/es-es/library/bb932285.aspx It's in Spanish, but the sample code is English readable !! I'm waiting for your feedback. Read More...
Unit Test Rules
Michael Feathers has posted a set of Unit Tests Rules http://www.artima.com/weblogs/viewpost.jsp?thread=126923 he said: A test is not a unit test if: It talks to the database It communicates across the network It touches the file system It can't run at Read More...
How to learn Design Patterns
Jeremy D. Miller talks in his blog about how to learn and apply Design Patterns. http://codebetter.com/blogs/jeremy.miller/archive/2005/09/01/131509.aspx I completely agree with his ideas, however I've been in frustrating situations when you come to an Read More...
My first MSDN Article is online
My first article for microsoft.com is online. MockObjects y TDD en .Net Framework It has been published in "MSDN en Español" and based on user feedback I will plan the english version I would like to upgrade to .Net 2.0 using VSTS, but I'm waiting the Read More...
NDepend
I've been using the Reflector AddIns to extract dependency graphs to help to undestand code that I have to review. NDepend is a nice-tool, easy to integrate with your build process, it helps you to analyze your code and extract dependencies. http://smacchia.chez.tiscali.fr/NDepend.htm Read More...
How to UnitTest PipelineComponents
The biztalk pipeline framework define some interfaces that allows you to unit test the component without the biztalk infrastructure: Suppose you have a General Pipeline Component, that implements the method: IBaseMessage ExecutePipelineComponent ( IPipelineContext Read More...
Do you like VS Code Regions ?
The first time I saw the feature called CodeRegions was back in the 90s, the tool was the HotDog Editor , it allows you to collapse HTML tag elements. Now, with VS.Net we have the same feature for C# and VB.Net code. I liked it. The first idea that comes Read More...
NUnit & VS Integration Macro
Macro to setup VS projects to debug it with VS Read More...
ResourceReaderRefactor
A refactor of a method posted by raul about reading resources from assemblies Read More...
Page view tracker