why use MFC? I can't test my ATL/WTL class with this MFC dependence.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Anonymous
-
2001-06-21
> why use MFC?
Because someone donated their time to create something besides the bare text interface. It was a gift to the community of programmers. Maybe someone else will want to create an ATL version. Maybe you?
The text mode version works fine. Just create a command line application for your test. You still get a nice test framework for free, and you are free to contribute any additions.
I would have used MFC for a Windows GUI too, because more people are familiar with it, and the it doesn't take time to create a little GUI app. Also, there was existing code from someone else's efforts in the past. The original port of CppUnit from JUnit was done in MFC (with a text mode as backup)
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
The fact that MFC are the only visual toolkit I know for windows is a good reason.
Is it the fact that it is a MFC extension DLL that is a problem or is it MFC. The first one will be resolved some time in the future. The second won't be resolved by me.
I working on decoupling UI and models. Making another test runner shouldn't be that hard. Contact me on the list if you want more info.
Baptiste.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
why use MFC? I can't test my ATL/WTL class with this MFC dependence.
> why use MFC?
Because someone donated their time to create something besides the bare text interface. It was a gift to the community of programmers. Maybe someone else will want to create an ATL version. Maybe you?
The text mode version works fine. Just create a command line application for your test. You still get a nice test framework for free, and you are free to contribute any additions.
I would have used MFC for a Windows GUI too, because more people are familiar with it, and the it doesn't take time to create a little GUI app. Also, there was existing code from someone else's efforts in the past. The original port of CppUnit from JUnit was done in MFC (with a text mode as backup)
The fact that MFC are the only visual toolkit I know for windows is a good reason.
Is it the fact that it is a MFC extension DLL that is a problem or is it MFC. The first one will be resolved some time in the future. The second won't be resolved by me.
I working on decoupling UI and models. Making another test runner shouldn't be that hard. Contact me on the list if you want more info.
Baptiste.