Telerik blogs

Latest

  • Productivity

    Future mocking with #IgnoreInstance

    In my previous post, i showed how JustMock picks mock expectations based on current context without the instance being injected. Based on feedback we found that It’s sometimes confusing and often does not work as intended. However, the context of this post is not to introduce future mocking rather a new feature that allows you to skip mock instance intentionally (when you can’t pass the dependency through a constructor or via method argument) instead the tool is applying it for you on behalf. You can find more on future mocking and some abstract behind it from my previous post: http://weblogs.asp.net/mehfuzh/archive/2011/09/30/future-mocking-revisited.aspx Now moving forward, i...
    May 27, 2021 2 min read
  • Productivity Testing

    Q3 Webinar Recording Is Now Live!

    Did you miss yesterday’s Q3 Webinar on Functional and Performance Testing with Telerik Test Studio? No worries—you can now find it on Telerik TV! I run through the features we’ve added to Test Studio in our Service Pack 1 release for Test Studio 2011 R2. Some of the things you’ll see in this video: Using the new Test Owner property to help identify who to talk with when a test fails Gathering profiling data from multiple servers Walking through the new, improved Compare view to see differences between two performance run passes Using our new feature that prompts you ...
    May 27, 2021 1 min read
  • Productivity

    Telerik OpenAccess ORM – Stored Procedure Editor essentials

    Before Q3 2011 was live we have introduced you one of the major new functionalities you can find in the release – the new Stored Procedure Editor. It is the tool that allows us now to present our stored procedure support as feature complete. Along with the visual interface the Editor is offering, we have enhanced the functionality that was available in previous OpenAccess ORM versions generating automatically methods in the OpenAccessContext that are calling stored procedures. The old version of this code generation used to produce methods such as this one: // Old code generation public object[] GetCarsDetails(string carMake) {     SqlParameter parameterCarMake = new SqlParameter("CarMake",...
    May 27, 2021 3 min read
  • Productivity

    Telerik OpenAccess ORM – Using the new OpenAccessLinqDataSource

    In a previous blog post we have shared with you the upcoming release of a new feature of OpenAccess ORM, helpful for those of you doing RAD development in web environment – the OpenAccessLinqDataSource component. As Q3 is already live, you can try it out! Just drag the component from your Visual Studio toolbox, where you can find it under the Telerik.OpenAccess.Web category: To get you started and allow you to learn how to use OpenAccessLinqDataSource in no time, we have prepared a video for you on Telerik TV. Enjoy watching it and don’t forget to rate it - we value your feedback highly! If you like learning OpenAccess...
    May 27, 2021 1 min read
  • Productivity Testing

    Organize Your Tests, Part II: Use Metadata!

    In my last post I talked about some ways to organize your tests to help keep things clear and discoverable. My pal Adam Goucher, one of the top Selenium folks around, took me to task me via mail (in a friendly way!) that tags and metadata are a critical part of organizing your tests. I agree, but with a subtle difference. Tags and other forms of metadata are great for helping you categorize your tests, but I think they come in to play more when you’re trying to execute your tests versus organize your tests on the file system. ...
    May 27, 2021 3 min read