Upgrade to Pro — share decks privately, control downloads, hide ads and more …

Quid Est Testing?

Quid Est Testing?

What are the basics of testing? How do we test?

Given to the RIT Society of Software Engineers in 2009. http://sse.se.rit.edu/

Nick Quaranto

January 12, 2012
Tweet

More Decks by Nick Quaranto

Other Decks in Programming

Transcript

  1. 5th year SE & CS major ruby fanatic bills fan

    @qrush litanyagainstfear.com
  2. empirical investigation conducted to provide stakeholders with information about the

    quality of the product or service under test wikipedia
  3. the process of executing a program or system with the

    intent of finding errors the art of software testing
  4. class BillsPlayerTest < Test::Unit::TestCase def setup @terrell_owens = BillsPlayer.new end

    def test_to_is_a_tad_bit_hyped assert @terrell_owens.overpaid? end def teardown # bills lose, again :[ end end
  5. so what? production errors due to uncomprehensive tests often done

    after the code is written if not automated, not preformed frequently and so on...
  6. you, the developer, write the tests! write tests before implementation

    new code only when an automated test fails take small steps
  7. tdd is about design design is a process, not a

    phase think about the interface before implementation