• .NET

    New JustMock 2011 Q1 Internal build released

    We are excited to announce new JustMock internal build release published today. It's our second internal build after 2011 Q1 release. In the past weeks the product team has been focused mainly on polishing JustMock but hasn’t forgotten to add new stuff as well. Here is a comprehensive list of the functionalities that have been added and improved in the latest internal build including thorough examples: What’s new: New : Deep LINQ mocking support (mocking join query): Example (Details can be found in the LinqFixture.cs under the supplied examples):             var simple = new SimpleData();             Mock.Arrange(() => simple.Products).ReturnsCollection(GetFakeProducts());             Mock.Arrange(() => simple.Categories).ReturnsCollection(GetCategories());             var...
  • Testing & ALM Mobile

    Windows Phone Garage Events

    There will be two Windows Phone Garages in South Carolina next week. Join Glen Gordon, Chris Craft, and myself on June 16th in Columbia, SC, or join Glen Gordon, Chris G. Williams, and myself on June 17th in Greenville, SC. These will be a blast, and by participating you can win a brand new Windows Phone! You will build a Windows Phone application at the Windows Phone Garage, and if you use Telerik RadControls for Windows Phone, you may walk away with a license to use them! The trial comes with examples to get you started, but I’ll be on hand...
  • Testing & ALM Mobile

    Generating Documentation with JustCode

    If you enjoy writing documentation from scratch, this article may not be for you. If you like removing as much repetitive work as possible, then JustCode can help you out. Aside from aiding in this endeavor with code, it also addresses code documentation. There are two primary features in JustCode I will discuss. The first is Generate Documentation which handles the XML comments for methods and types. The second is a new feature, Introduce Header, which was made available on May 3rd with internal build 1. Generate Documentation I like self-documenting code. I write short, descriptive methods intended for anyone to be...
  • Testing & ALM Mobile

    Parameter Refactorings in JustCode

    The internal build 1 of JustCode comes with three new refactorings to easily manipulate method parameters. Move to Parameter There are times when one has hardcoded a constant value within the body of a method, but the method would have more flexibility if the value were a parameter instead. This refactoring allows you to move the variable to a parameter, and it will automatically update calls to the method with the defined value for the variable.   class Program{ static void Main(string[] args) { Ninja ninja = new Ninja(); ...
  • .NET

    Migrating Reflector’s Lists to JustDecompile ones

    If you (like me) were a heavy Reflector user you will probably like the tool that I’m going to share with you today. It is a very simple WPF application that allows you to migrate your existing Reflector's list to their JustDecompile equivalents. Usage is pretty straight forward. You just™ point the app to your Reflector’s installation folder and it will take care of the rest. You can download the tool here. Any feedback: bugs and feature requests is more than welcome. Let's finish with a rhyme: Let the force of a freely decompiled source guide you in your course. ...