Arquillian TestRunner Spock 1.0.0.Beta3 Released

The Arquillian team is proud to announce the 1.0.0.Beta3 release of the Arquillian TestRunner Spock 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 TestRunner Spock
Version 1.0.0.Beta3 view tag
Release date 2014-02-11
Released by Aslak Knutsen
Compiled against

Published artifacts org.jboss.arquillian.spock

  • org.jboss.arquillian.spock » arquillian-spock-core jar javadoc pom
  • org.jboss.arquillian.spock » arquillian-spock-standalone jar javadoc pom
  • org.jboss.arquillian.spock » arquillian-spock-container jar javadoc pom

Release notes and resolved issues 1

Bug
  • ARQ-1635 - Wrong SPI implementation registered for Standalone module

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

Arquillian TestRunner Spock 1.0.0.Beta2 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.Beta2 release of the Arquillian TestRunner Spock component!

“In the beginning the Universe was created. This has made a lot of people very angry and been widely regarded as a bad move.”

Arquillian Spock Testrunner is back with the new version and bring important improvements in the area of specification execution. Yet again Karel Piwko evolves the Spock integration towards a Final release. He is the keeper of the state and you can rest assure he won’t let the two universes collide!

Important changes

Annotation driven activation is now obsolote
@ArquillianSpecification revealed itself to be more problematic than valuable (see JIRA issues below for details). Therefore we made a breaking change and got rid of it in favour for a custom test runner integrating both Spock and the Arquillian lifecycles. From now on you should simply decorate your specification with @RunWith(ArquillianSputnik).

Both Spock and Arquillian let you test your code with pleasure, so wait no more and give it a spin!

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 TestRunner Spock
Version 1.0.0.Beta2 view tag
Release date 2013-10-08
Released by Karel Piwko
Compiled against

Published artifacts org.jboss.arquillian.spock

  • org.jboss.arquillian.spock » arquillian-spock-core jar javadoc pom
  • org.jboss.arquillian.spock » arquillian-spock-standalone jar javadoc pom
  • org.jboss.arquillian.spock » arquillian-spock-container jar javadoc pom

Release notes and resolved issues 5

Bug
  • ARQ-1427 - Arquillian Spock test fails with NPE when a subclass of spock.lang.Specification is used
  • ARQ-1429 - Spock Appender is missing org.objectweb.asm package
  • ARQ-1445 - Spock extension emits After/Before suite before/after each specification execution
  • ARQ-1480 - After/Before methods are always fired on both container/in client
  • ARQ-1481 - Remove redundancy of both ArquillianSputnik and ArquillianSpecification

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

Arquillian TestRunner Spock 1.0.0.Beta1 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.Beta1 release of the Arquillian TestRunner Spock component!

“That’s one small step for man, one giant leap for mankind.”

When you look at list of changes in this release it might not appear as the biggest release in the history of Arquillian Universe, but it’s definitely important one for Spock and Arquillian fans. Big kudos this time go to Karel Piwko and Fabian Schwarzer. Karel gave us a choice between Groovy 1.8 and 2.x and Fabian spotted shortcomings of previous integration approach implemented as global Spock extension. By having those two improvements in place we are getting very close to the final stable release!

Important changes

Annotation driven activation
In order to let Arquillian sneak in to the Spock dimension you’ll need to annotate your Specification using @ArquillianSpecification.
Groovy 1.8 and 2.0
We also updated the Spock and Groovy versions. We guarantee that the following combinations won’t let you down:
* For Groovy 2.x, use spock 0.7-groovy-2.0 or later and Groovy 2.1.4 or later
* For Groovy 1.x, use spock 0.7-groovy-1.8 or later and Groovy 1.8.9 or later

You can always take a look at our examples where we show how to use both versions with Maven.

Both Spock and Arquillian let you test your code with pleasure so wait no more and give it a spin!

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 TestRunner Spock
Version 1.0.0.Beta1 view tag
Release date 2013-06-20
Released by Aslak Knutsen
Compiled against

