Skip to main content

Test Driven Development (TDD)

Great webinar today on Nunit in C# for the Test Driven Development (TDD) by Pragmatic Works.

It is interesting to see the good things that people use that help in development of applications. Even though I have been programing for years, I have not yet adopted the Unit Testing. Sometimes I feel like shouting at myself as to why not, but reality of the matter is, most of the legacy classic ASP application that I work on, does not really has room for elaborate rewrite of code. When ever I get chance to rewrite partial function code, I try my best to upgrade it but obviously time is the issue and also if a solution is working, no one wants to spend tons of money just to replicate the apps and sub-apps to another programing language or newer model.

The old mantra of don't fix it if it isn't broke comes into play all the time and I feel strange because of that, as to why I haven't used the Unit Testing in my code when functions start to have issues.

I wish there was a better set of options of doing the sales pitch for new upgrades, but sadly the new upgrades look good to talk about but does not translate into the justification for all the expenses.

One of these days, I guess I can finally say I am done with the classic ASP and look forward to the future with automated testing by Test Driven Development of my code.

Popular posts from this blog

Working hours in six months to a year

I usually try to look for how many hours I have worked on a given project and what hours that I  spend on learning or network management tasks.

Below I have added some hours calculation, after finding the breakdown by months from Berkeley website.


Credit: http://controller.berkeley.edu/payroll/payroll-system-pps/pps-training-materials/number-working-hours-month

2017Working hours six months (Jan 1st - Jun 30th): 
130 days x 8 hours =  1040 hours


Working hours six months (Jul 1st - Dec 31th): 
130 days x 8 hours =  1040 hours

Working hours for the year:
1040 hours + 1040 hours = 2080 hours
MonthWorking Days in the monthMonthly Working Hrs1/2 of working hrsMidpoint of working days in the monthDates of HolidaysJanuary22176888 a.m. 1/172,16February20160808 a.m. 2/1520March2318492Noon 3/1631April20160808 a.m. 4/17May2318492Noon 5/1629June22176888 a.m. 6/16July2116884Noon 7/174August2318492Noon 8/16September2116884Noon 9/154October22176888 a.m. 10/17November22176888 a.m. 11/1610,23,24December21168…