About the work
Supongamos que tenemos la siguiente clase: public class HelloWorld{ private String helloWorld(String subject){ return "Hello, " + subject + "!"; } } Si quisiéramos hacer un test de JUnit, nos encontraríamos con que no podemos acceder al método. Por ello, un hecho tan sencillo como probar este comportamiento (trivial, sí) se dificulta bastante. Luego de<http://blog.delucas.com.ar/2010/10/como-probar-metodos-privados-utilizando-junit/> [...]
Print work information
Work information
Title Cómo probar métodos privados utilizando JUnit
Supongamos que tenemos la siguiente clase: public class HelloWorld{ private String helloWorld(String subject){ return "Hello, " + subject + "!"; } } Si quisiéramos hacer un test de JUnit, nos encontraríamos con que no podemos acceder al método. Por ello, un hecho tan sencillo como probar este comportamiento (trivial, sí) se dificulta bastante. Luego de<http://blog.delucas.com.ar/2010/10/como-probar-metodos-privados-utilizando-junit/> [...]
Work type Article
Tags testing, técnicos, buenas prácticas, conceptos, java
-------------------------
Registry info in Safe Creative
Identifier 1010197607059
Entry date Oct 19, 2010, 7:31 AM UTC
License Creative Commons Attribution Share Alike 3.0
-------------------------
Copyright registered declarations
Author. Holder Lucas Videla. Date Oct 19, 2010.
Information available at https://www.safecreative.org/work/1010197607059-como-probar-metodos-privados-utilizando-junit