0
 
Who am I? <ul><li>Analyst/Developer
Seam 3 contributor
Hobbyist game programmer
Messenger from Arquillia.
“ I came to bring peace to jee developers ! ” </li></ul>
Agenda <ul><li>Why?
What?
How?
Demo! </li></ul>
Why? <ul><li>It's hard to test JEE dependable artifacts
Write integration test is a hellish experience
We're tired to write thousand of line codes to run our tests.
and we need to run tests! </li></ul>
Upcoming SlideShare
Loading in...5
×

Arquillian: Alien technlogy for JavaEE tests

2,032

Published on

JavaEE Tests with Arquillian on The developers conference 2011,, São Paulo, Brazil

Published in: Technology, Education
0 Comments
1 Like
Statistics
Notes
  • Be the first to comment

No Downloads
Views
Total Views
2,032
On Slideshare
0
From Embeds
0
Number of Embeds
1
Actions
Shares
0
Downloads
13
Comments
0
Likes
1
Embeds 0
No embeds

No notes for slide

Transcript of "Arquillian: Alien technlogy for JavaEE tests"

  1. 2. Who am I? <ul><li>Analyst/Developer
  2. 3. Seam 3 contributor
  3. 4. Hobbyist game programmer
  4. 5. Messenger from Arquillia.
  5. 6. “ I came to bring peace to jee developers ! ” </li></ul>
  6. 7. Agenda <ul><li>Why?
  7. 8. What?
  8. 9. How?
  9. 10. Demo! </li></ul>
  10. 11. Why? <ul><li>It's hard to test JEE dependable artifacts
  11. 12. Write integration test is a hellish experience
  12. 13. We're tired to write thousand of line codes to run our tests.
  13. 14. and we need to run tests! </li></ul>
  14. 15. What? <ul><li>This is Ike
  15. 16. Ike came from Arquillia to help us with our enterprise bugs.
  16. 17. He controls everything inside his little world
  17. 18. Arquillians are fighting the bugs to protect the universe </li></ul>
  18. 19. <ul><li>Arquillian is tool to control JEE test running.
  19. 20. The Real deal: </li><ul><li>“ Write real tests, run in your container” . </li></ul><li>Integration and unit tests
  20. 21. “Don't mock me!” </li></ul>
  21. 22. Arquillian Features <ul><li>Integrated with JUnit e TestNG
  22. 23. Integrated with IDE
  23. 24. Abstracts container's lifecycle and deployment.
  24. 25. Enriches test classes. (@Inject, @EJB, etc. Etc.)
  25. 26. Containers: Embedded and Remote
  26. 27. Plugable (modular and extensible design) </li></ul>
  27. 28. Arquillian Future Features <ul><li>mvn arquillian:deploy|undeploy
  28. 29. Jacoco extension (for coverage report)
  29. 30. Container's manual control
  30. 31. Scala / bdd runners. </li></ul>
  31. 32. How? <ul><li>Architecture </li></ul>
  32. 33. Shrinkwrap <ul><li>Skip the build! (no repackaging!)
  33. 34. Manages classpath and packaging of artifacts to be tested.
  34. 35. Generate granularized packages for tests.
  35. 36. Generated packages are independent from application archive. </li></ul>
  36. 37. Containers Same VM Manage Container's Lifecycle Embedded x x Managed x Remote
  37. 38. Hora da demo
  38. 39. At the end, what did it bring to you? <ul><li>Write less code
  39. 40. Completely test isolation
  40. 41. Write your tests once, run in “every” container
  41. 42. Write integration tests as you write your unit tests. </li></ul>
  42. 43. Thank you! <ul><li>@joserodolfo_f
  43. 44. Http://techblog.joserodolfo.com
  44. 45. [email_address] </li></ul>
  1. A particular slide catching your eye?

    Clipping is a handy way to collect important slides you want to go back to later.

×