Monday, 26 August 2013

Should I be accessing protected methods for unit tests?

Should I be accessing protected methods for unit tests?

References

Reference NO 1

http://stackoverflow.com/questions/5601730/should-private-protected-methods-be-under-unit-test

Reference NO 2

http://stackoverflow.com/questions/250692/how-do-you-unit-test-private-methods

Reference NO 3

http://codebetter.com/karlseguin/2009/08/19/testing-protected-methods-is-easy/

Reference NO 4

http://www.codeproject.com/Articles/9715/How-to-Test-Private-and-Protected-methods-in-NET

Reference NO 5

https://jtreminio.com/2013/03/unit-testing-tutorial-part-3-testing-protected-private-methods-coverage-reports-and-crap/

Reference NO 6

http://lostechies.com/johnteague/2009/08/28/testing-private-amp-protected-members-of-a-class/

Reference NO 7

http://www.mantidproject.org/Unit_Test_Good_Practice

Reference NO 8

http://blog.developers.ba/post/2009/04/12/unit-testing-private-methods-yes-or-no.aspx

No comments:

Post a Comment