1. kubek2k
  2. Springockito

Commits

kubek2k  committed 1d0f143

Edited online

  • Participants
  • Parent commits 000b0c5
  • Branches default

Comments (0)

Files changed (1)

File Home.wiki

View file
 hope you like it :)
 
 
-=== Springockito-annotations ===
-This is a subproject of springockito that pushes the idea even further, ex:
-{{{
-#!java
-@ContextConfiguration(loader = SpringockitoContextLoader.class,
-locations = "classpath:/context.xml")
-public class SpringockitoAnnotationsMocksIntegrationTest extends AbstractJUnit4SpringContextTests {
-    
-    @ReplaceWithMock
-    private InnerBean innerBean;
-
-    @WrapWithSpy
-    private AnotherInnerBean anotherInnerBean;
-     ....
-}
-}}}
-and your mocks are ready to go - no need to write test-specific xml context files. More info here https://bitbucket.org/kubek2k/springockito/wiki/springockito-annotations
-
 === Maven2 usage ===
 
 I've put the SNAPSHOT version into the sonatype oss repository: https://oss.sonatype.org/content/groups/public/
 
 as soon as 1.0.0 will pass the staging process to the central repository, I'll update the page.
 
+
+=== Springockito-annotations ===
+This is a subproject of springockito that pushes the idea even further, ex:
+{{{
+#!java
+@ContextConfiguration(loader = SpringockitoContextLoader.class,
+locations = "classpath:/context.xml")
+public class SpringockitoAnnotationsMocksIntegrationTest extends AbstractJUnit4SpringContextTests {
+    
+    @ReplaceWithMock
+    private InnerBean innerBean;
+
+    @WrapWithSpy
+    private AnotherInnerBean anotherInnerBean;
+     ....
+}
+}}}
+and your mocks are ready to go - no need to write test-specific xml context files. More info here https://bitbucket.org/kubek2k/springockito/wiki/springockito-annotations
+
+
 === License ===
 License is distributed under MIT license
 Copyright (c) 2011 Jakub Janczak