Saving Test Results
Trying to figure out the best way to deal with test results. I’ve come up with a couple of ways I think might work, however I don’t believe they will handle all the requirements.
My current thoughts are that I’d have a TestResult object which would take an ITest. The ITest would be used to query the test information (id, name, description, etc.) . Once the object has been initialized you can then set the pass/fail or extra information.
The problem is that, the above approach doesn’t really handle multiple ports well. Say you have two web servers on a machine running on port 80 and 8080. Both are vulnerable to [insert problem here]. In this case, you’d have to create two TestResults and there would be duplication of information between them.
After the TestResult is registered with sussen-scanner (network based) or susssen-sensor (host based) the information would be sent to a sussen-server for long term storage/reporting.
I need to think this through some more. I’m close, but that only counts in horse shoes and hand grenades.