urasandesu / Prig

Prig is a lightweight framework for test indirections in .NET Framework.
Other
117 stars 21 forks source link

From VS IDE unable to successfully run multiple test projects #94

Closed oldhamir closed 7 years ago

oldhamir commented 7 years ago

I've got several VS solutions each with multiple test projects that use Prig assemblies, I'm converting from Fakes, which worked fine, as I no longer work for a firm that can afford VS Ultimate :-).

Each test project seems to have its own test adapter but in the Prig menu option there is only ever the ability to enable/disable one test adapter so only the tests using that adapter will pass when run from the VS IDE Test Explorer. E.g. if I have TestProject1 and TestProject2 then I can enable TestProject1 Adapter so that its associated tests will pass, but all tests using TestProject2 Adapter will fail. I can then switch to the TestProject2 and enable TestProject2 Adapter and its tests will pass but TestProject1's tests will fail.

I am willing to have a go at trying to make this work but could do with some pointers to save me time and effort. For instance why do you need to enable and disable test adapters in the first place? Why are there multiple test adapters? I could understand if they each used different test runners but if a solution uses one test runner then why not just have one solution wide test adapter?

urasandesu commented 7 years ago

Thank you for the reporting but it is possibly duplicate with #86, isn't it?

Currently, Prig is supporting to enable against one test project. This limitation is going to be gone at next release (within a few months).

oldhamir commented 7 years ago

Hello,

 yes, this is a duplicate of #86. I'm sorry for creating the duplicate, I

did have a look through the issues both outstanding and fixed before posting #94 but for some reason I didn't dive into the details of #86, I guess I need to take more care in future :-).

I am willing to try and help sort this issue if you need help as it's a bit of a pain for me, I notice that you've posted some hints in the issue details.

Again, sorry for the inconvenience, Ian

On 15 March 2017 at 09:36 Akira Sugiura notifications@github.com wrote:

Thank you for the reporting but it is possibly duplicate with #86

https://github.com/urasandesu/Prig/issues/86 , isn't it?

Currently, Prig is supporting to enable against one test project. This

limitation is going to be gone at next release (within a few months).

—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub

https://github.com/urasandesu/Prig/issues/94#issuecomment-286689017 , or mute the thread https://github.com/notifications/unsubscribe-auth/AZNHlrxMcJDB-om_fz7TlJUEPAC10AfFks5rl7EpgaJpZM4MdnvW .yes