-
Notifications
You must be signed in to change notification settings - Fork 748
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Refactor gateways #148
Refactor gateways #148
Conversation
* Refactoring gateway * Updated state handling of event sources * updating gateways * refactor resource gateway * updating gateways * updating gateways * updating gateways * updating gateways * updating gateways * refactoring sensor * refactoring controllers * refactoring controllers * Updating hack * Updating documentation * updated examples * Adding recover in gateways * Gateway is now deployed as a pod instead of deployment * refactoring state machine of sensor and gateway * Updating sensor and gateway state machine * Updating sensor and gateway state machine * Updating examples * Add custom GitHub gateway Issue #95
…events into refactor-gateways
Added back the tests |
assert.Equal(t, 2, second.Hour()) | ||
assert.Equal(t, 10, second.Minute()) | ||
assert.Equal(t, 30, second.Second()) | ||
convey.Convey("Given an exclusion date", t, func() { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I've never heard of convey testing framework? any reason we're using it?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
It allows writing behavior driven tests. Plus it has a nice UI where you can see your "test stories", which part of your is covered by tests, coverage increment/decrement since last run, past test runs statistics etc. http://goconvey.co/
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
that's pretty neat. are there others using this? how does it compare to Ginko?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Both are behavior driven testing framework. I tried both Ginko and Convey and both are kind of on the same level in terms of ease of use , but Convey has a nice UI and it is more popular than Ginko
* Refactoring gateway * Updated state handling of event sources * updating gateways * refactor resource gateway * updating gateways * updating gateways * updating gateways * updating gateways * updating gateways * refactoring sensor * refactoring controllers * refactoring controllers * Updating hack * Updating documentation * updated examples * Adding recover in gateways * Gateway is now deployed as a pod instead of deployment * refactoring state machine of sensor and gateway * Updating sensor and gateway state machine * Updating sensor and gateway state machine * Updating examples * Updating resource gateway * Updating gateway validation * reverting examples * Add custom GitHub gateway (argoproj#150) * Refactoring gateway * Updated state handling of event sources * updating gateways * refactor resource gateway * updating gateways * updating gateways * updating gateways * updating gateways * updating gateways * refactoring sensor * refactoring controllers * refactoring controllers * Updating hack * Updating documentation * updated examples * Adding recover in gateways * Gateway is now deployed as a pod instead of deployment * refactoring state machine of sensor and gateway * Updating sensor and gateway state machine * Updating sensor and gateway state machine * Updating examples * Add custom GitHub gateway Issue argoproj#95 * minor docs fix * minor docs fix * minor docs fix * Adding tests back * Adding tests back * Adding tests back * Adding tests back * Adding tests back
#147