T
tchaiket
Hey all,
I'm using NUNIT to test our classes. However, I don't want to hard
code test data into the NUNIT classes. For example, to test adding a
new Client, I don't want to hard code the Client Name, phone number,
email, etc. I want to the NUNIT to read this data from a file. This
way I can change the data in a file easily and test various types of
test data.
I think this can be done using the CONFIG file that NUNIT reads. Is
there any other way? Does NUNIT have other method of doing this?
Thanks.
TC
I'm using NUNIT to test our classes. However, I don't want to hard
code test data into the NUNIT classes. For example, to test adding a
new Client, I don't want to hard code the Client Name, phone number,
email, etc. I want to the NUNIT to read this data from a file. This
way I can change the data in a file easily and test various types of
test data.
I think this can be done using the CONFIG file that NUNIT reads. Is
there any other way? Does NUNIT have other method of doing this?
Thanks.
TC