• Like
  • Save
Presentacion minitest
Upcoming SlideShare
Loading in...5
×
 

Presentacion minitest

on

  • 571 views

Presentación Minitest Ruby G

Presentación Minitest Ruby G

Statistics

Views

Total Views
571
Views on SlideShare
568
Embed Views
3

Actions

Likes
0
Downloads
3
Comments
0

1 Embed 3

http://www.hanrss.com 3

Accessibility

Categories

Upload Details

Uploaded via as Apple Keynote

Usage Rights

© All Rights Reserved

Report content

Flagged as inappropriate Flag as inappropriate
Flag as inappropriate

Select your reason for flagging this presentation as inappropriate.

Cancel
  • Full Name Full Name Comment goes here.
    Are you sure you want to
    Your message goes here
    Processing…
Post Comment
Edit your comment
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n

Presentacion minitest Presentacion minitest Presentation Transcript

  • MiniTest Ruby GDL User Group 4 de Septiembre del 2012https://github.com/igmarin/presentacion-minitest.git
  • ¿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_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
  • 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
  • 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/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/
  • Gracias!https://github.com/igmarin/presentacion-minitest.git Ismael G Marín Cabrera @igmarin