6 reputation
2
bio website
location
age
visits member for 1 year, 10 months
seen Sep 12 '12 at 9:51

Aug
24
revised What is the best practice for testing against modules which collect statistic
added 34 characters in body
Aug
23
comment What is the best practice for testing against modules which collect statistic
@user246, disk usage example: our module should monitor free space and total space on all filesystems used by our application on local machine. So we need to check that system use these data correctly, for example redirect write operations to disk with most free space. It is done on a system with known disk space where I know what results to expect, but to verify that it will work in the wild I'd like to test it in environment where disk space can be used by other services and users and to do that we need testing module to monitor it as well, thus doing the same work as module under test.
Aug
23
comment What is the best practice for testing against modules which collect statistic
@user246, well, the question was meant to be general :-) to cover basic principles of testing such modules.
Aug
23
awarded  Student
Aug
22
comment What is the best practice for testing against modules which collect statistic
Well, in our case it's a mix of both objectives. For example we need to know free disk space on every fs which mounted in specific folder for balancing disk load. So we need to check that this system call is used correctly and returns all relevant data; and then to check that results are correctly processed and transferred to our monitoring database.
Aug
22
comment What is the best practice for testing against modules which collect statistic
@user246, yes, I meant case(1). Edited question to express it more clearly.
Aug
22
awarded  Editor
Aug
22
revised What is the best practice for testing against modules which collect statistic
added 1 characters in body; edited tags
Aug
21
asked What is the best practice for testing against modules which collect statistic