CodeBreaker breaks a line of Ruby code into its receiver classes and the methods that are called on them.
The idea behind this is to make global lines of code like the following one testable:
sum = Rational(2, 3) + 4
By breaking down this line into the receiver classes and called methods you can check e.g. whether a code snippet assigns the sum of a Rational and an Integer to a variable with the name sum.
Testing global code snippets might be important for testing the code of simple programming tasks in learning tools like Daigaku.
CodeBreaker alternatives and similar gems
Based on the "Testing" category
* Code Quality Rankings and insights are calculated and provided by Lumnify.
They vary from L1 to L5 with "L5" being the highest. Visit our partner's website for more details.
Do you think we are missing an alternative of CodeBreaker or a related project?