certtools / intelmq-vagrant

Test installation of intelmq packages using Vagrant & Ansible
2 stars 3 forks source link

Run tests on Docker #22

Open ghost opened 3 years ago

ghost commented 3 years ago

that sounds like an interesting problem. given that most of the vagrant tests use intelmqctl and the intelmq+docker documentation says:

Currently you can’t manage your botnet via intelmqctl documentation. You need to use IntelMQ-Manager currently

this would mean we have to create more api based tests and trust them or we start creating tests that simulate user interaction with the webinterface

ghost commented 3 years ago

yeah, that can be can issue, however you can still run intelmqctl, just prefixed with docker-exec ... :D

But even leaving them out and just testing the API is better than the current situation (nothing)

ghost commented 3 years ago

I'm not saying that it wouldn't be immensely helpful ;)

... just testing the API ...

this is at the moment done accessing localhost, so we basically have the same problem as with intelmqctl, that the ansible task has to be run from the docker image itself...

ghost commented 3 years ago

maybe @waldbauer-certat has an idea how to tackle that problem