Click to See Complete Forum and Search --> : How to test a function in code behide of a website


jinho929
August 10th, 2009, 02:20 AM
Because a web site does not create dll, I don't know how to reference to a utility class in code behind of a website to test its functions.

Do you have any idea about this issue?

jinho929
August 10th, 2009, 03:41 AM
I didn't mention clearly. I wan to create a nunit test for methods in code behind of a website. Because the test is in a separate project. Hence, I need to reference to the class in code behind. But the website project does not generate assembly, I don't know how to add reference to this class.