I am writing a combinatorial test library that I plan to release into the public domain.
I would like my library to be free of charge for any open source project that wishes to include it. I am happy for closed-source commercial projects to use my code but would like them to pay a small consideration for the privilege.
So my plan is to dual license – one open-source license available to all and a second commercial license provided to paying customers.
My question concerns the open source license. Normally I would use GPL but it has no bite here since closed-source projects would only use my code in-house for testing and not link their released products to it. Testing can be done behind closed doors and test harnesses containing my library would not be distributed – so closed source code can be tested without violating test library’s GPL.
I think I need a license that requires any software tested with my code to be propagated under the same open source license. Does something like this already exist or do I have to roll my own GPL variant?
Creative Commons NonCommercial-ShareAlike should cover it:
http://creativecommons.org/licenses/by-nc-sa/3.0/
Noncommercial — You may not use this work for commercial purposes.
Share Alike — If you alter, transform, or build upon this work, you may distribute the resulting work only under the same or similar license to this one.