aslak

Arquillian - Seam Forge - AutoDiscover existing possible testable classes

Oct 23rd, 2010
99
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Bash 2.79 KB | None | 0 0
  1.    ____                          _____                    
  2.   / ___|  ___  __ _ _ __ ___    |  ___|__  _ __ __ _  ___
  3.   \___ \ / _ \/ _` | '_ ` _ \   | |_ / _ \| '__/ _` |/ _ \  \\
  4.    ___) |  __/ (_| | | | | | |  |  _| (_) | | | (_| |  __/  //
  5.   |____/ \___|\__,_|_| |_| |_|  |_|  \___/|_|  \__, |\___|
  6.                                                 |___/      
  7.  
  8. [forge-parent] seam-forge/ $ new-project --named test --topLevelPackage com.acme
  9. Use [/home/aslak/dev/source/seam/seam-forge/test] as project directory? [Y/n]
  10. Wrote /home/aslak/dev/source/seam/seam-forge/test/pom.xml
  11. Wrote /home/aslak/dev/source/seam/seam-forge/test/src/main/java/com/acme/HelloWorld.java
  12. Wrote /home/aslak/dev/source/seam/seam-forge/test/src/main/resources/META-INF/forge.xml
  13. ***SUCCESS*** Created project [test] in new working directory [/home/aslak/dev/source/seam/seam-forge/test]
  14. [test] test/ $ new-ejb --named ResourceService
  15. What type of Enterprise Java Bean would you like to create?
  16.  
  17.   1 - [Stateless]
  18.   2 - [Stateful]
  19.   3 - [MessageDriven]
  20.  
  21. Choose an option by typing the number of the selection: 1
  22. In which package you'd like to create the @Stateless bean, or enter for default: [com.acme.service]
  23. Wrote /home/aslak/dev/source/seam/seam-forge/test/src/main/java/com/acme/service/ResourceService.java
  24. Created [Stateless] Enterprise Java Bean [ResourceService]
  25. [test] test/ $ new-ejb --named MailService    
  26. What type of Enterprise Java Bean would you like to create?
  27.  
  28.  1 - [Stateless]
  29.  2 - [Stateful]
  30.  3 - [MessageDriven]
  31.  
  32. Choose an option by typing the number of the selection: 1
  33. In which package you'd like to create the @Stateless bean, or enter for default: [com.acme.service]
  34. Wrote /home/aslak/dev/source/seam/seam-forge/test/src/main/java/com/acme/service/MailService.java
  35. Created [Stateless] Enterprise Java Bean [MailService]
  36. [test] test/ $ install arquillian
  37. Which version of Arquillian would you like to install?
  38.  
  39.   1 - [1.0.0.Alpha1]
  40.   2 - [1.0.0.Alpha2]
  41.   3 - [1.0.0.Alpha3]
  42.   4 - [1.0.0.Alpha4]
  43.  
  44. Choose an option by typing the number of the selection: 4
  45. Which test framework would you like to use?
  46.  
  47.   1 - [JUnit]
  48.   2 - [TestNG]
  49.  
  50. Choose an option by typing the number of the selection: 1
  51. Installation completed successfully.
  52. [test] test/ $ arquillian-autodiscover
  53. Would you like to create a test for [com.acme.service.ResourceService] [Y/n]
  54. What would you like to call the test case? [ResourceServiceTestCase]
  55. Wrote /home/aslak/dev/source/seam/seam-forge/test/src/test/java/com/acme/service/ResourceServiceTestCase.java
  56.  
  57. Would you like to create a test for [com.acme.service.MailService] [Y/n]
  58. What would you like to call the test case? [MailServiceTestCase]
  59. Wrote /home/aslak/dev/source/seam/seam-forge/test/src/test/java/com/acme/service/MailServiceTestCase.java
  60.  
  61. [test] test/ $
Advertisement
Add Comment
Please, Sign In to add comment