[wpkg-users] Extended hosts matches
Daniel Dehennin
daniel.dehennin at ac-caen.fr
Fri Jun 4 13:15:22 CEST 2010
Falko Trojahn <nospam_ft at smi-softmark.de> writes:
> Hello Daniel,
Hello,
> please test wpkg.js with your patch applied using "wpkg-test" from
>
> http://wpkg.svn.sourceforge.net/viewvc/wpkg/wpkg/wpkg-test/
> rf.
> |svn co http://wpkg.svn.sourceforge.net/svnroot/wpkg wpkg/wpkg-test|
>
> If the tests run well, it would be nice if you write an additional test
> set with all possible ways of using your new features to make sure your
> patch does the new things right.
>
>
> The explanations in README.txt are way too short - had no time yet to
> explain wpkg-test in the wiki. So, please, if you have questions e.g.
> about how to create the test sets feel free to drop me a mail.
With a mainline 1.1.3-RC2 the following tests failed:
- test 3: 23, 24, 25, 26, 31, 32, 33, 34, 35, 36
- test 1: 10, 12
Same results with my patched[1] wpkg.js, looks like I don't break
anything ;-).
I'll look more closely at wpkg-test, looking at reliable full tests
like:
- Does it compile ? (cscript wpkg.js --help with no error)
- Test each command line (maybe looking at debug output to see if options are
changed with command line switches)
- Extending tests set with my uses cases
wpkg-test seems to focus on working tests, I think we should add tests
that are OK if they fail (error handling).
I confess that doing this in DOS batch is quite repulsive to me[2].
Regards.
Footnotes:
[1] I tested the extended-hosts and factorise series.
[2] I like perl Test::Harness[3] ;-)
[3] http://search.cpan.org/~andya/Test-Harness-3.21/lib/Test/Harness.pm
--
Daniel Dehennin
RAIP de l'Orne
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 197 bytes
Desc: not available
URL: <http://lists.wpkg.org/pipermail/wpkg-users/attachments/20100604/6f991af7/attachment.sig>
More information about the wpkg-users
mailing list