Skip to content
Pull request Compare This branch is 13 commits ahead of aslakknutsen:master.
Latest commit f8b0e75 Aug 30, 2012 Jakub Narloch committed with aslakknutsen Update showcase to Spring Extension Beta 1.
..
Failed to load latest commit information.
spring-ejb
spring-hibernate
spring-inject
spring-javaconfig
spring-jdbc
spring-jms
spring-jpa
spring-jsr330 Fix badly written assertions Aug 30, 2012
spring-testng
README.md
pom.xml

README.md

Showcase for Arquillian Spring Container

All the examples has been tested with JBoss 7.1.1 in managed and remote configuration.

Beans injection

An example of simple bean injection into the test case.

JSR-330 support

Injecting Spring beans through JSR-330 annotations in the test case.

Java-based config

Configuring the Spring context using Java-based config.

JDBC tests

Simple JDBC tests.

JPA

Example of running tests of JPA persistence.

Hibernate

Example of testing hibernate persistence.

JMS

Example of sending JMS messages using Spring's JmsTemplate

Note: in other to successfully run this example in remote JBoss AS 7.1.1 please start the server using fallowing command:

./standalone.sh --server-config=standalone-full.xml

EJB - lookup and injection

Example of lookuping stateless session bean (SLSB) and autowiring it in test case.

TestNG example

Example of running the tests using the TestNG.

Something went wrong with that request. Please try again.