Browse by Tags

Tagged Content List
  • Blog Post: Tiny C++ Unit Test Framework

    I was working on a small project for personal use that I wrote in C++ and I wanted to test it. Since it’s a tiny project, I didn’t bother installing a well-known test framework that ships with a plethora of features. I just wanted a simple test runner that can show me a failure when it happens. Basically...
  • Blog Post: On Testability

    Acceptance testing is basically black-box testing done by the QA team to sign off. It’s very important to have clear pre-defined goals for acceptance testing as early as possible during the planning phase. In fact, the requirements specifications should define negative scenarios and expected failure...
  • Blog Post: How to: Debug Deadlocks Using Windbg?

    Attach the debugger to the process Load SOS ~* e !clrstack to view the CLR stack of all the threads and where they are Look for System.Threading.Monitor.Enter(System.Object) in the top frames Load SOSEX.dll from http://www.stevestechspot.com/SOSEXUpdatedV11Available.aspx !dlk to detect...
  • Blog Post: Test Patterns

    Just like design patterns, the use of test patterns will make your life easier. A lot of the common testing methods can be reused. Along with the benefits of reuse, using patterns makes it easier to explain to others what you are going to do in a word or a two instead of telling the whole story. Moreover...
  • Blog Post: Windbg

    Using Windbg, aka Debugging Tools for Windows , is a great way for debugging, crash analysis, and reading dump files. If you’re not a keyboard person who likes to write commands and be in the driver’s seat, you might not like it at the first glance, but after using it, you’ll appreciate its power. To...
  • Blog Post: !exploitable

    !exploitable is a crash analyzer plug-in for windows debugger (windbg) that does post-mortem analysis of a crash and assists its security risk, very cool! The project is licensed under Microsoft Public License (Ms-PL) and you can download it at codeplex . The analyzer rates the crash one of the following...
  • Blog Post: File System Limits

    When you create a file or a folder, do you check that the full path is not too long?! Make sure that you handle the PathTooLongException : Try to exceed the maximim lenght on Windows, and you'll get this error: Here are some limits in Windows APIs that you should know about: ...
  • Blog Post: Pseudo-localization

    It's an economic need to develop international software as you need to reach as many customers as possible all over the world. Let's tackle a simple scenario, imagine that you will develop an application that has a bilingual UI: English and Arabic. It's very easy to develop everything in English, but...
Page 1 of 1 (8 items)