We have moved to GitHub Issues
Created by Shannon Deminick 07 May 2014, 02:07:27 Updated by Shannon Deminick 05 Jun 2015, 15:31:57
Relates to: U4-4566
Relates to: U4-4572
We'd really like to split our test project into 3: Unit Tests, Integration Tests and Umbraco Tests, the 3rd project would be a suite of test helpers that are used in both of our test projects that we can ship to developers to aid in testing.
I would like the Umbraco.Tests library to be available as a Nuget package, so I can install it straight into a unit test project (UmbracoCms.Core.Tests Nuget ID would be perfect) in Visual Studio without having to compile from source. Not sure if this warrants a separate issue or it should fall under this one.
It falls under this one, no worries
Cool, also look at merging U4-4566 and U4-4572 into this as both related.
@Shandem Any news on this? The lack of unit test support for surface and api controllers (without having to wire up a ton of Umbraco context, temporary databases and whatnot) is a continuous problem when trying to pitch Umbraco for certain larger scale projects.
Yes this is all in place in 7.3. I've created another rest project based on 7.3 that is 100% controller unit and integration tested with self hosting, no database and all mocks.
Oops sorry, thought this was a diff issue. 7.3 core doesn't need test helpers, you can just test things without a test helper library.
Assignee: Shannon Deminick
Backwards Compatible: True
Due in version: