Arquillian Persistence Extension 1.0.0.Alpha2 Released

Since we wrote this post we didn't laze around. Check our latest announcement.

The Arquillian team is proud to announce the 1.0.0.Alpha2 release of the Arquillian Persistence Extension component!

Some of the highlights in this release

Renamed @Data and @Expected annotation to more meaningful @UsingDataSet and @ShouldMatchDataSet.

datasets folder is now a default location for all data set files. Files specified in @UsingDataSet and @ShouldMatchDataSet will be first lookup in this directory. If not found search will be performed starting from root folder.

@Test
@UsingDataSet("users.yml")
@ShouldMatchDataSet("expected-users.yml")
public void shouldChangeUserPassword() throws Exception {
   // given
   String expectedPassword = "LexLuthor";
   UserAccount user = em.find(UserAccount.class, 2L);

   // when
   user.setPassword("LexLuthor");
   em.merge(user);

   // then
   assertThat(user.getPassword()).isEqualTo(expectedPassword);
}

New feature of dumping database state during test execution has been added. Following phases are covered:

  • Before seed (before test execution).
  • After seed (before test execution).
  • Ater test.
  • After clean.

This can be configured in arquillian.xml as follows:

arquillian.xml
<extension qualifier="persistence">
	<property name="dumpData">true</property>
</extension>

@Transactional support can be now used standalone either on class or test method level.

What is Arquillian?

Arquillian is open source software that empowers you to test JVM-based applications more effectively. Created to defend the software galaxy from bugs, Arquillian brings your test to the runtime so you can focus on testing your application's behavior rather than managing the runtime. Using Arquillian, you can develop a comprehensive suite of tests from the convenience of your IDE and run them in any IDE, build tool or continuous integration environment.

Release details

Component Arquillian Persistence Extension
Version 1.0.0.Alpha2 view tag
Release date 2011-12-03
Released by Aslak Knutsen
Compiled against

Published artifacts org.jboss.arquillian.extension

  • org.jboss.arquillian.extension » arquillian-persistence-api jar javadoc pom
  • org.jboss.arquillian.extension » arquillian-persistence-impl jar javadoc pom
  • org.jboss.arquillian.extension » arquillian-persistence-integration-tests jar javadoc pom

Release notes and resolved issues 8

API review

Enhancement
  • ARQ-680 - Separate DBUnit DatabaseConnection creation in dedicated event.
  • ARQ-681 - Rename dataset annotations
  • ARQ-682 - Introduce convention for datasets files lookup from datasets folder first.
Feature Request
  • ARQ-653 - Add Persistence configuration to Archive instead of client callback
  • ARQ-654 - Change Persistence TransactionStarted event to StartTransaction
Bug
  • ARQ-662 - Error when running a test that is not related to persistence extension
  • ARQ-663 - @Expected annotation giving false positives due to improper usage of DBUnit assertions

Thanks to the following list of contributors: Bartosz Majsak, Aslak Knutsen

Arquillian Container Weld Root POM 1.0.0.CR3 Released

Since we wrote this post we didn't laze around. Check our latest announcement.

The Arquillian team is proud to announce the 1.0.0.CR3 release of the Arquillian Container Weld Root POM component!

What is Arquillian?

Arquillian is open source software that empowers you to test JVM-based applications more effectively. Created to defend the software galaxy from bugs, Arquillian brings your test to the runtime so you can focus on testing your application's behavior rather than managing the runtime. Using Arquillian, you can develop a comprehensive suite of tests from the convenience of your IDE and run them in any IDE, build tool or continuous integration environment.

Release details

Component Arquillian Container Weld Root POM
Modules
Version 1.0.0.CR3 view tag
Release date 2011-11-30
Released by Aslak Knutsen
Compiled against

Published artifacts org.jboss.arquillian.container

  • org.jboss.arquillian.container » arquillian-weld-ee-embedded-1.1 jar javadoc pom
  • org.jboss.arquillian.container » arquillian-weld-se-embedded-1 jar javadoc pom
  • org.jboss.arquillian.container » arquillian-weld-se-embedded-1.1 jar javadoc pom

Release notes and resolved issues 1

Update to latest ShrinkWrap

Thanks to the following list of contributors: Aslak Knutsen

Arquillian Drone Extension 1.0.0.CR3 Released

Since we wrote this post we didn't laze around. Check our latest announcement.

The Arquillian team is proud to announce the 1.0.0.CR3 release of the Arquillian Drone Extension component!

Some of the highlights in this release

Upgraded underlying Selenium to 2.13.0

Fixed cleanup for method scoped browsers

Improved WebDriver configuration, now you’re able to switch between browser implementations using arquillian.xml configuration only:

@Drone WebDriver driver;
<property name="implementationClass">
  org.openqa.selenium.firefox.FirefoxDriver
</property>

now behaves the same way as:

@Drone FirefoxDriver driver;

What is Arquillian?

