Server Help Forum Index Server Help
Community forums for Subgame, ASSS, and bots
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   StatisticsStatistics   RegisterRegister 
 ProfileProfile   Login to check your private messagesLogin to check your private messages   LoginLogin (SSL) 

Server Help | ASSS Wiki (0) | Shanky.com
<c> Small module to help testing other modules

 
Post new topic   Reply to topic Printable version
 View previous topic  <C> ASSS SQL Query Module Post :: Post Region activated LVZ popup via python ...  View next topic  
Author Message
D1st0rt
Miss Directed Wannabe


Age:36
Gender:Gender:Male
Joined: Aug 31 2003
Posts: 2247
Location: Blacksburg, VA
Offline

PostPosted: Sun May 23, 2010 1:16 pm    Post subject: <c> Small module to help testing other modules Reply to topic Reply with quote

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.
_________________

Back to top
View users profile Send private message Add User to Ignore List Visit posters website
Cheese
Wow Cheese is so helpful!


Joined: Mar 18 2007
Posts: 1017
Offline

PostPosted: Mon May 24, 2010 1:29 am    Post subject: Reply to topic Reply with quote

what does it do?
just runs functions in some sort of sandbox?
that wont stop segfaults and stuff...
_________________
SSC Distension Owner
SSCU Trench Wars Developer
Back to top
View users profile Send private message Add User to Ignore List Visit posters website AIM Address
JoWie
Server Help Squatter


Gender:Gender:Male
Joined: Feb 25 2004
Posts: 215
Offline

PostPosted: Mon May 24, 2010 12:33 pm    Post subject: Reply to topic Reply with quote

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!
Back to top
View users profile Send private message Add User to Ignore List
D1st0rt
Miss Directed Wannabe


Age:36
Gender:Gender:Male
Joined: Aug 31 2003
Posts: 2247
Location: Blacksburg, VA
Offline

PostPosted: Tue May 25, 2010 8:14 pm    Post subject: Reply to topic Reply with quote

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.
Back to top
View users profile Send private message Add User to Ignore List Visit posters website
Display posts from previous:   
Post new topic   Reply to topic    Server Help Forum Index -> ASSS Custom Projects All times are GMT - 5 Hours
Page 1 of 1

 
Jump to:  
You can post new topics in this forum
You can reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You can attach files in this forum
You can download files in this forum
View online users | View Statistics | View Ignored List


Software by php BB © php BB Group
Server Load: 646 page(s) served in previous 5 minutes.

phpBB Created this page in 0.509987 seconds : 29 queries executed (82.8%): GZIP compression disabled