Questions tagged [rowtest]

10 questions
149
votes
6 answers

Does MSTest have an equivalent to NUnit's TestCase?

I find the TestCase feature in NUnit quite useful as a quick way to specify test parameters without needing a separate method for each test. Is there anything similar in MSTest? [TestFixture] public class StringFormatUtilsTest { …
tjjjohnson
  • 3,270
  • 4
  • 31
  • 33
42
votes
6 answers

How to RowTest with MSTest?

I know that MSTest doesn't support RowTest and similar tests. What do MSTests users do? How is it possible to live without RowTest support? I've seen DataDriven test features but sounds like too much overhead, is there any 3rd party patch or tool…
dr. evil
  • 26,944
  • 33
  • 131
  • 201
20
votes
2 answers

What happended to nunit extensions/rowtest?

In NUnit 2.4.7, nunit.framework.extensions.dll was included which made it possible to do RowTests. When downloading the newest version (2.5.8) I can't find it. What happened to it?
Allrameest
  • 4,364
  • 2
  • 34
  • 50
4
votes
1 answer

Does Resharper support RowTest?

Resharper doesn't recognise Rowtests, is this normal? Is there anyway to fix it? (other than splitting rowtest manually)
dr. evil
  • 26,944
  • 33
  • 131
  • 201
3
votes
1 answer

RowTest in Visual Studio tests?

Is there something similar to mbUnit's RowTest in Visual studio tests. I wanted to have the ability to perform the same test using different input data and expected results. Wanted to avoid using testing frameworks since I'm need very little and…
Nevin Mathai
  • 2,316
  • 13
  • 39
  • 54
1
vote
1 answer

How to reuse [RowTest] attributes on several tests

There are 2 tests that take the same list of servers in using the Row() attribute Is there a way to avoid duplicating all the Row attributes on both tests? [RowTest] [Row("server1")] [Row("server2")] [Row("server3")] public void Test1(string…
Oleg D.
  • 1,184
  • 11
  • 20
1
vote
2 answers

How Can I Debug a Specific Rowtest?

How can I debug a specific rowtest? I'm using Visual Studio and nUnit. TDD.NET addon is great but it doesn't let me to debug a specific rowtest, before coming to my test I have to go through all previous tests. I know there are some commercial…
dr. evil
  • 26,944
  • 33
  • 131
  • 201
1
vote
2 answers

Creating Rowtests with SpecFlow

I am trying to create row tests using SpecFlow and the Microsoft built-in Test Framework, something along these lines: Scenario Outline: Test Calculator Given I have entered into the calculator And I have entered into the calculator …
Radu M.
  • 1,271
  • 2
  • 14
  • 19
0
votes
1 answer

Is there a way to RowTest using MSpec?

Whilst practising the Check Out Kata with MSpec I wanted to remove the duplication in my specs the same way that you would add a RowTest in NUnit, but I couldn't figure out how. Has anyone tried anything similiar, or would you consider such an…
Kirschstein
  • 14,570
  • 14
  • 61
  • 79
0
votes
1 answer

Method parameters have incorrect values when using RowTest in VB.Net

I have the following test method (VB.NET) _ _ Public Sub AddMultipleNumbers(ByVal number1 As Integer, ByVal number2 As Integer, ByVal result As Integer) Dim dvbc As VbClass = New VbClass() Dim actual As Integer =…
bristows
  • 736
  • 1
  • 7
  • 22