What are some easy and simple unit testing frameworks to use with Visual Studio 2010 Express vb.net?
Are there any good tutorials geared towards this?
It may not be true anymore, but previous versions of VS Express weren't able to install any plugins. This meant that you couldn't use the integrated test-runners, but that's really not that big of a deal.
Worst case is that you use VS to write your tests and compile both, then manually run your tests using their testrunner external to VS. The most common unit-testing platform for .NET is nUnit which includes a standalone test runner.
You can certainly install nUnit for VS 2010 Express C# (I just tried this out this morning), so I would think you could for VB. The link is a tutorial/demo for VS Express 2008, but it worked in my Express 2010 -- again, C#.
I also found a older tutorial using nUnit and VS 2005 Express VB
See also:
Is
it possible to integrate NUnit with
VB.net Express Edition? Which is the
best way?
Best
way to do TDD in express versions of
visual studio(eg VB Express)
Related
I am using Microsoft Visual Basic 2010 Express and I can't find the 'create test unit' command in the context menu.
I have tried this link: Where is the "Create Unit Tests" selection? and did not get solution. Please help.
I'm struggling to find a definitive product comparison link, but I'm pretty sure that Visual Basic Express 2010 does not support Unit Tests, at least the 2008 edition definitely doesn't:
http://download.microsoft.com/download/5/f/e/5feb6914-bcdf-432f-81c7-e386812b086a/VisualStudio2008-ProductComparison-v1.08.pdf
The link you posted refers to fuller Visual Studio 2010 versions.
Upgrade, or look into possible 3rd party plugins for your edition which can unit test.
I am wondering if there is any way to get support for LESS in the 2010 express edition of visual studio. I know there is a plugin available, but you cannot install that on a express edition. Installing the 2012 edition (which has less support built in) is not an option.
Edit:
To clarify, at the very least I am looking for color coding.
You might be able to configure the css or js editor for the extension in the tools, options window of visual studio. But other than that (and even that is only half a solution), VS Express doesn't support extensibility, so the official answer is unfortunately: no.
To enable these types of features you'll need at least VS Pro.
The other option is to use WebMatrix. It has the same LESS editor as Visual Studio, and it's free:
http://www.microsoft.com/web/webmatrix/
If you want auto-compilation/minification, there's an extension for that:
http://extensions.webmatrix.com/packages/OrangeBits
Is it possible to use Wix with Express editions? I am interested in 2010/2012 versions. I know I can use candle and light from the command line, but I am interested in integration with IDE
The Express versions of VS does not allow to extend the VS with the necessary plug-ins. So you have to stay with the command line.
Alternatively to VS you could try WiXEdit.
Actually, if the goal is to have a free installer suite, WiX is perfectly happy installing into Visual Studio Shell Integrated, which is freely available. All features of WiX are available.
The only limitation is you have to open a different instance of Visual Studio in order to build your installer, but I haven't found this to be limiting in the slightest, and in fact I appreciate the separation of concerns.
Of course, another solution these days is to simply use VS Community Edition.
I am currently testing sharepoint components using msTest, which works nicely. However, when I run my testst using ReSharper all tests fail because ReSharper (6) is running the tests using .net Framework 4.
Is it possible to configure ReSharper (6) to run all tests using .net Framework 3.5 (CLR 2)?
In case you use Visual Studio 2010: This is an issue in Visual Studio, not in ReSharper.
See Microsoft's answer:
Hi Chris,
In VS 2010, the Test Team has made a painful yet concious decision to
not support multi-targeting. As a result, test projects will be
upgraded to target .NET 4.0. We have made some, workarounds to allow a
VB Test Project that references an MVC code under test to not upgrade,
but in general, all others will be retargeted. The VB 3.5 Test Project
sill has some limitations and will always run tests in a .NET 4.0
process. Also, you cannot take the tests and run them on a VS 2008
test system.
Thanks Visual Studio Product Team.
in site http://connect.microsoft.com/VisualStudio/feedback/details/514130/visual-studio-2010-beta-2-silently-upgrades-mstest-test-projects-to-net-4-0.
Anyone know a good code analysis service or tool for vb.net? Like the one for c# with visual studio 2008 team edition or style cop for c#
Update:
My bad ,I am only using the visual studio pro in my new work place,so I could not use the code analysis for visual studio 2008 team edition
I believe that Code Analysis works on VB.NET code as well.
I just tested it, and it does work.
FxCop seems reasonable.
Besides, you can use
NDepend http://www.ndepend.com
Gendarme from Mono. http://www.mono-project.com/docs/tools+libraries/tools/gendarme/
ReSharper http://www.jetbrains.com/resharper/