Please log in to watch this conference skillscast.
Quite a few books told you that writing tests upfront is a good thing. They're right, but unfortunately you normally also need some documentation about how to use the well tested service/applicaton.
Using "cucumber" makes both possible and "easy": Writing tests upfront, but also generating documentation from those tests. Accompanied with "aruba", you can use it to generate documentation from your tests for commandline applications. This is what cucumber and rspec do for their documentation.
This talk focuses on testing commandline applications and having documentation for those. It starts with thoughts about documentation itself and then gets into problems you might face if you try to convince administrators to document their scripts. It closes with a solution for that task.
YOU MAY ALSO LIKE:
- Jenny Martin and Pete Buckney's BDD From Start to Finish - Successful Delivery through Continuous Collaboration (in London on 27th - 29th March 2019)
- P3X - People, Product & Process eXchange 2019 (in London on 7th - 8th November 2019)
- Uncle Bob's Clean Code: Agile Software Craftsmanship (in London on 18th - 20th November 2019)
Living Documentation for commandline applications - A contract between you and your users
Dennis Günnewig is a system administrator responsible for a lot of HTTP proxy servers in large customer environments. To make his daily job a little bit easier he writes quite a few scripts and commandline applications. For those scripts and applications which are more complex he uses "cucumber" and "aruba" to write and run a test suite. Besides that he's one of the maintainers of "aruba" and loves to write ruby code.