TESTING JAVA PERSISTENCE LAYER DONE RIGHT WITH ARQUILLIAN

1,512 views
1,282 views

Published on

Demo: https://github.com/bartoszmajsak/devoxx12-ape

0 Comments
1 Like
Statistics
Notes
  • Be the first to comment

No Downloads
Views
Total views
1,512
On SlideShare
0
From Embeds
0
Number of Embeds
46
Actions
Shares
0
Downloads
6
Comments
0
Likes
1
Embeds 0
No embeds

No notes for slide

TESTING JAVA PERSISTENCE LAYER DONE RIGHT WITH ARQUILLIAN

  1. 1. TESTING JAVA PERSISTENCE LAYER DONE RIGHT WITH ARQUILLIAN Bartosz Majsak Cambridge Technology Partners @majson
  2. 2. [bartosz@devoxx ~]$ whoami ✔ Java developer by day ✔ Open source junkie by night ✔ Arquillian team member, lead of ✔ Persistence Extension ✔ Spock test runner ✔ Seam 2 integration ✔ github.com/bartoszmajsak ✔ @majson
  3. 3. First attempt
  4. 4. First attempt
  5. 5. First attempt
  6. 6. First attempt
  7. 7. First attempt
  8. 8. We can do better<dataset> <brewery id="1" name="Brew Dog" country="Scotland" /> <beer id="1" name="End of History" price="756" alcohol="55.0" brewery_id="1" /></dataset>
  9. 9. And better
  10. 10. And even better
  11. 11. Recap ✔ You can write your test fixtures in XML, Excel, YAML or JSON ✔ @UsingDataSet / @ShouldMatchDataSet ✔ @Cleanup / @CleanupUsingScript ✔ @ApplyScriptBefore / After ✔ @CreateSchema ✔ JPA 2nd level cache eviction
  12. 12. Whats for the nearest future? ✔ NoSQLUnit integration ✔ Data providers (like in TestNG) ✔ Standalone mode
  13. 13. We need you!
  14. 14. Thank you! Q&Ahttps://github.com/bartoszmajsak/devoxx12-apehttp://arquillian.orghttps://docs.jboss.org/author/display/ARQ/Persistence
  15. 15. Credits[5] http://www.flickr.com/photos/montine/2311288263/[6] http://www.flickr.com/photos/visitflanders/6328705484/[15] http://www.flickr.com/photos/leebennett/3181855130 Q&ASlide 5 – Authors permissionSlides 6, 15 – Creative Commons

×