Server Help

ASSS Custom Projects - <c> Small module to help testing other modules

D1st0rt - Sun May 23, 2010 1:16 pm
Post subject: <c> Small module to help testing other modules
Located here. I often find it to be a pain to test out modules in certain conditions so I put this together to make it a bit easier. It's kind of like unit testing but doesn't adhere to the whole xUnit movement in the strictest sense.

Right now it's just set up to let you run them with commands, in the future I may set up some kind of automation.
Cheese - Mon May 24, 2010 1:29 am
Post subject:
what does it do?
just runs functions in some sort of sandbox?
that wont stop segfaults and stuff...
JoWie - Mon May 24, 2010 12:33 pm
Post subject:
Cheese wrote:
that wont stop segfaults and stuff...


That is not the purpose, it is a tool to help in automated unit testing.
In unit testing you take a "unit" (module, class, whatever), feed it a whole lot of inputs and check if the output is correct.

If you want to "stop" segfaults you could set it up so sigsegv is simply ignored. in GDB you can do "handle SIGSEGV nostop print ignore". Have fun!
D1st0rt - Tue May 25, 2010 8:14 pm
Post subject:
It lets you come up with like "scenarios" for things you either want to test repeatedly or that would be difficult to set up otherwise. It does not fix your code, it just helps you find errors.
All times are -5 GMT
View topic
Powered by phpBB 2.0 .0.11 © 2001 phpBB Group