Test-Driven Development com Ruby on Rails

  • View
    849

  • Download
    0

Embed Size (px)

DESCRIPTION

Slides from "TDD with Rails" short course.

Text of Test-Driven Development com Ruby on Rails

  • 1. Test-Driven Development com Ruby on Rails Rodrigo S. Manhes Laboratrio de Cincias Matemticas/UENF Ncleo de Pesquisa em Sistemas de Informao/IFF
  • 2. Rodrigo Manhes Desenvolvedor de software na UENF desde 1998 Professor em cursos de graduao desde 2004 (FSMA, UCAM, UENF) Pesquisador no NSI/IFF desde 2008 Colaborador em projetos de software livre desde 2008 Utilizando TDD desde 2007 Utilizando Ruby on Rails desde 2009
  • 3. resolver certoo problema certo
  • 4. http://www.flickr.com/photos/siebeneinhalb-de/510621489
  • 5. http://www.flickr.com/photos/swanksalot/684391801
  • 6. http://www.flickr.com/photos/christ_fierro/3337444359
  • 7. http://www.flickr.com/photos/asthmahelper/5176466672
  • 8. http://www.flickr.com/photos/doublefeaturepodcast/3477438490
  • 9. test-driven development
  • 10. http://blog.dannorth.net/introducing-bdd
  • 11. http://www.flickr.com/photos/desiitaly/1787142391
  • 12. http://www.flickr.com/photos/yogendra174/4364939550
  • 13. somente escreva cdigo paraconsertar um teste que est falhando
  • 14. (a no ser que voc esteja refatorando)
  • 15. aprendemos assim
  • 16. aprendemos assim TDD assim
  • 17. testar antes? http://www.flickr.com/photos/33370236@N06/3845669785
  • 18. aprendemos assim TDD assim
  • 19. design depois? http://www.flickr.com/photos/33370236@N06/3845669785
  • 20. O ciclo TDD
  • 21. 1: test
  • 22. 2: code
  • 23. http://www.flickr.com/photos/jrmyst/4862642454
  • 24. 3: refactor
  • 25. http://www.flickr.com/photos/samhines/2744177977
  • 26. http://www.flickr.com/photos/llohman/4117901094
  • 27. TDD uma tcnica de design de software
  • 28. Os testes vm de brinde!
  • 29. e a documentao tambm!
  • 30. http://www.flickr.com/photos/wiskinator/2613175624/
  • 31. Test-Driven Development e Ruby on RailsFEITOS UM PARA O OUTRO!!
  • 32. MO NA MASSA!
  • 33. na webGithub: github.com/rodrigomanhaesSlideshare: slideshare.net/rodrigomanhaesTwitter: @rodrigomanhaesBlog tcnico: programacaoradical.blogspot.comBlog pessoal: fanatismoindeciso.blogspot.comE-mail: rmanhaes@gmail.com