Comments (6)
I'm not sure I understand what the conclusions are :)
Is it that you'd like to focus on E2E tests instead of unit testing the writeIP
method? That's totally fine by me.
I would still keep this issue around for unit testing that method, and add a description in this issue of the 4 things we discussed yesterday.
from habitat-operator.
My initial conclusions on the tests we can do right now. So we do not every time when we make changes to our codebase, need to spin up our operator manually and create each example I would suggest starting with E2E tests.
E2e tests would be located in the tests
directory and would cover scenarios such as resource deletion, checking whether we still have IP of a pod that is running, etc. At first we can run them locally against our minikube
, maybe later on have a setup for those to be run automatically.
When we decide on our projects architecture we can start on focusing more on unit tests.
@asymmetric wdyt?
from habitat-operator.
@asymmetric Added the suggestions, feel free to edit, if you can think of something else, or if I misunderstood.
from habitat-operator.
Is this issue about E2E testing or unit testing? I think that could be reflected in the title/description.
from habitat-operator.
Would you prefer if we keep this issue just for unit tests? And we create a separate one for e2e? I am fine with that.
from habitat-operator.
I'm just not sure what this issue is about, but I'm fine with you choosing that :)
from habitat-operator.
Related Issues (20)
- `make codegen` assumes dependency of `k8s.io/code-generator` HOT 5
- Wrong habitat config, could not be debugged easily HOT 1
- Generated CRD has field `version` marked for deprecation.
- Figure out if we can limit the operator's RBAC permissions HOT 2
- Add support for Kubernetes 1.11
- Move StatefulSets from v1beta1 to v1
- Remove support for Kubernetes 1.8
- Expose more StatefulSet+Pod+Container functionality through Habitat CRD HOT 3
- Sync common part of Roles and ClusterRoles
- Add a version display when operator boots up
- Update the helm charts HOT 1
- ringSecretName won't work for k8s >= 1.9.6 HOT 1
- Make new release 0.8.0
- Drop the older topology label
- Use CircleCI 2.0 for `gh-pages` branch
- Rethink CRD HOT 2
- Make operator aware of supervisor-specific runtime features HOT 2
- To enforce security by default run operator at namespace scope
- Move e2e testing to BuildKite
- Allow deploying stateless services as Deployments instead of StatefulSets HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from habitat-operator.