cfix 1.0 had been licensed under the GNU General Public License. One of the characteristics of the GPL is that it disallows proprietary binaries to be linked against GPL-licensed binaries.
In the context of cfix, linking is quite a concern — after all, every test-DLL has to be linked against cfix.dll. As cfix.dll is GPL-licensed, this means that it would be illegal to redistribute the test-DLL, along with the cfix test runner, commercially. Granted, it is rather uncommon to redistribute testing code with your proprietary software — however, as it turned out, this case exists.
For this reason, cfix 1.1 switches over to the slightly more liberal GNU Lesser General Public License. The LGPL explicitly allows proprietary binaries to link against LGPL-licensed binaries. As such, redistributing your cfix test-DLLs will not be an issue any more.



LinkedIn Profile
Xing Profile
Follow me on Twitter (new)
hallo,
congratulations, your unit testing framwork is great.
i’ve compared a lot of them but yours is the most userfriendly one.
but i have some questions about cfix:
- is it possible to break the whole test fixture with a command like CFIX_BREAK() ?
- i often use CFIX_ASSERT_EXPR(expr, msg) although it’s not in your cfix API reference, why? because it’s great to define your own error messages.
- how can i format the message in CFIX_ASSERT_EXPR() like in CFIX_LOG() ?
annother wish for the next release is the possibility to expect exceptions and to proof if the right exception type was thrown.
i’m looking forward the next release of great cfix!
greatings
Berny,
thanks, I am glad to hear that you like cfix!
Regading your questions — the reason CFIX_ASSERT_EXPR is not documented is that it is actually just a helper macro and I just did not think about that it could actually be useful by itself. But you are right, and I will document it in the next release. CFIX_ASSERT_EXPR currently does not support printf-style formatting. Of course you could write a wrapper for that, but I think it is a good idea to add that functionality to the next version as well.
I am not 100% sure what your intent with CFIX_BREAK is, so I will contact you on that one.
Thanks again for the feedback and your valuable suggestions!
–Johannes
look at online for more
I precisely had to thank you so much all over again. I do not know the things that I would have carried
out in the absence of the type of ideas shown by you on
such a situation. It had become a difficult
crisis in my circumstances, nevertheless being able to view the very skilled mode you resolved the issue
forced me to leap over contentment. I’m thankful for
the help and even pray
you find out what a powerful job that you are getting into educating the rest with
the aid of your
webblog. Probably you have never encountered any of us.
Hello. Great job. I did not expect
this. This is a excellent story. Thanks!
It’s actually a great and useful piece of info. I’m glad that you shared this helpful information with us.
Please keep
us informed like this. Thanks for sharing.
I together with my buddies happened to be reading the good information located on
the website and then all of a sudden I had a horrible feeling I
had not thanked you for
those tips. The women
are actually for this reason excited to see
them and already have really been taking advantage of them.
Thank you for turning out to be well thoughtful and
then for
deciding on this sort of really
good topics most people are really wanting to be informed on.
My very own honest regret for
not expressing gratitude to you earlier.