landro / TesTcl

when you don't have the balls to test your F5 BIG-IP iRules directly in production
https://testcl.com
BSD 3-Clause "New" or "Revised" License
98 stars 30 forks source link

datagroup functionality support (with class command) #31

Open samstep opened 10 years ago

samstep commented 10 years ago

I would to request the data group functionality in TestTcl, which I belive shold cover the following:

  1. ability to declare the datagroup and its contents in "it" or "before" in the test file
  2. support for "class" commands in iRules e.g:

class match [] class search [] class lookup class element [] class type class exists class size class names [-nocase] [] class get [-nocase] [] class startsearch class nextelement [] class anymore class donesearch

landro commented 10 years ago

This should be relatively easy to implement. It could be implemented in a way similar to the TesTcl event command for expectations.

landro commented 8 years ago

Partially closed by SHA: 5330698378a2d1ddff0d2b00876a0321a61b00c1 thanks to @jamespic

type -
names -
get -
startsearch -
nextelement - 
anymore -
donesearch

still missing