Just realized we didn't really reply to Marcel's initial request yet !
Add this to your pom:
[code]
<dependency>
<groupId>info.magnolia</groupId>
<artifactId>magnolia-core</artifactId>
<version>....</version>
<type>test-jar</type>
<scope>test</scope>
</dependency>
[/code]
As for examples ... core itself has a bunch, and most modules have *some*.
Can't think of the one single best example to follow though... perhaps others
will chime in with suggestions :)
If you're working against 4.5 snapshots, there's gonna be a few cool goodies in
there, amongst which new "Matchers" for content, using the Hamcrest API. Makes
test really nice to read. See
info.magnolia.setup.for4_5.UpdateSecurityFilterClientCallbacksConfigurationTest
for an example.
--
Context is everything:
http://forum.magnolia-cms.com/forum/thread.html?threadId=19745016-242c-4881-8482-8ecd4476d3fa
----------------------------------------------------------------
For list details, see: http://www.magnolia-cms.com/community/mailing-lists.html
Alternatively, use our forums: http://forum.magnolia-cms.com/
To unsubscribe, E-mail to: <[email protected]>
----------------------------------------------------------------