New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
AutoData attribute doesn't work with "NUnit Test Adapter" #419
Comments
I can't answer any of these questions. If someone else (@gertjvr?) can, I'd appreciate the help. |
You dont need nunit installed anymore should work OOTB, the required/missing dll was included in the extention, @olegsych what version of NUnit and NUnit Test Adapter are you using? |
Latest version, released on visual studio gallery on 4/7. |
@olegsych can you confirm your using the versions below? |
Visual Studio Ultimate 2013 Version 12.0.40629.00 Update 5 |
Closing due to lack of activity. |
The
AutoData
attribute doesn't work when tests are executed by the NUnit Test Adapter Visual Studio extension. Here is how I found out:git clone https://github.com/AutoFixture/AutoFixture.git
devenv AutoFixture\Src\AutoFixture.NUnit2.sln
Ctrl+R, A
orTest -> Run -> All Tests
in Visual Studio.Ploeh.AutoFixture.NUnit2.UnitTest.Scenario
class fail.I suspect a similar problem may exists for the NUnit Test Adapter NuGet package, however I haven't verified it.
As far as I can tell, NUnit has no intrinsic knowledge of the
AutoDataAttribute
and AutoFixture currently relies on theAutoFixture.NUnit2.Addins
to make it work. The original pull request mentions the need to have NUnit installed with an MSI and have theAutoFixture.NUnit2.Addins.dll
deployed in theC:\Program Files (x86)\NUnit 2.6.2\bin\addins
directory.MethodInfo
to the target method.The text was updated successfully, but these errors were encountered: