Sometimes, when you are pairing you feel the need to be more precise in the way you write code. You might want to generate the same amount of code using lesser keystrokes. This has a few un-obvious advantages:
- that your pair is not going to have to sit bored as you keep pecking on that keyboard
- with lesser keystrokes, you’re going to write code quicker(duh),
- with lesser keystrokes, you have fewer errors.
- You look cooler and more sophisticated.
![]() | ![]() |
Even the fastest typists I know are like hulk when it comes to coding - All brawn(Like Hulk). Coding is not just typing. Its more sophisticated(Like Flash).
Normally, creating a test class in c# would involve the following steps.
- Navigating to the folder where you want to put your test file.
- RightClicking on the folder and clicking add -> Class
- Giving a proper name for the test class.
- Adding a using NUnit.Framework; line of code at the top of the file
- Marking the class as [TestFixture]
- Adding [SetUp] and [TearDown] methods
- Finally, you get to the test and get to the arrange, act, assert tradition.




