Skip to content
This repository has been archived by the owner on Jan 24, 2021. It is now read-only.

Nancy.Testing should automatically load all assemblies it can find #421

Closed
grumpydev opened this issue Nov 21, 2011 · 0 comments
Closed
Milestone

Comments

@grumpydev
Copy link
Member

We have a lot of issues with non-concrete references meaning the assembly with the modules in not loading.

thecodejunkie added a commit to thecodejunkie/Nancy that referenced this issue Aug 16, 2012
The ConfigurableBootstrapper will now attempt to locate the
name of the test assembly. Once it has a hold of the name it
will see if it can strip "test", "tests", "unittests", "specs"
or "specifications" from the name.

It will assume that the resulting name is the name of the
assembly that is under test and will identify all the referenced
assemblies and load them into the application domain.

The list of suffixes can be modified by changing the static
field TestAssemblySuffixes on ConfigurableBoostrapper.

Fixes issue NancyFx#421
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants