Guest User

Untitled

a guest
Mar 21st, 2018
79
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.45 KB | None | 0 0
  1. describe("a", function()
  2. setup(function()
  3. print("setup for a")
  4. end)
  5. it("does a", function()
  6. print("test for a")
  7. end)
  8. end)
  9.  
  10. describe("b ", function()
  11. setup(function()
  12. print("setup for b")
  13. end)
  14. it("does b", function()
  15. print("test for b")
  16. end)
  17. end)
  18.  
  19. -- ~/programmingStuff/lua $ busted --filter="does b" bust.lua
  20. -- setup for a
  21. -- setup for b
  22. -- test for b
  23. -- ●
  24. -- 1 success / 0 failures / 0 errors / 0 pending : 0.00081 seconds
Add Comment
Please, Sign In to add comment