Commit Graph

18 Commits

Author SHA1 Message Date
Renaud Paquay
3bbc0854e6 Fix SpecFlow test
Don't send empty keys in PostData as this prevents the MVC ModelBinder
to work properly.

--HG--
branch : dev
2010-07-17 10:48:51 -07:00
Renaud Paquay
e55cff760d Fix SpecFlow tests
--HG--
branch : dev
2010-07-14 22:34:57 -07:00
Louis DeJardin
52ef9f3c8c Removing some obsolete install/feature state code
Changing blog/page slug updater to use orchard shell events interface
Changing default role/permission to use feature install event
Renaming state manager/provider to be consistent with other components

--HG--
branch : dev
2010-05-28 14:01:10 -07:00
Renaud Paquay
01c7e29db2 Fix unit test memory leak
Shutdown ASP.NET AppDomains after running each SpecFlow scenario.

--HG--
branch : dev
2010-05-22 17:50:18 -07:00
Nathan Heskew
aa4d8e3773 Added some more SpecFlow tests for MultiTenancy and fixed a few bugs
--HG--
branch : dev
2010-05-14 10:03:16 -07:00
Nathan Heskew
4b69a617ab Updated WebAppHosting to not send radio and checkbox input data for those that aren't checked
--HG--
branch : dev
2010-05-13 17:29:05 -07:00
Nathan Heskew
198060d3e4 Added MultiTenancy spec test for tenant w/ preconfigured db
- Also updated the WebAppHosting binding's form filler to select the appropriate radio input based on given value

--HG--
branch : dev
2010-05-11 12:30:49 -07:00
Louis DeJardin
152d8dea15 Updating tracing and adding specflow support for command handlers
--HG--
branch : dev
2010-04-26 11:36:55 -07:00
Louis DeJardin
0c6ae8b8d7 Nearly working integration of multi tenancy components
Tenant service provides refresh signal to host (temporary need)
Setup module changed to run in any named shell that is uninitialized
Table prefix added to setup form (for when sql server option is selected)
CreateSetupContext takes shellsettings to support uninitialized tenants
Removed name on default route provider - adding several routes by same name not allowed in single appdomain

--HG--
branch : dev
2010-04-23 17:05:28 -07:00
Louis DeJardin
7014534b5b Fixing some spec tests
Orchard.Themes is one of the modules needed to function
Cleaning up some of the trace capture code

--HG--
branch : dev
2010-04-22 15:57:08 -07:00
Louis DeJardin
79431a11a2 Further progress towards tenant-specific routing
Ability to follow redirects from integration tests
Route publisher wraps handler with ShellRoute which controls request lifetime scope
ShellRoute at the moment is restricted to "Default" - host and prefix TBD
Route publisher remove-and-insert routes for a specific tenant to allow incremental and repeated shell route publish
Offers a more deterministic knowledge of which shell container is used than just-in-time http context
Removes Autofac default httpmodule, controller factory, httpapplication icontainerprovideraccessor, etc
Adds support for optional ~/Config/Sites.{yourtenantname}.config file for manual per-shell component override
Integration tests capture Orchard and NHibernate trace output. Levels are configurable in orchard.specs diagnostics.config
Concept of IRunningShellTable instroduced. Might not be needed - will be removed if so.

--HG--
branch : dev
2010-04-22 12:23:58 -07:00
Louis DeJardin
eaf553b048 Working towards routing support for miti-tenancy
Adding large-grained initialization steps for integration tests
Fixing a collection issue with shell descriptor records and manager
Adding index action to tenants controller

--HG--
branch : dev
2010-04-21 19:41:37 -07:00
Louis DeJardin
5a07a5a8c4 Fixing more tests
Default Orchard host tests provides test components explicitly for resolving
Simple hosting tests use site in it's own basic folder

--HG--
branch : dev
2010-04-20 16:11:48 -07:00
Louis DeJardin
31995c55ca Setup submit scenario works
Minimum modules are copied
Form is submitted
Redirect is verified (should have a step to follow redirect)
Also changed .Named to .Keyed in a controller test

--HG--
branch : dev
2010-04-20 15:07:00 -07:00
Louis DeJardin
299a4ba74d Working SpecFlow POST support
Step named: When I hit "x"
locates input type submit with value "x"
locates the form surrounding that input
and sends a POST request to the embedded web host with all of the input values of that form element
Also added step: Given I have a clean site with
as a large-grained copier of extensions

--HG--
branch : dev
2010-04-20 14:27:43 -07:00
Louis DeJardin
5b3c213de4 Incremental work towards getting SpecFlow form "POST"
--HG--
branch : dev
2010-04-20 14:13:14 -07:00
Louis DeJardin
a137d84732 Working towards re-enabling setup context
--HG--
branch : dev
2010-04-17 19:22:26 -07:00
Louis DeJardin
c416ed1f53 Integrating SpecFlow
asp.net inprocess appdomain utilized for integration style testing
feature files generate nunit tests at "save time" with vs specflow 1.2 installed
micro orchard site created dynamically in temp folder as a given step
cross-domain delegate invokation based on the excellent work of Steve Sanderson http://blog.stevensanderson.com/

--HG--
branch : dev
2010-04-14 10:28:33 -07:00