Your SlideShare is downloading. ×
Js Test Driver, JsHamcrest, JsMockito
Upcoming SlideShare
Loading in...5
×

Thanks for flagging this SlideShare!

Oops! An error has occurred.

×

Introducing the official SlideShare app

Stunning, full-screen experience for iPhone and Android

Text the download link to your phone

Standard text messaging rates apply

Js Test Driver, JsHamcrest, JsMockito

1,771
views

Published on

This presenation (with some lines in Swedish) was used at JavaForum 2011 October. I presented Js Test Driver, JsHamcrest and JsMockito and how to

This presenation (with some lines in Swedish) was used at JavaForum 2011 October. I presented Js Test Driver, JsHamcrest and JsMockito and how to

Published in: Technology, Business

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

No Downloads
Views
Total Views
1,771
On Slideshare
0
From Embeds
0
Number of Embeds
6
Actions
Shares
0
Downloads
15
Comments
0
Likes
1
Embeds 0
No embeds

Report content
Flagged as inappropriate Flag as inappropriate
Flag as inappropriate

Select your reason for flagging this presentation as inappropriate.

Cancel
No notes for slide
  • Består av: en samordnande server ett par testrunners (kommandorad, maven) server+runners i java en del javascript för assertX och xUnit
  • servern kan starta browsers själv, om de är på samma maskin, men inte stänga någon browser
  • Transcript

    • 1. JS Test Driver JsHamcrest JsMockito
    • 2. https://github.com/FredrikWendt/JsTestDriverPlayground
    • 3. JS Test Driver Apache Software License 2.0 googlecode svn :-(
    • 4. JsTestDriver
        easily integrates with continuous builds systems and allows running tests on multiple browsers quickly to ease TDD style development
    • 5. JS Test Driver
    • 6. JS Test Driver
    • 7. JS Test Driver
    • 8. JS Test Driver
    • 9. JS Test Driver
    • 10. Demo 1 - CLI
      • kör sample-app – egen server, egen browser
      • 11. cd exempel – kör test, fallerar ev visa pom
      • 12. starta server i terminal – kör test, fallerar
      • 13. starta Chrome, /capture – kör test, fallerar OK
      • 14. Inte stabilt när en browser försvinner – iofs OK?
    • 15. Demo 1 - CLI
      • Parallell exekvering i alla webbläsare
      • 16. Går att integrera i CI
      • 17. Kan köras lokalt vid behov (felsökning, debug)
    • 18. Demo 2 - IDE
      • Plugin till Eclipse
      • 19. Copyright Google
      • 20. Apache Software Licence 2.0
      • 21. Show view, starta server, starta webbläsare
      • 22. Greeter
      • 23. Basic 1, 2, 3, 4
    • 24. Demo 2 - IDE
      • Skakigt vid syntax-fel – använd jslint4java
      • 25. Använd version 1.1.1.e under Uncategorized
      • 26. Nyare versions config-fil stödjer load och test – pluginen gör det INTE!
    • 27. JsHamcrest
      • BSD-licens
      • 28. Gör kod läsligare:
      • 29. assertThat (someThing, 'someValue' ); assertThat (someThing, someTest ());
      • 30. Basic 5
    • 31. JsMockito
      • MIT-licens
      • 32. aims to try and reproduce the clean & simple API, with a JavaScript twist
      • 33. Mockning av object/klasser och funktioner
      • 34. Spionage!
      • 35. mock , mockFunction
      • 36. when , thenThrow , spy , verifyZeroInteractions
    • 37. This work by Fredrik Wendt is licensed under a Creative Commons Attribution-NonCommercial-ShareAlike 3.0 Unported License http://creativecommons.org/licenses/by-nc-sa/3.0/