[jira] Created: (JMOCK-194) Injection

View: New views
3 Messages — Rating Filter:   Alert me  

[jira] Created: (JMOCK-194) Injection

by JIRA jira@codehaus.org :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Injection
---------

                 Key: JMOCK-194
                 URL: http://jira.codehaus.org/browse/JMOCK-194
             Project: jMock
          Issue Type: Wish
          Components: Library
         Environment: AspectJ 1.6
jMock 2.4.0
            Reporter: Sebastian Sickelmann
         Attachments: jMockInject.zip

One of the biggest problems for my in testing and mocking legacy-systems is the injection of my mockobjects.

I have created a small extension for injecting jMock at constructor-call.
I plan to contribute this to jmock, if it fits to the main goals of jmock.

If it does not fit to the main goals of jmock i want to publish a seperate project.
Hope that someone can review it in the near future.
In the meantime i try to generalize the control of the injection with something similar to your DSL in your Expections-Class.

You can run the examples with a simple call to "ant" or "ant test" inside the build directory. Before that you should set some pathes in build.properties.
ant test_unwoven shows the results without weaving the mocks.

The test sources are in the path testsrc/incubator/tests.

Hope to hear from you soon.

Sebastian

--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

       

---------------------------------------------------------------------
To unsubscribe from this list, please visit:

    http://xircles.codehaus.org/manage_email



[jira] Commented: (JMOCK-194) Injection

by JIRA jira@codehaus.org :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message


    [ http://jira.codehaus.org/browse/JMOCK-194?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=141413#action_141413 ]

Sebastian Sickelmann commented on JMOCK-194:
--------------------------------------------

After some discussion with Nat we decided not to include a injection Solution for jMock.

The injection will soon be available as a separate project.

> Injection
> ---------
>
>                 Key: JMOCK-194
>                 URL: http://jira.codehaus.org/browse/JMOCK-194
>             Project: jMock
>          Issue Type: Wish
>          Components: Library
>         Environment: AspectJ 1.6
> jMock 2.4.0
>            Reporter: Sebastian Sickelmann
>         Attachments: jMockInject.zip
>
>
> One of the biggest problems for my in testing and mocking legacy-systems is the injection of my mockobjects.
> I have created a small extension for injecting jMock at constructor-call.
> I plan to contribute this to jmock, if it fits to the main goals of jmock.
> If it does not fit to the main goals of jmock i want to publish a seperate project.
> Hope that someone can review it in the near future.
> In the meantime i try to generalize the control of the injection with something similar to your DSL in your Expections-Class.
> You can run the examples with a simple call to "ant" or "ant test" inside the build directory. Before that you should set some pathes in build.properties.
> ant test_unwoven shows the results without weaving the mocks.
> The test sources are in the path testsrc/incubator/tests.
> Hope to hear from you soon.
> Sebastian

--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

       

---------------------------------------------------------------------
To unsubscribe from this list, please visit:

    http://xircles.codehaus.org/manage_email



[jira] Resolved: (JMOCK-194) Injection

by JIRA jira@codehaus.org :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message


     [ http://jira.codehaus.org/browse/JMOCK-194?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Sebastian Sickelmann resolved JMOCK-194.
----------------------------------------

    Resolution: Won't Fix

Will be released in a separate project.

> Injection
> ---------
>
>                 Key: JMOCK-194
>                 URL: http://jira.codehaus.org/browse/JMOCK-194
>             Project: jMock
>          Issue Type: Wish
>          Components: Library
>         Environment: AspectJ 1.6
> jMock 2.4.0
>            Reporter: Sebastian Sickelmann
>         Attachments: jMockInject.zip
>
>
> One of the biggest problems for my in testing and mocking legacy-systems is the injection of my mockobjects.
> I have created a small extension for injecting jMock at constructor-call.
> I plan to contribute this to jmock, if it fits to the main goals of jmock.
> If it does not fit to the main goals of jmock i want to publish a seperate project.
> Hope that someone can review it in the near future.
> In the meantime i try to generalize the control of the injection with something similar to your DSL in your Expections-Class.
> You can run the examples with a simple call to "ant" or "ant test" inside the build directory. Before that you should set some pathes in build.properties.
> ant test_unwoven shows the results without weaving the mocks.
> The test sources are in the path testsrc/incubator/tests.
> Hope to hear from you soon.
> Sebastian

--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

       

---------------------------------------------------------------------
To unsubscribe from this list, please visit:

    http://xircles.codehaus.org/manage_email