Browse by Tags

All Tags » Telerik (RSS)

Future mocking with #IgnoreInstance by Mehfuz's WebLog

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...
Filed under: , , ,

Running JustMock profiler outside of Visual Studio by Mehfuz's WebLog

In this post , I would be focusing on the issue that generally comes to query on how to run JustMock with standalone tools like nunit or msbuild console. Since mocking concrete method works initializing the .net profiler that is set using two variables...
Filed under: , ,

Mocking MsCorlib members by Mehfuz's WebLog

In this post , I will show how you can mock  members from MsCorlib. This is more of an introductory post and shows what you need to do in order to successfully mock an MsCorlib member. If you are planning to mock File or DateTime then the process...
Filed under: , , ,

Mocking LINQ to SQL [Continued…] using RLINQ by Mehfuz's WebLog

After making the post on mocking LINQ to SQL, this morning i was having a chat with Stephen forte and come to know that telerik a has product named RLINQ. RLINQ is built on top of OpenAccess and it supports variety of databases. Being curious, i thought...

Adding custom interfaces to your mock instance. by Mehfuz's WebLog

Previously, i made a post  showing how you can leverage the dependent interfaces that is implemented by JustMock during the creation of mock instance. It could be a informative post that let you understand how JustMock behaves internally for classes...
Filed under: , , ,

Mocking property sets by Mehfuz's WebLog

In this post, i will be showing how you can mock property sets with your expected values or even action using JustMock. To begin, we have a sample interface: public interface IFoo { int Value { get ; set ; } } Now,  we can create a mock that will...
Filed under: , , ,

Playing with aspx page cycle using JustMock by Mehfuz's WebLog

In this post , I will cover a test code that will mock the various elements needed to complete a HTTP page request and  assert the expected page cycle steps. To begin, i have a simple enumeration that has my predefined page steps: public enum PageStep...
Filed under: , , ,

Working with multiple interfaces on a single mock. by Mehfuz's WebLog

Today , I will cover a very simple topic, which can be useful in cases we want to mock different interfaces on our expected mock object.  Our target interface is simple and it looks like: public interface IFoo : IDisposable { void Do(); } Our target...
Filed under: , , ,

Asserting with JustMock by Mehfuz's WebLog

In this post, i will be digging in a bit deep on Mock.Assert . This is the continuation from previous post and covers up the ways you can use assert for your mock expectations. I have used another traditional sample of Talisker that has a warehouse [Collaborator...
Filed under: , , ,

Doing your first mock with JustMock by Mehfuz's WebLog

In this post, i will start with a  more traditional mocking example that  includes a fund transfer scenario between two different currency account using JustMock.Our target interface that we will be mocking looks similar to: public interface...
Filed under: , , ,

JustMock is here !! by Mehfuz's WebLog

As announced earlier by Hristo Kosev at Telerik blogs , we have started giving out JustMock builds from today. This is the first of early builds before the official Q2 release and we are pretty excited to get your feedbacks. Its pretty early to say anything...
Filed under: , , ,

Speaking at the Great Indian Developer Summit by Mehfuz's WebLog

I’ll be speaking at the Great Indian Developer Summit from April 20 – 23  at the Indian Institute of Science in Bangalore (Bangaluru), India. This will be my first ever to the GIDS and hopefully it will be a real great experience all together and...
Filed under: , ,

Creating Rich View Components in ASP.NET MVC by Kazi Manzur Rashid's Blog

One of the nice thing of our Telerik Extensions for ASP.NET MVC is, it gives you an excellent extensible platform to create rich view components. In this post, I will show you a tiny but very powerful ListView Component. Those who are familiar with the...

Telerik ASP.NET MVC Grid Preview (Take 2) by Kazi Manzur Rashid's Blog

In the last post , I have shown you how you can extend the ASP.NET MVC2 templates and some of the  issues of the current beta. In this post, I will show you how we are taking advantages of the new DisplayFor/EditorFor in our MVC Grid . One of the...

Telerik Extensions for ASP.NET MVC Survey by Kazi Manzur Rashid's Blog

Dear readers, as you know that we have released our beta few weeks back, we are currently looking for your feedback on the existing features as well as the features that you would like to see in our next release. This is a very short survey only 4/5 screens...
More Posts Next page »
Powered by Community Server (Non-Commercial Edition), by Telligent Systems