Arquillian is open source software that empowers you to test JVM-based applications more effectively. Created to defend the software galaxy from bugs, Arquillian brings your test to the runtime so you can focus on testing your application's behavior rather than managing the runtime. Using Arquillian, you can develop a comprehensive suite of tests from the convenience of your IDE and run them in any IDE, build tool or continuous integration environment.

Release details

Component Arquillian Drone Extension
Version 1.0.0.CR3 view tag
Release date 2011-11-29
Released by Aslak Knutsen
Compiled against

Published artifacts org.jboss.arquillian.extension

  • org.jboss.arquillian.extension » arquillian-drone-bom pom
  • org.jboss.arquillian.extension » arquillian-drone-api jar javadoc pom
  • org.jboss.arquillian.extension » arquillian-drone-spi jar javadoc pom
  • org.jboss.arquillian.extension » arquillian-drone-configuration jar javadoc pom
  • org.jboss.arquillian.extension » arquillian-drone-impl jar javadoc pom
  • org.jboss.arquillian.extension » arquillian-drone-selenium-server jar javadoc pom
  • org.jboss.arquillian.extension » arquillian-drone-selenium jar javadoc pom
  • org.jboss.arquillian.extension » arquillian-drone-webdriver jar javadoc pom

Release notes and resolved issues 10

Selenium upgrade and FireFox 8

Component Upgrade
  • ARQ-665 - Update Selenium version to 2.13.0
Enhancement
  • ARQ-577 - Enhance exception messages for cases where Drone instances cannot be destroyed because no context was created
  • ARQ-666 - Redesign WebDriver browser configuration
Feature Request
  • ARQ-667 - Add AS7 container profiles
Bug
  • ARQ-444 - MethodContext is not correctly free'd
  • ARQ-610 - Method enrichment does not check for a validity of driver
  • ARQ-611 - If Drone extension is on classpath but not used, destroying drone instance will lead to failure
  • ARQ-631 - The implementationClass property is ignored when using WebDriver interface as type of selenium instance in tests
Task
  • ARQ-669 - Update Arquillian Drone build

Thanks to the following list of contributors: Karel Piwko, Aslak Knutsen

Arquillian Container OpenWebBeans 1.0.0.CR2 Released

The Arquillian team is proud to announce the 1.0.0.CR2 release of the Arquillian Container OpenWebBeans component!

Highlight in this release

Support for OpenWebBeans 1.1

Support for WebArchive deployments

What is Arquillian?

Arquillian is open source software that empowers you to test JVM-based applications more effectively. Created to defend the software galaxy from bugs, Arquillian brings your test to the runtime so you can focus on testing your application's behavior rather than managing the runtime. Using Arquillian, you can develop a comprehensive suite of tests from the convenience of your IDE and run them in any IDE, build tool or continuous integration environment.

Release details

Component Arquillian Container OpenWebBeans
Version 1.0.0.CR2 view tag
Release date 2011-11-29
Released by Aslak Knutsen
Compiled against

Published artifacts org.jboss.arquillian.container

  • org.jboss.arquillian.container » arquillian-openwebbeans-embedded-1 jar javadoc pom

Release notes and resolved issues 3

WebArchive deployment support

Feature Request
  • ARQ-403 - OpenWebBeans container should support WebArchive deployments
  • ARQ-526 - Support OpenWebBeans 1.1 Container

Thanks to the following list of contributors: Aslak Knutsen, Mark Struberg

Arquillian Extension Jacoco 1.0.0.Alpha2 Released

Since we wrote this post we didn't laze around. Check our latest announcement.

The Arquillian team is proud to announce the 1.0.0.Alpha2 release of the Arquillian Extension Jacoco component!

Highlight in this release

Support for Code Coverage of Classes added to nested Archives

@Deployment 
public static WebArchive deploy() {
  return ShrinkWrap.create(WebArchive.class)
          .addLibrary(
            ShrinkWrap.create(JavaArchive.class)
             .addClass(MyLibraryClass.class))
}

What is Arquillian?

Arquillian is open source software that empowers you to test JVM-based applications more effectively. Created to defend the software galaxy from bugs, Arquillian brings your test to the runtime so you can focus on testing your application's behavior rather than managing the runtime. Using Arquillian, you can develop a comprehensive suite of tests from the convenience of your IDE and run them in any IDE, build tool or continuous integration environment.

Release details

Component Arquillian Extension Jacoco
Version 1.0.0.Alpha2 view tag
Release date 2011-11-28
Released by Aslak Knutsen
Compiled against

Published artifacts org.jboss.arquillian.extension

  • org.jboss.arquillian.extension » arquillian-jacoco jar javadoc pom

Release notes and resolved issues 2

Support for nested Archives

Feature Request
  • ARQ-599 - ApplicationArchiveInstrumenter should also instrument classes inside JARs

Thanks to the following list of contributors: Aslak Knutsen, Marek Schmidt