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

Automated testing with Erlang - these go to eleven -

Ward Bekker
November 08, 2012

Automated testing with Erlang - these go to eleven -

Erlang is designed for building massively scalable and highly available soft real-time systems. Unsurprisingly , Erlang provides us with powerful libraries for automated testing of these type of systems. In this talk, we take a look at three of the popular automated testing libraries for Erlang, discuss their individual strengths and weaknesses and illustrate the importance of continuous integration by deploying sample automated tests to Travis-CI, a free continuous integration service for the open source community.

Talk objectives: Describe and explain popular Erlang automated testinging libraries (EUnit, QuickCheck, Common Test) and the advantages of continuous integration.

Target audience: Test-conscious Erlang programmers.

Presented at the Erlang Factory Lite 2012 London

Ward Bekker

November 08, 2012
Tweet

More Decks by Ward Bekker

Other Decks in Technology

Transcript

  1. • TTY-who? • Simple testing with EUnit • Smarter testing

    with QuickCheck • Heavy lifting with Common Test • Up and running quickly with Continuous Integration 2 donderdag 8 november 12
  2. • TTY-who? • Simple testing with EUnit • Smarter testing

    with QuickCheck • Heavy lifting with Common Test • Up and running quickly with Continuous Integration 13 donderdag 8 november 12
  3. abattement abbe abbess abbey abbeys abbominable abbot abbots abatt abb

    abbess abbei abbei abbomin abbot abbot 17 donderdag 8 november 12
  4. • TTY-who? • Simple testing with EUnit • Smarter testing

    with QuickCheck • Heavy lifting with Common Test • Up and running quickly with Continuous Integration 27 donderdag 8 november 12
  5. a + (b + c) = (a + b) +

    c 31 donderdag 8 november 12
  6. Elias Ɣ Encoding 00000000 00000001 00000000 00000010 00000000 00000011 11011

    1 010 011 4 = 00100 9 = 0001001 37 donderdag 8 november 12
  7. • TTY-who? • Simple testing with EUnit • Smarter testing

    with QuickCheck • Heavy lifting with Common Test • Up and running quickly with Continuous Integration 40 donderdag 8 november 12
  8. • TTY-who? • Simple testing with EUnit • Smarter testing

    with QuickCheck • Heavy lifting with Common Test • Up and running quickly with Continuous Integration 46 donderdag 8 november 12
  9. Build Environment • 32-bit Ubuntu Linux 12.04 • R14B02 upto

    R15B02 with Kerl • Rebar • Riak, MongoDB, MySQL, PostgreSQL • RabbitMQ, Memcached, Cassandra etc 53 donderdag 8 november 12
  10. • Simple testing with EUnit • Smarter testing with QuickCheck

    • Heavy lifting with Common Test • Up and running quickly with Continuous Integration 54 donderdag 8 november 12