nix-community / nixops-digitalocean

NixOps Digitalocean plugin [maintainer=@Kiwi]
GNU Lesser General Public License v3.0
19 stars 10 forks source link

Investigate tests #5

Open ixxie opened 4 years ago

ixxie commented 4 years ago

Tests are likely not up to date; we need to remove or fix deprecated tests, and evaluate if new ones should be written.

ydlr commented 3 years ago

I forgot to tag this issue on #8.

I didn't find any tests for DigitalOcean in NixOps 1.7. Looking through the current master branch on NixOps, I can't tell if the tests for the officially supported backends are going to reside with the plugins or with NixOps core.

I think it makes most sense for plugins to contain their own tests, even if there is some duplication between the backends -- especially for non-officially supported plugins.

I rely quite a bit on NixOps and DigitalOcean, so would like to help with this project any way that I can. Adding some basic tests seemed like a good place to start.