Advertisement
Guest User

Untitled

a guest
Oct 26th, 2013
100
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.66 KB | None | 0 0
  1. bash-3.2$ ./waysToRun
  2. ... Run as As Usual ...
  3. $ rdmd -unittest -main a.d
  4. A: Bar is not clean
  5. A: Foo is clean
  6. A: This is an unnamed import
  7. B: Bar is not clean
  8. B: Foo is clean
  9. B: This is an unnamed import
  10. ... With Summary ...
  11. $ rdmd -unittest -main a.d -s
  12. A: Bar is not clean
  13. A: Foo is clean
  14. A: This is an unnamed import
  15. B: Bar is not clean
  16. B: Foo is clean
  17. B: This is an unnamed import
  18.  
  19. Test Summary
  20. | modName| testName| result|
  21. |--------|---------|-------|
  22. | a| ABar| fail|
  23. | a| AFoo| pass|
  24. | a| Unamed 1| pass|
  25. | b| BBar| fail|
  26. | b| BFoo| pass|
  27. | b| Unamed 1| pass|
  28.  
  29. ... Filter to module a with summary ...
  30. $ rdmd -unittest -main a.d -m a -s
  31. A: Bar is not clean
  32. A: Foo is clean
  33. A: This is an unnamed import
  34.  
  35. Test Summary
  36. | modName| testName| result|
  37. |--------|---------|-------|
  38. | a| ABar| fail|
  39. | a| AFoo| pass|
  40. | a| Unamed 1| pass|
  41.  
  42. ... Filter to module b with summary ...
  43. $ rdmd -unittest -main a.d -m b -s
  44. B: Bar is not clean
  45. B: Foo is clean
  46. B: This is an unnamed import
  47.  
  48. Test Summary
  49. | modName| testName| result|
  50. |--------|---------|-------|
  51. | b| BBar| fail|
  52. | b| BFoo| pass|
  53. | b| Unamed 1| pass|
  54.  
  55. ... Filter to test ABar with summary ...
  56. $ rdmd -unittest -main a.d -t ABar -s
  57. A: Bar is not clean
  58.  
  59. Test Summary
  60. | modName| testName| result|
  61. |--------|---------|-------|
  62. | a| ABar| fail|
  63.  
  64. ... Filter to test BBar with summary ...
  65. $ rdmd -unittest -main a.d -t BBa -s
  66. B: Bar is not clean
  67.  
  68. Test Summary
  69. | modName| testName| result|
  70. |--------|---------|-------|
  71. | b| BBar| fail|
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement