Comment 18 for bug 182790

Revision history for this message
Arnaud Quette (aquette) wrote : Re: [Bug 182790] Re: main inclusion report

Fellows,

Following our discussion of last friday with Nick, I've quickly
created a test-nut.py for the QA Regression Testing (master branch).

I've already explained the general idea to Nick, but for the others,
here is a quick brief:
- NUT provides a dummy driver (dummy-ups) that loads its data from an
upsc output (or create a base set of data otherwise).
- the idea for regression testing is to create a base NUT config,
using dummy-ups, and to start the 3 NUT layers (driver, upsd and
upsmon)
- then you check that the daemons (dummy-ups, upsd and upsmon) are started,
- then you try to get some data (using upsc)
- then you inject a data change in the driver layer (like changing
"ups.status" to "OB", using upsrw), and you verify the data
propagation in the client layer (the same layer as upsmon, still using
upsc)

This is very basic for now, but allows to validate the general NUT
architecture non regression.
I'll look into adding more things in the future, but it's already a
good starting point.

what delivery method would you prefer (I tried logging a bug, but it's void)...

-- Arnaud