Skip to content
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

Adding unit tests to workflowHandler_test.go #5500

Merged
merged 5 commits into from
Dec 20, 2023

Conversation

sankari165
Copy link
Contributor

What changed?
addition of unit tests

Why?
ListDomains and Health methods did not have unit tests

How did you test it?
unit tests passed

Potential risks

Release notes

Documentation Changes

@Shaddoll
Copy link
Contributor

We're switching from suite tests to table tests.

@dkrotx
Copy link
Contributor

dkrotx commented Dec 20, 2023

We're switching from suite tests to table tests.

Hi @Shaddoll !
I'm for the coherent experience. If the tests are already written using suite, let's continue making them for the sake of improving coverage %.
We will have a migration effort anyway. I also wish we could have it before improving the code-coverage.

@sankari165 at the same time, when a new test-file is introduced, let's make it a standard format (using testing.T).

@sankari165
Copy link
Contributor Author

agreed. I did consider other options and decided to stick to suite tests only because I was adding tests to the existing file

@sankari165 sankari165 enabled auto-merge (squash) December 20, 2023 12:52
@sankari165 sankari165 merged commit ec9b22e into uber:master Dec 20, 2023
16 checks passed
@sankari165 sankari165 deleted the CDNC-6438 branch December 21, 2023 08:25
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants