amagnasco / xwpe

Upload of an abandoned ncurses-based programming environment
http://www.identicalsoftware.com/xwpe/
GNU General Public License v2.0
31 stars 7 forks source link

Testing #49

Closed gbonnema closed 7 years ago

gbonnema commented 7 years ago

Hi Alessandro,

I know you are swamped, so only when you have time.

I want to write a test program to confirm what a function exactly does. The framework I found in my distribution is check, which should help. Still, I hope you have some experience and can advise me which framework to use and how to fit it into the autoconf flow. Finally of course there is Travis, which should be able to use the test programs, if we write them in a way that the testrunner can check the output.

It seems check can do this. To summarize my questions:

  1. Should we have a separate test directory?
  2. Should we keep using the old autoconf (It seems to be pre-2.13)?
  3. Should we integrate this in the makefiles or keep it separate?
  4. Should we integrate this into Travis if that is at all possible?
  5. What are your ideas w.r.t. the testing framework?

Kind regards, Guus.

gbonnema commented 7 years ago

In the autotools modification (merge of cleanup branch) I added a test directory using the new autotools configuration. I am closing this issue.