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 910785
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 15, 20262026-05-15T17:05:48+00:00 2026-05-15T17:05:48+00:00

Please point me to any dupes or better places to post this question that

  • 0

Please point me to any dupes or better places to post this question that you may find.

I have never sold software before, but when I put myself in my customers’ shoes, I think, “I sure would like to see source code for automatic tests for any software that I buy. It would serve as awesomely detailed documentation for the software that I’m buying! In fact, I’d love to see the tests as proof-of-concept before I buy, if possible.”

From the seller’s perspective, I see no reason to hide the test code source (as long as the tests only access the binaries through “front doors” and contain no sensitive data), or even to release the tests as open source to receive help from anyone who wants to help us, as well as prove to potential customers what the software can do in detail.

So… Is it customary, or even a good idea, to let users see (some) automated test code, or even release it open-source, for a closed-source application application that you are selling?

EDIT: Thank you all for the insightful comments. I should clarify that my goal is not to say “Look at how high-quality my software is!” but instead “This is how you use the software” (using tests as documentation). This is for an API; no UI is involved. I just want to demonstrate how to use it (public interface), not the internal workings. I really hate demo apps that are very long, but show only the “happy path” through an API, so I was looking for a way to improve on that.

  • 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-15T17:05:49+00:00Added an answer on May 15, 2026 at 5:05 pm

    This idea may be good for the customer, but it’s not good for you. It’s nearly impossible for you to create a suite of automated tests that doesn’t exploit some accidental property of your implementation that isn’t documented and that you’d like to have the freedom to change later. Once you let those tests out the door, you are essentially guaranteeing that those tests will run on any future version of the software. You don’t want to lock yourself into a straitjacket like this.

    In theory, of course, you could have a set of tests that would test exactly what is exposed in the public interfaces, no more and no less. But such a test suite would be very expensive to create and maintain as the software evolves.
    And the very idea brings to mind one of the minor apocrypha:

    In theory, theory and practice are the same. In practice, they aren’t.

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

Sidebar

Related Questions

I have very basic question about Flex SDK, but I didn't find any resources
I have this really awesome idea, but cannot find out if there are any
This isn't so much a question but more so a Could someone please point
If this question has already been asked I appologies, please point me in the
Can any expert here please point me to some valid walkthrough on how to
Could you please point me to an algorithm that takes a (binary) parse tree
Could someone please point out a site where I can find an algorithm to
Can anyone please point out what im doing wrong with this Stored Procedure please.
it's assembler right? can someone please point out the progression that we've had in
What kind of data structures are these? Can someone please point out any links

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.