Telerik blogs
  • Productivity

    Mocking Property Getters and Setters

    In typical unit testing scenarios, mocking property getters and setters isn't high on the list of areas of concern. Where it usually comes into play is when an entity’s properties’ values (or the act of setting them) are part of the scaffolding, or behavior for the system under test.
    May 27, 2021 5 min read
  • Productivity

    Filtering JustTrace Snapshot Data

    In a profiling session lasting only a few minutes, the profiled application may perform millions of operations. The following image shows that in less than two minutes, the program called three property assessors over 10 million times each.
    May 27, 2021 4 min read
  • Productivity Testing

    Mocking Constructors with JustMock

    In .NET there are two types of constructors, instance constructors and static constructors. Instance constructors are called when objects are instantiated, while static constructors get called before any member of the class is invoked for the first time.
    May 27, 2021 3 min read
  • Productivity

    JustCode Code Style Settings for C# - Part 2

    In our previous blog posts on the JustCode Formatter ("Introducing the Formatter" and "Comparing the JustCode Formatter to the Visual Studio Formatter") we showed you what it is and how it works. Our latest post on the formatter detailed the first half of the settings for C#. In this post, we will show the rest of the code style settings for C#.
    May 27, 2021 5 min read
  • Productivity

    Slides, Source Code and Video to the “Getting Started with JustMock” Webinar Now Available

    Chris and I wanted to thank you all for attending the “Getting Started with JustMock” webinar. The slides, source code and recorded video are now available for you to explore. If you have any questions, then feel free to leave a comment below or send us an email/tweet. I encourage you to go ahead and download your own copy of JustMock and start experiencing Fast, Fluid Unit Testing for yourself. WEBINAR MATERIALS Slides, Source Code and the Recorded Webinar Video is now available for you to enjoy.
    May 27, 2021 2 min read