Open source license for test code

I'm creating a project to house an iPhone library for common code for the iPhone... essentially it's a library that'll save people from finding solutions to common problems that amount to copying and pasting snippets of code. The site is located here:

I licensed it under Eclipse, because fosters the extension of the library without requiring constraints like LGPL on object files being provided/made available, which would be the case since everything is statically linked.

What I'm wondering is how/what license to apply to the unit tests? Since they essentially demonstrate how to use various interfaces and components. Thus they're designed for potential copy and paste situations, and I don't want people who might end up using this as part of the building blocks of their environment to feel like the license would prohibit that "derivative work", ie. their application or game.


In that scenario, you might want to consider the MIT license.

The WTFPL, if you can get it past your lawyers.

Need Your Help

Adding a method for existing type in Golang: how to rewrite return value's type


I want to extend existing goquery.Selection type with my own method and be able to use it from package's selectors. I know that I cannot "patch" existing method -- I need to create a new one. But h...

Predis + Elasticache automated failover config

php redis predis

I am running Predis against an Elasticache cluster on AWS which has a write master and two read