Wednesday 19 June 2013

A free test tool a day - Perlclip

Perlclip
Even since I learned about this tool from Michael Bolton, I have it ready somewhere in a tools directory or I download it again from the James Bach website (www.satisfice.com)
Great for filling up fields with data and keep track of the number of characters you put in there for example (this is the simplest form for using it)

What does it do?
With this small tool you can create strings easily to test edit boxes or testdata files.


Counterstring 255 (I use this one the most) creates for example:
*3*5*7*9*12*15*18*21*24*27*30*33*36*39*42*45*48*51*54*57*60*63*66*69*72*75*78*81*84*87*90*93*96*99*103*107*111*115*119*123*127*131*135*139*143*147*151*155*159*163*167*171*175*179*183*187*191*195*199*203*207*211*215*219*223*227*231*235*239*243*247*251*255*

The star to the right of the number is the x character in a pattern, so you can check for length of fields, memo fields, import file data length that is really imported into a database...

That kind of stuff.

The readme file with the tools has great examples for what you can do with this great little, light fantastic tool. Another example: just download it and read the readme:

'$allchars' produces a string that includes all character codes from 1 to 255 (0 not included).

!"#$%&'()*+,-./0123456789:;<=>?@ABCDEFGHIJKLMNOPQRSTUVWXYZ[\]^_`abcdefghijklmnopqrstuvwxyz{|}~€‚ƒ„…†‡ˆ‰Š‹ŒŽ‘’“”•–—˜™š›œžŸ ¡¢£¤¥¦§¨©ª«¬­®¯°±²³´µ¶·¸¹º»¼½¾¿ÀÁÂÃÄÅÆÇÈÉÊËÌÍÎÏÐÑÒÓÔÕÖ×ØÙÚÛÜÝÞßàáâãäåæçèéêëìíîïðñòóôõö÷øùúûüýþÿ

1 comment:

  1. I 100% agree with this post. You can also bisect a string up or down to help calculate error boundaries. This is a fantastic test tool that I use nearly every day. I'd pay for it if James et al were not so generous as to give it away for free.

    ReplyDelete