MiniTest           Ruby GDL User Group              4 de Septiembre del 2012https://github.com/igmarin/presentacion-minite...
¿Minitest Importante?• Default en Ruby 1.9• Remplaza a Test::Unit• Menos Código• Mayor funcionalidad
6 Partes de Minitest• runner• minitest/unit• minitest/spec• minitest/mock• minitest/pride• minitest/bench
Matchers/Expectations    Positive            Assertions       assert              assert_nil   assert_block       assert_o...
Matchers Spec• Nota todos los Matchers hacen referencia  a las afirmaciones (assertions) de  MiniTest::Unit• https://github...
MiniTest::Mockhttp://bfts.rubyforge.org/minitest/MiniTest/                 Mock.html
Integraciones•   minitest-rails => gem minitest-rails•   minitest-capybara => gem minitest-rails-capybara•
Recursos•   https://github.com/blowmage/minitest-rails•   https://github.com/guard/guard-minitest•   https://github.com/su...
Gracias!https://github.com/igmarin/presentacion-minitest.git                            Ismael G Marín Cabrera            ...
Upcoming SlideShare
Loading in …5
×

Presentacion minitest

530 views
423 views

Published on

Presentación Minitest Ruby G

Published in: Technology
0 Comments
0 Likes
Statistics
Notes
  • Be the first to comment

  • Be the first to like this

No Downloads
Views
Total views
530
On SlideShare
0
From Embeds
0
Number of Embeds
6
Actions
Shares
0
Downloads
4
Comments
0
Likes
0
Embeds 0
No embeds

No notes for slide
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • Presentacion minitest

    1. 1. MiniTest Ruby GDL User Group 4 de Septiembre del 2012https://github.com/igmarin/presentacion-minitest.git
    2. 2. ¿Minitest Importante?• Default en Ruby 1.9• Remplaza a Test::Unit• Menos Código• Mayor funcionalidad
    3. 3. 6 Partes de Minitest• runner• minitest/unit• minitest/spec• minitest/mock• minitest/pride• minitest/bench
    4. 4. Matchers/Expectations Positive Assertions assert assert_nil assert_block assert_operator assert_equal assert_output assert_empty assert_raises assert_in_delta assert_respond_to assert_in_epsilon assert_same assert_includes assert_sendassert_instance_of assert_silent assert_kind_of assert_throws assert_match
    5. 5. Matchers Spec• Nota todos los Matchers hacen referencia a las afirmaciones (assertions) de MiniTest::Unit• https://github.com/seattlerb/minitest/blob/ master/lib/minitest/spec.rb
    6. 6. MiniTest::Mockhttp://bfts.rubyforge.org/minitest/MiniTest/ Mock.html
    7. 7. Integraciones• minitest-rails => gem minitest-rails• minitest-capybara => gem minitest-rails-capybara•
    8. 8. Recursos• https://github.com/blowmage/minitest-rails• https://github.com/guard/guard-minitest• https://github.com/sunaku/vim-ruby-minitest• http://recipes.sinatrarb.com/p/testing/minitest• http://rubylearning.com/blog/2011/07/28/how-do-i-test-my- code-with-minitest/
    9. 9. Gracias!https://github.com/igmarin/presentacion-minitest.git Ismael G Marín Cabrera @igmarin

    ×