syself / cluster-api-provider-hetzner

Cluster API Provider Hetzner :rocket: The best way to manage Kubernetes clusters on Hetzner, fully declarative, Kubernetes-native and with self-healing capabilities
https://caph.syself.com
Apache License 2.0
589 stars 57 forks source link

Test whether conditions are set #943

Closed janiskemper closed 1 week ago

janiskemper commented 11 months ago

Tasks:

janiskemper commented 10 months ago

I believe that we have not thought about which other conditions we might not have tested. I re-open until that list is done!

aniruddha2000 commented 10 months ago
janiskemper commented 9 months ago

@aniruddha2000 would you say that we have implemented all important ones now?

aniruddha2000 commented 9 months ago

https://github.com/syself/cluster-api-provider-hetzner/pull/1010 is in progress and i was fixing the mocks IIRC

batistein commented 9 months ago

@aniruddha2000 what is the status here?

janiskemper commented 9 months ago

@aniruddha2000 ?

aniruddha2000 commented 9 months ago

@janiskemper @batistein Ahh sorry I missed that, I need some time to focus on #1010 as that PR is quite big and I have to recap what I did as well

guettli commented 1 week ago

@janiskemper I am unsure if it makes sense to keep this issue open. There are many parts which are not covered by envTests yet. Maybe the first step would be to generate a coverage report, so that we know which percentage is covered by tests. Janis, what do you think: Should we keep this issue open?

janiskemper commented 1 week ago

we can still find it even if it is closed. I am not sure if we implemented all these tests mentioned here.