What is the best framework for VB.NET?

What is the best taunt of syntax syntax and features?

My problem: most mocking frameworks now use lambda expressions that are really ugly to write to VB.NET, so is there any infrastructure that has good syntax without lambdas or has free syntax that does not need lambdas?

+7
frameworks mocking
source share
4 answers

I think the Typemock smart way is the best framework for .Net, instead of working in the runtime, it intercepts the CLR and can intercept any call. This allows you to make fun and test anything. Some people find this too powerful. This allows you to test something, while usually the fact that you cannot verify something is a good warning that something is wrong with your design. And it's not free.

I mainly use Rhino Mocks. It has really readable syntax, especially the new AAA syntax. Moq is brand new and should be good, syntax wise. Although I have not tested it yet.

+2
source share

rhino mocks.

But you may have problems with the new syntax of the lambda expression (especially when setting expectations for subs) to either use the new syntax or be prepared for it to work.

0
source share

Typemock APIs are very easy to use and come with all the features like faking Shared functions.

0
source share

FYI, Isolator has a specific VB.NET API, so you can easily use it: http://www.typemock.com/vbpage.php

However, this is a commercial product.

0
source share

All Articles