Declare War On Everything With Chaser

1,288 views

Published on

Introducing chaser, a lightweight mutation tester for any flavor of ruby

Published in: Technology, Education
  • Be the first to comment

  • Be the first to like this

Declare War On Everything With Chaser

  1. 1. Declare war on everything with Chaser <ul><li>Andrew Grimm, University of New South Wales </li></ul>Lightweight mutation testing in any flavor of ruby
  2. 2. Mutation testing <ul><li>Evaluates thoroughness of unit tests
  3. 3. Changes code being unit tested
  4. 4. If changes don't cause test failures, it isn't totally thorough
  5. 5. Main ruby mutation tester is Heckle
  6. 6. Chaser is a new lightweight alternative </li></ul>
  7. 7. Chaser != Bradbury <ul><li>Chaser is about a different set of mutations
  8. 8. Bradbury about making the unit tests faster </li></ul>!=
  9. 9. Reasons for creating Chaser <ul><li>Heckle currently relies on ParseTree
  10. 10. ParseTree relies on MRI Ruby 1.8 and doesn't work under Windows </li></ul>
  11. 11. 100% pure ruby <ul><li>Yay: </li><ul><li>Chaser uses plain old metaprogramming
  12. 12. Works under ruby 1.9, Windows, JRuby </li></ul><li>Boo: </li><ul><li>Doesn't mutate every piece of code in a method
  13. 13. Currently only modifies the methods' return values </li></ul></ul>

×