Open jocutajar opened 8 years ago
@jocutar Was this fixed by #97, which was in the 3.5 release?
Hi Charlie, I've moved on to another project and dotnet core with xunit. Thanks for the efffort though. I might need it again. Kind regards
On Sat, Dec 24, 2016 at 05:44:37PM -0800, CharliePoole wrote:
@jocutar Was this fixed by #97, which was in the 3.5 release?
-- You are receiving this because you authored the thread. Reply to this email directly or view it on GitHub: https://github.com/nunit/nunit3-vs-adapter/issues/188#issuecomment-269106941
I have adapter of 3.7.0.0 version and [Test, AutoData]
tests still not running.
@sm-g This issue is about a problem with [Theory] which is quite specialized. If you have a problem with general tests, it would be better to start a new issue.
Before you do, however, make sure that you are using The AutoFixture package for NUnit 3, not NUnit 2.
I'm seeing the same problem with 3.7, same error message. It looks like it's related to the name of the test changing (to include the random data), but not being updated in the VS test explorer
@EricStG Could you clarify whether your problem is with [Test] or [Theory]? Both have been reported in this thread.
@nunit/framework-team This is a good one for somebody to take on if you want to spend a bit of quality time getting to know AutoFixture. Essentially, I would say that that any problem that is only present when AutoFixture is in use is likely to be an AutoFixture problem, but it may take some effort to demonstrate that.
@CharliePoole in my case, this is using [Test].
So, any random values generated come from autofixture. I'd say that someone could look at the code quickly and verify that they don't use NUnit's guaranteed repeatable random values, but simply call Random. That would make it their bug.
Hi, I have a similar situation to #97, though probably more complex. Using AutoFixture and NSubstitute, I can declare tests as such:
This works with xUnit in VS and also with NUnit console runners. The VS test runner shows it always inconclusive. Test output shows:
More details are available on SO.
Once #97 is fixed, as @CharliePoole suggests, this particular problem may need more attention.
Thanks, Rob