Me writing things down when I have time, as well as putting up some things that other people might find useful
Thursday, September 18, 2008
Restorante - Caffe Del Mare in Twickenham
Simple nunit walkthrough
1. Download and install nunit 2.0
2. In your VS project add a reference to nunit.framework
3. In your VS project create a new class. Name doesn't matter.
4. Add using NUnit.Framework to your using statements for the new class
5. Prefix your new class with [TestFixture]. example [TestFixture] public class MyTest{}
6. Prefix a method to setup your class with [SetUp]. example: [SetUp] protected void setup() {}
7. Prefix your test methods with [Test]. example [Test] public void ThisIsATest() {}
8. In your ThisIsATest() method type Assert. (PS type Assert dot so you can see the auto-complete)
And then look at the list of options available to you. Each test method should have one assert method which does a test.
To run the test, first build your project, then find nunit on your start menu and open it up. Use it to browse for the dll or exe in your bin folder you just compiled.
Use NUnit to run the test.
Thats all there is to it
Friday, September 12, 2008
Wednesday, September 10, 2008
Definition of globalization is
Answer: Princess Diana's death.
Question: How come?
Answer:
- An English princess
- with an Egyptian boyfriend
- crashes in a French tunnel,
- driving a German car
- with a Dutch engine,
- driven by a Belgian who was drunk
- on Scottish whisky, (check the bottle before you change the spelling)
- followed closely by Italian Paparazzi,
- on Japanese motorcycles;
- treated by an American doctor,
- using Brazilian medicines.
- This is sent to you by an African,
- using Bill Gates' - (an American)technology,
- and you're probably reading this on your computer, that use Taiwanese chips,
- and a Korean monitor,
- assembled by Bangladeshi workers Publish Post
- in a Singapore plant,
- transported by Indian lorry-drivers,
- hijacked by Indonesians,
- unloaded by Pakistani men,
- and trucked to you by Mexicans
- And now the above being emailed by a person sitting in South Africa
- Posted on this blog by me, a South African sitting in London.
- My brother is in Thailand
- I've got a friend who just moved to Austalia
- And my dad works for an American company in South Africa.
Monday, September 8, 2008
Olympic Credit Crunch
Windows Virtual Server hosting
I've been using VPSLand since beginning 2007, Its great value for money if you need more flexibility from your hosting than the standard web hosting that other companies offer. They're uptime is great and the few minor issues I had with them over the last 20 or so months were quickly addressed. Also helps that they have unlimited free online support via email, and they've always responded to me within a day or 2 with a solution!
I'd let you make your own mind up, also you need to consider if you need VPS hosting or if the standard hosting that can be more cheaply available.
I do think however that with the web becoming more and more powerful it will become more necessary for people to go for the more flexible options of VPS hosting.