Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 255141
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 11, 20262026-05-11T21:54:20+00:00 2026-05-11T21:54:20+00:00

I have licensed my software under LGPL. I am too lazy to include the

  • 0

I have licensed my software under LGPL. I am too lazy to include the licensing headers in all files, so I skipped the unit tests files. Is that a problem?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-11T21:54:21+00:00Added an answer on May 11, 2026 at 9:54 pm

    To directly answer the question (whether it’s a problem to skimp on license headers in unit test files out of laziness), my gut answer is probably not. Open-source purists and legal experts would probably say that you need to include the license in every source file. I think that’s good practice, but failing to do so is not the end of the world, especially if your code comes with a LICENSE.txt file. Even more so for unit test code, which is probably not at all applicable outside the context of your project.

    I’m obviously not a lawyer, but if someone were to use your source code in a way not conducive with your license, (LGPL in this case) I have trouble imagining that arguing that the license wasn’t included in a particular source file would hold too much water. I would expect someone that wants to use the code to find out what the license is beforehand, and if someone were to steal your code and call it their own, it’s not okay just because there wasn’t a license header in the file. In my opinion, theft is theft, whether or not there’s a sign that says “You’re not allowed to steal this.” 🙂 Unfortunately, that’s unlikely to be sufficient in the complex world in which we live… (sigh)

    Perhaps the best answer is “better safe than sorry”, but go with your instinct and the guidance of experienced developers you trust. I guess that’s why you asked on SO. 😉

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

i have this code. <p>jQuery is free, open source software, dual-licensed under the <span>MIT
I have a developer license and I've generated .mobileprovision and .cer files. I've put
I have installed on my computer C++Test only with UnitTest license (only Unit Test
OK I have read many posts regarding Dual Licensing using MIT and GPL licenses.
In my open source project which is licensed under LGPLv3 I need a small
I have the standard server.xml from tomcat's conf dir: <?xml version='1.0' encoding='utf-8'?> <!-- Licensed
Every software I have seen, contain copyright statement at the beginning of a file
I have a program (Minitab 16) that is licensed, registered, and activated on a
We are currently using Subversion for our version control software, and we have a
I am trying to add software licensing to my software, which I am planning

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.