Successfully reported this slideshow.
Your SlideShare is downloading. ×

Always be testing

Ad
Ad
Ad
Ad
Ad
Ad
Ad
Ad
Ad
Ad
Ad
Loading in …3
×

Check these out next

1 of 37 Ad

More Related Content

Slideshows for you (20)

Similar to Always be testing (20)

Advertisement

Recently uploaded (20)

Always be testing

  1. 1. Ignacio Burgueño Lua Workshop 2015 Stockholm, Sweden
  2. 2. About Me Ignacio Burgueño Software Developer at inConcert @iburgueno https://github.com/ignacio
  3. 3. What will be talking about? ● Improving your code using known techniques and free tools ● Testing on different platforms and with different configurations ● ...without working too much
  4. 4. "Continuous Integration is a software development practice where members of a team integrate their work frequently ... verified by an automated build (including test) to detect integration errors" - Martin Fowler
  5. 5. Build Automation ● Source code repository ● Script to drive the Build ● Script to run the Tests
  6. 6. Source code repository
  7. 7. A script to drive the build “Build processes are boring and monotonous and anytime a task becomes boring and monotonous it's ripe for humans to screw it up as our brains turn of and our mind drifts.” - Ron Gilbert
  8. 8. A script to drive the tests ./run_the_tests.sh ● LuaUnit ● Busted ● Telescope ● Lua-TestMore ● assert
  9. 9. Why Automate?
  10. 10. Why?
  11. 11. Maybe?
  12. 12. Should I…?
  13. 13. I definitely should...
  14. 14. Automate!
  15. 15. Continuous Integration as a Service
  16. 16. We'll focus on two
  17. 17. Pull request integration?
  18. 18. For regular commits too...
  19. 19. How do they work?
  20. 20. Example .travis.yml
  21. 21. Example appveyor.yml
  22. 22. Supported Languages
  23. 23. What about Lua?
  24. 24. lua-travis-example (by Alexey Melnichuk) https://github.com/moteus/lua-travis-example lua-appveyor-example (by yours truly) https://github.com/ignacio/lua-appveyor-example/
  25. 25. Case study: elasticsearch-lua https://github.com/DhavalKapil/elasticsearch-lua
  26. 26. Case study: elasticsearch-lua
  27. 27. Case study: elasticsearch-lua https://github.com/DhavalKapil/elasticsearch-lua/pull/6/files https://travis-ci.org/DhavalKapil/elasticsearch-lua/builds/81672970
  28. 28. Case study: lua-rapidjson https://ci.appveyor.com/project/ignacio/lua-rapidjson
  29. 29. Useful guides Continuous Integration for Lua with Travis (Pierre Chapuis) http://blog.separateconcerns.com/2015-03-08-travis-lua.html Testing is fun, CI even more so (Peter Aronoff) http://ithaca.arpinum.org/2015/07/14/lua-bitbucket-ci-droneio.html
  30. 30. Thanks! Ignacio Burgueño Lua Workshop 2015 Stockholm, Sweden

×