development
Recently I’ve been working a lot with the new ASP.NET MVC framework, with Preview 1 (bleh) and the interim drop, Pre-Preview 3? The ActionResult is a fantastic addition, making the framework far easier to test. However, I noticed I was basically doing the same thing for each test: [Test] public void TestSomething() { var actionResult = controllerUT.Something() as RenderViewResult; If ( actionResult == null ) Assert.Fail(“ActionResult was null.”); Assert.That(actionResult.Vi... Is.EqualTo(“ViewName”));...
Quote: ...legacy code is simply code without tests. - Working Effectivly with Legacy Code - Micheal Feathers I was discussing testing with a friend the other day, mainly Test Driven Development and we got onto the topic of new code without tests and retrofitting them. The first thing that popped into my head was the above quote and the following: Quote: Code without tests us bad code. It doesn't matter how well written it is; it doesn't matter how pretty or object-oriented or well-encapsulated it...
I'm attending this weekends Developer Day Scotland in Glasgow and I'm trying to organise an ALT.NET meet/Open Spaces. I've left it really really late, but hopefully I'll be able to get something together. When I say "I'll", I'm hoping this will soon be "we'll". So, any other ALT.NETters attending DD and interested in having a short session? Colin, one of the organisers, has been kind enough to offer a room over lunch for it. If your attending and your not sure what ALT.NET is, feel free to join in,...
As you may or may not have seen, a few people have been blogging about Professional ASP.NET 3.5: In C# and VB on Amazon.com being $16. Being in the UK, I thought I would check it out. Turns out its just as cheap: http://www.amazon.co.uk/Pro... I've just ordered mine :)...
Have all your Desgin Pattern woes solved and more: http://uncyclopedia.org/wik... As a general rule of thumb, keep in mind that your code instantly gets 270-890% better when using design patterns (unless, of course, you are programming in Perl or Assembly). Note also that design patterns let you score big time with the ladies at parties (unless you abuse Dependency Rejection pattern), increase the size of your member, make you a better driver, and level you directly to OT9. Made my...
Looks like there is going to be a meetup on the 28th of May for the Scotland ALT.NET User Group. Unfortunately I might be on holiday so I won't be there! :( If your interesting in participating, check out the mailing list. Looks like it will be an informal meet up in Waxy O'Conner as a precursor to a more formal meetup. I'm keen on getting an Open Space conference going like what took place in Seattle at the weekend...
My dev manager has decided he has had enough of the terrible level of development education in Glasgow, so he's wanting to start a Glasgow ALT.NET User Group. It's not a job requirement for me to join, so I'm there. If your in Scotland and you want to discuss ALT.NET with other Scotland based develoepers, be sure to sign up. He posted on Scottish Developers and you can sign up for the mailing list here: http://tech.groups.yahoo.co...
Strictly no agencies. I mean it! If I get a single call or email I will NOT be polite. My employer is looking to hire a trainee .NET developer. No real previous .NET experience is required, but you must have a passion for development and the latest technology. You'll get the opportunity to learn and work with many practices and tools that fall under the ALT.NET banner: Agile Practices Test Driven Development Domain Driven Development Continuous Integration NHibernate Castle Binsor BOO Rhino .NET...
If your on the ALT.NET mailing list, you probably seen the argument debate of the choice of CI Server. I've always used CC.NET, but decided to give TeamCity a whirl last night. Overall I'm impressed, but I'm having a problem running my tests. I'm using the latest build of NUnit (2.4.7) and Team City returns an error : Failure executing test(s). If you assembly is not built using NUnit version 2.4.6.0, then ensure you have redirected assembly bindings. Consult the documentation of the <nunit2>...
I'm going, first one in a very loooong time. Anyone from Glasgow also going? There are prizes listed, but not how you win them... hmm... :) Get more information here: http://www.scottishdevelope...
Full development Archive