Writing Perl Tests

Revision as of 05:35, 2 August 2017 by Abartlet (talk | contribs) (add page writing perl tests)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

Writing Perl Tests

Don't write new perl tests

There are Perl tests in Samba for:

* PIDL
* smbclient_tarmode

We do not wish to add any more Perl tests outside the scope of PIDL, if writing a new test please write it in Python

Use Test::More

Samba uses Subunit, and by using tap2subunit we can convert the TAP stream from Test::More into subunit

Plan the test suite using planperltestsuite

New tests using Test::More should be planned in tests.py with planperltestsuite()