Welcome to MSDN Blogs Sign in | Join | Help

Just Coding

Spanish Developer Bits

Browse by Tags

All Tags » 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...
Debugging VB6 code with Visual Studio 2008
I was reviewing an old DNA app (more on this in a different post) and I got really surprised when I saw that  we can debug VB6 code with VS2008 !!! Read More...
RidoCode
Since gotdotnet is phased out, I'm moving all my samples to codeplex ( http://www.codeplex.com/ridocode ), including the famous FileRollerTraceListener 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...
Mocking SQLException
I'm working on a presentation about Testing, and one of the technics I would like to show is MockObjects. One of the mock objects I want to create is a DataAccess Layer, and this one should throw SqlExceptions, however the SqlException class is sealed Read More...
Some workaround for ObjectDataSource: could not find a non-generic method '...'
Today I was playing with the new DataBind capabilities of ASP.Net 2.0, and found this error.. here are some links to possible solutions Link to Some workaround for ObjectDataSource: could not find a non-generic method '...' Read More...
The Future of Programming Languages
Two years ago I wrote about "The Future of Programming" bercause it was the keynote at OOPSLA04. I found a nice presentation from VSLive! Toronto 2006 where Lohn Lam talks about RUBY as an example of a language of the future (with lessig style) Link to 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...
Look at this code !!
At the beginning of this blog I started to submit intersting URL, or sites I don't want to forget. Since I discovered Del.Icio.Us (social bookmark manager) I just post my new links there , but today I've found a blog dedicated to the most horrible code Read More...
More Posts Next page »
Page view tracker