Published artifacts org.jboss.arquillian.spock

  • org.jboss.arquillian.spock » arquillian-spock-core jar javadoc pom
  • org.jboss.arquillian.spock » arquillian-spock-standalone jar javadoc pom
  • org.jboss.arquillian.spock » arquillian-spock-container jar javadoc pom

Release notes and resolved issues 4

Annotation Driven Spock extension + Support for Spock 0.7 and Groovy 2.0

Feature Request
  • ARQ-1143 - Provide support for Groovy 2.0
  • ARQ-1144 - Update Spock version to 0.7
  • ARQ-1347 - Not possible to run a spock test w/o arquillian

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

Arquillian TestRunner Spock 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 TestRunner Spock component!

Some of the Highlights

This minor release of the intergalactic cooperation between Spock and Arquillian comes with the following updates:

  • Update to the latest stable version of Spock – 0.6
  • Update Arquillian Core to 1.0.1.Final

Smashing bugs has never been easier!

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 TestRunner Spock
Version 1.0.0.Alpha2 view tag
Release date 2012-07-23
Released by Aslak Knutsen
Compiled against

Published artifacts org.jboss.arquillian.spock

  • org.jboss.arquillian.spock » arquillian-spock-core jar javadoc pom
  • org.jboss.arquillian.spock » arquillian-spock-standalone jar javadoc pom
  • org.jboss.arquillian.spock » arquillian-spock-container jar javadoc pom

Release notes and resolved issues 4

Enhancement
  • ARQ-1041 - Update Spock to the lastest (0.6) version
Bug
  • ARQ-895 - Arquillian config-impl-base is not a part of spock-standalone
Task
  • ARQ-1039 - Update Spock Test Runner to 1.0.1.Final of Arquillian Core

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

Arquillian TestRunner Spock 1.0.0.Alpha1 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.Alpha1 release of the Arquillian TestRunner Spock component!

Some of the highlights in this release

This is the very first release of Arquillian Spock Test Runner. To quote creators of this great framework “Spock is a testing and specification framework for Java and Groovy applications. What makes it stand out from the crowd is its beautiful and highly expressive specification language.” And we totally agree with them! Writing tests in behavior-driven development manner help developers to focus on features which they need to deliver instead of diving into technical details while writing tests. Those details might change over the time anyway.

Now you can run your spock tests powered by Arquillian (both embedded and remote containers are supported)!

Here’s a tiny little piece of code where you can see yourself how cool Spock and Arquillian are!

class AccountServiceSpecification extends Specification {
  
  @Deployment
  def static JavaArchive "create deployment"() {
    return ShrinkWrap.create(JavaArchive.class)
             .addClasses(AccountService.class, Account.class, SecureAccountService.class)
             .addAsManifestResource(EmptyAsset.INSTANCE, "beans.xml");
  }
 
  @Inject 
  AccountService service
        
  def "Transferring between accounts should result in account withdrawal and deposit"() {
      
    when: "Money has been transfered from one account to another"
      service.transfer(from, to, amount)
        
    then: "Balance must be updated"
      from.balance == fromBalance
      to.balance == toBalance
        
    where:
      from <<         [new Account(100),  new Account(10)]
      to <<           [new Account(50),   new Account(90)]
      amount <<       [50,                10]
      fromBalance <<  [50,                0]
      toBalance <<    [100,               100]
  }
}

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 TestRunner Spock
Version 1.0.0.Alpha1 view tag
Release date 2012-01-13
Released by Aslak Knutsen
Compiled against

Published artifacts org.jboss.arquillian.spock

  • org.jboss.arquillian.spock » arquillian-spock-core jar javadoc pom
  • org.jboss.arquillian.spock » arquillian-spock-standalone jar javadoc pom
  • org.jboss.arquillian.spock » arquillian-spock-container jar javadoc pom

Release notes and resolved issues 3

First preview release of Arquillian integration with Spock

Feature Request
  • ARQ-636 - Add Remote support to the Spock TestRunner
  • ARQ-675 - Update Spock Test Runner pom setup to match other extensions

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