Beefy Boxes and Bandwidth Generously Provided by pair Networks
Just another Perl shrine
 
PerlMonks  

Re: Data-driven Programming: fun with Perl, JSON, YAML, XML...

by hdb (Monsignor)
on Apr 19, 2015 at 10:22 UTC ( #1123948=note: print w/replies, xml ) Need Help??


in reply to Data-driven Programming: fun with Perl, JSON, YAML, XML...

Looking at your data structure @action_tab, it seems that you need the same properties for each test case. For such a tabular data structure, I would use an Excel sheet for maintenance and also to let others add more test cases (lines) to it. (Excel is on everybody's computer at my workplace anyway.) As there are good Perl modules to read Excel data it is rather easy to read the sheet (even if you yourself are on *nix), do some checks whether the entries look correct and then run your tests. Excel's filters and sorting also let people easily look for existing tests.

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://1123948]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others having an uproarious good time at the Monastery: (5)
As of 2022-05-24 19:27 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    Do you prefer to work remotely?



    Results (84 votes). Check out past polls.

    Notices?