-
Notifications
You must be signed in to change notification settings - Fork 47
Enable adding multiple assemblies to test #59
Comments
Could be a bug, I will need to check the code. |
I think I've just hit the same problem poking around at #48. It looks like the code loads all the assemblies into @rprouse - architecturally, where should responsibility for combining test results lie? I was looking at integrating the xamarin runners with the portable agent, which (from a quick look!) also only loads/runs single assemblies. Is it the responsibility of the runner to combine results from multiple assemblies, or should that live in the framework/agent? It sounds like it would be useful at agent level, save it being duplicated in all runners? |
@ChrisMaddock I was also thinking of using the portable agent in the Xamarin runners. When I originally wrote the Xamarin runner, I was duplicating too much code, so when I wrote the portable agent, I kept that in mind and moved as much as I could into it. Based on that, i think that the responsibility for running and combining results from multiple assemblies should be in the portable agent, then we get the fix in every runner that will eventually use it. |
@ChrisMaddock it is all yours. I've changed the assignment 😄 |
Blocked by nunit/nunit.portable.agent#13 and then #48. I think we could work around it if needed, but it would be a short-term fix. |
#48 has been removed from the milestone, this should instead be fixed independently. |
Currently trying to use this for in Android. I have the Android test app with one test in and a shared portable library with one test in. When I try to add the extra assembly like (nunit.AddTestAssembly(typeof(TestInOtherAssembly).Assembly); ) the test in my original assembly is not run.
If add both the original and portable assembly only the assembly I add last is run.
nunit.AddTestAssembly(typeof(TestInOtherAssembly).Assembly);
nunit.AddTestAssembly(typeof(TestInOriginalAssembly).Assembly);
Any ideas?
The text was updated successfully, but these errors were encountered: