[ 
https://issues.apache.org/jira/browse/ISIS-783?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14001128#comment-14001128
 ] 

ASF subversion and git services commented on ISIS-783:
------------------------------------------------------

Commit d27a47d5e662700ac4723552b7caf065f8972328 in isis's branch 
refs/heads/master from [~danhaywood]
[ https://git-wip-us.apache.org/repos/asf?p=isis.git;h=d27a47d ]

ISIS-783: further improvements to IntegrationTest framework

1. automatic injection of services into tests (allowing @Inject on fields of 
services)
2. after fixtures installed, commit tran and start a new session.  This ensures 
that any objects are loaded from objectstore / DB.

In addition, updates to quickstart (todo) app:
3. using @Inject for services
4. now using ClockService in integ tests
5. split out the setup of fixtures vs other setup tasks.


> Integration test support enhancements
> -------------------------------------
>
>                 Key: ISIS-783
>                 URL: https://issues.apache.org/jira/browse/ISIS-783
>             Project: Isis
>          Issue Type: Improvement
>          Components: Core
>    Affects Versions: core-1.4.0
>            Reporter: Dan Haywood
>            Assignee: Dan Haywood
>            Priority: Trivial
>             Fix For: core-1.4.2
>
>
> 1. Allow services to be appended to in IntegSystemForTest.Builder
>    ... thereby allowing this class to be extended/inherited from.  
>    ... useful for building related suites of integration tests together that 
> share a common base definition of the "system under test"
> 2. auto-inject services into integration tests, if annotated using @Inject 
> etc.
>    ... remove boilerplate from setup.



--
This message was sent by Atlassian JIRA
(v6.2#6252)

Reply via email to