[svn.haxx.se] · SVN Dev · SVN Users · SVN Org · TSVN Dev · TSVN Users · Subclipse Dev · Subclipse Users · this month's index

"getopt" tests shouldn't look for exact help text

From: Julian Foad <julianfoad_at_btopenworld.com>
Date: 2006-06-30 01:37:40 CEST

The "getopt" tests should be testing that command-line options are basically
recognised, so e.g. a sensible test would be that "svn --help" produces output
containing the words "usage" and "add" and "blame" and "cat". What they
currently do is check that the output matches exactly what is recorded in a
template file, except for a few specific transformations. We have no
requirement or intention that the help text remain exactly the same from one
version to the next, so we shouldn't be testing for that.

If anyone fancies doing something about it, be my guest.

- Julian

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Fri Jun 30 01:37:43 2006

This is an archived mail posted to the Subversion Dev mailing list.