teodesian / TestRail-Perl

Perl interface to TestRail's REST API
5 stars 8 forks source link

Test description/steps autodiscovery #10

Open teodesian opened 9 years ago

teodesian commented 9 years ago

use POD in tests to fill in the DESCRIPTION, STEPS, etc.

Call the utility

testrail-podsync [somefile.t]

teodesian commented 9 years ago

Hmm, actually I'm thinking that maybe making a Test::Class::TestRail makes more sense.

Basically just wrap all its bits to peek_sub into the fixtures/subtests and grab descriptions from variables? Might still make more sense to do it all in POD, but use Pod::Coverage style stuff in combination with Test::Class to enforce sanity.