I am not a software test person but I have an assignment to test a quite big project that already written in MSVC++ MFC before releasing as product.
1>Can I use cppUnit to test kind of that project no matter how that project has been designed?
2>I just have a very light understanding about cppUnit. And I think that CPPUNIT_ASSERT is doing the same thing that Debug ASSERT built-in with MSVC++ does. So why do I need cppUnit?
3>cppUnit seems like the tool for developer to test against their codes: testing while developing. It is not a tool for kind of the following structure:
+Developers just do what they are doing
+Software test people will test agaisnt what developers are doing
Is my thought correct?
4>Any suggestion for my case?
Thank you,
Ben
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
1. No, you can't just use CPPUnit without the developers putting in effort in writing the tests. And there are other issues, such as private and protected functions.
3. You are correct for your case.
4. You don't mention what version of VC you are using (6 or 7). For 6, there are a number of applications out there. For 7, we only found one, (Parasoft) and it hasn't yet lived up to it's billing. You also need to identify whether you want Unit Testing or Functional Testing.
Robert
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
I am doing research for a Software Test Solution.
I am not a software test person but I have an assignment to test a quite big project that already written in MSVC++ MFC before releasing as product.
1>Can I use cppUnit to test kind of that project no matter how that project has been designed?
2>I just have a very light understanding about cppUnit. And I think that CPPUNIT_ASSERT is doing the same thing that Debug ASSERT built-in with MSVC++ does. So why do I need cppUnit?
3>cppUnit seems like the tool for developer to test against their codes: testing while developing. It is not a tool for kind of the following structure:
+Developers just do what they are doing
+Software test people will test agaisnt what developers are doing
Is my thought correct?
4>Any suggestion for my case?
Thank you,
Ben
1. No, you can't just use CPPUnit without the developers putting in effort in writing the tests. And there are other issues, such as private and protected functions.
3. You are correct for your case.
4. You don't mention what version of VC you are using (6 or 7). For 6, there are a number of applications out there. For 7, we only found one, (Parasoft) and it hasn't yet lived up to it's billing. You also need to identify whether you want Unit Testing or Functional Testing.
Robert