Warning: Can't synchronize with repository "(default)" (/home/git/ome.git does not appear to be a Git repository.). Look in the Trac log for more information.
Notice: In order to edit this ticket you need to be either: a Product Owner, The owner or the reporter of the ticket, or, in case of a Task not yet assigned, a team_member"

Task #95 (closed)

Opened 18 years ago

Closed 16 years ago

Standalone JPA-Enviroment for Testing

Reported by: sfrank Owned by: jamoore
Priority: trivial Milestone: 3.0-Beta3
Component: Deployment Version: 3.0-Beta1
Keywords: persistencecontext, JPA, Testing, story96 Cc:
Resources: n.a. Referenced By: n.a.
References: n.a. Remaining Time: n.a.
Sprint: n.a.

Description

To make sure, that all classes remain testable, we have to provide a standalone-persistence-manager that is integrated with tests.

  • Provide a TestNG-superclass for setting up the Persistence context.
  • Provide injections for the persistence-context.
  • Provide an example for testing out-of-container and in-container classes.

Reference:

Change History (10)

comment:1 Changed 18 years ago by jmoore

  • Keywords story96 added
  • Type changed from User Story to Task

Adding to #96 as a task.

comment:2 Changed 18 years ago by jmoore

  • Keywords iteration4 added

comment:3 Changed 18 years ago by jmoore

  • Milestone set to cycle1

comment:4 Changed 18 years ago by sfrank

  • Keywords iteration3 added; iteration4 removed
  • Owner changed from jmoore to sfrank

comment:5 Changed 18 years ago by jmoore

  • Keywords iteration4 added; iteration3 removed

comment:6 Changed 18 years ago by sfrank

  • Status changed from new to assigned

See #93 - the configuration for the example already comes with an example for a standalone configuration. We can close this Task, once we have merged this example with the test-cases for the real build.

comment:7 Changed 18 years ago by cxallan

  • Keywords iteration4 removed
  • Milestone changed from 3.0-M2 to 3.0-M3
  • Version changed from 3.0-M1 to 3.0-M3

Delegating to milestone 3.

comment:8 Changed 18 years ago by sfrank

  • Milestone changed from 3.0-M3 to 3.0-M4
  • Version changed from 3.0-M3 to 3.0-M4

comment:9 Changed 17 years ago by jmoore

  • Milestone changed from 3.0-Beta2 to Unscheduled
  • Owner changed from sfrank to jmoore
  • Status changed from assigned to new

comment:10 Changed 16 years ago by jmoore

  • Milestone changed from Unscheduled to 3.0-Beta3
  • Resolution set to wontfix
  • Status changed from new to closed

Too many dependencies on Hibernate. We'll be sticking with Hibernate.

Note: See TracTickets for help on using tickets. You may also have a look at Agilo extensions to the ticket.

1.3.13-PRO © 2008-2011 Agilo Software all rights reserved (this page was served in: 0.67720 sec.)

We're Hiring!