JEasyTest

An Eclipse plugin for testing code that uses legacy code
Download

JEasyTest Ranking & Summary

Advertisement

  • Rating:
  • License:
  • Apache License 2.0
  • Publisher Name:
  • rmalagigi
  • Operating Systems:
  • Windows All
  • File Size:
  • 2.6 MB

JEasyTest Tags


JEasyTest Description

JEasyTest is a useful tool that will enable yo to easily test your code if it was made to use legacy code. JEasyTest is an Eclipse IDE plugin created to simplify unit testing of code that is hard to test using standard mock objects frameworks, as for example code using legacy code. JEasyTest uses AspectJ load-time bytecode modification "to inject mock invocations" (constructor and static method invocations) in which we are not allowed to use standard mock object tools (this technique is also known as Virtual Mock Objects). JEasyTest has been thought to be integrated with existing mock object frameworks to overcome some of their limitations. Throughout a literate API, the border between the code under test and the test itself nearly disappears and the concept of endo-testing is moved a step forward: the testing context, and only this, becomes a privileged environment from where we can set expectations as if we were inside the code to be tested. In JEasyTest the bytecode of our classes is modified only at runtime just before test running, without any possibility that production code might contain unwanted testing code. Thanks to the Eclipse plugin nature, JEasyTest usage of AspectJ is completely hidden and it happens behind the scenes while we are writing tests.


JEasyTest Related Software