Enterprise Testing with Arquillian and Writing AsciiDocs

On Wednesday, May 8, 2013 at 5:30 PM, We are pleased to have Dan Allen in town for both talks.

SendGrid Denver Office
1451 Larimer Street, 3rd Floor , Denver, CO

5:30-6:00: Networking and Food

Food, Soda, Beer and Networking. We are grateful to Cody Powell from TEksystems for their continued sponsorship of the Food and Soda! Also, thanks to Mike Henninger of BWBacon for supplying the beer.

6:00-6:10: Announcements

6:10-6:55: Drop the angled brackets. Discover the zen of writing (Ascii)Docs. – Dan Allen
Writing documentation is already hard enough. Why do we make it harder by burying the content in an XML schema like DocBook or wrestling with finicky WSYWIG editors? Come learn how to find the zen of writing documentation using AsciiDoc and still be able to produce beautiful HTML 5, DocBook and PDF documents–or even a slide deck like the one in this presentation!

6:55-7:15: Break

7:15-8:30: Reducing Java Enterprise Testing to Child’s Play – Dan Allen

This talk unveils the missing link in enterprise Java development: simple, portable integration tests. For many, working in enterprise Java has long been an arduous undertaking because of this void. While development life is simple with unit tests and mocks, they only take you so far. Eventually, you need to validate how your components interact and operate in their intended environment–you real need integration tests. Yet, writing integration tests has meant assuming the burden of bootstrapping all or part of your infrastructure. That’s time lost and it places a mental barrier on testing. Arquillian and ShrinkWrap, two new projects from the JBoss Community, partner to tear down this barrier and reduce Java enterprise testing to child’s play. Come experience how.

Arquillian, a container-oriented testing framework layered atop TestNG and JUnit, brings your test to the runtime rather than requiring you to manage the runtime from your test. Picking up where unit tests leave off, Arquillian enables you to test real components that rely on real enterprise services in a real runtime.

We’ll look at how the fluent API provided by ShrinkWrap is used to package a test archive, giving developers fine-grained control over which resources are available to be tested. We’ll show examples of how the test archive is deployed and executed inside standalone, embedded and remote containers. You’ll witness how RPC-style (or local, if applicable) communication between the test runner and the environment negotiates which tests are executed and reports back the results. You’ll walk away confident that you can write integration tests just as you would a unit test and the test is portable to multiple environments (containers).

What’s the secret? This talk reveals how Arquillian simplifies integration testing by providing a component model for tests, just as Java EE 5 simplified server-side programming by providing declarative services for application components. The test component model consists of container lifecycle management, test enrichment (dependency injection), container deployment and in-container test execution. Using a component model means your tests are portable and able to move between different environments, from single embedded or remote to multi-server to multi-cloud nodes.

About Dan Allen:

As Principal Software Engineer at Red Hat, Dan serves as the JBoss Community liaison, leads the JBoss Testing Initiative and is a member of the Arquillian, ShrinkWrap and JBoss Forge projects. He authored Seam in Action (Manning), served as a representative for Red Hat on the JSR-314 Expert Group (JSF 2.0), writes for IBM developerWorks and NFJS magazine and is an internationally recognized speaker. He’s appeared at major industry conferences including JavaOne, Devoxx, NFJS, JAX and Jazoon and has received recognition as a JavaOne Rock Star, a JBossWorld Top Presenter and a JAX Hall of Fame speaker.

To colleagues, Dan’s known for his hard work and passion for Open Source technologies. His technical expertise includes Java frameworks (Seam, CDI, Weld, JSF, EJB 3, JPA, Hibernate, Spring), testing frameworks (Arquillian, JUnit, TestNG, Selenium), build tools (Maven 2, Gradle, Ant) and web development (Ajax, JavaScript, CSS) and more.

You can keep up with Dan’s discoveries by reading his blogs at mojavelinux.com and JBOSS blog or tracking what he’s currently up to by following him on Twitter at @mojavelinux.

8:30: Door prizes:

Safari Online Book Subscription (1-year, 10-slot) – provided by DevelopIntelligence Training

Amazon Gift Cards – provided by Lea Holmboe of ECS

JetBrains IDE License

ZeroTurnaround JRebel License

A couple O’Reilly and Pearson books

HTML5 Roadshow giveaway for a seat at the Boulder event (June 17-21)

8:45: Networking/Food/Drinks at Old Chicago.

Our new sponsor, Bandwidth.com, will be hosting the food and drinks at Old Chicago (1415 Market St). Come join us for further discussion on topic of the night and whatnot.

This entry was posted in Uncategorized. Bookmark the permalink.

Comments are closed.