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

[help wanted] add unit-test for apis/opts/ports.go #1906

Closed
2 tasks
chuanchang opened this issue Jul 26, 2018 · 0 comments · Fixed by #1976
Closed
2 tasks

[help wanted] add unit-test for apis/opts/ports.go #1906

chuanchang opened this issue Jul 26, 2018 · 0 comments · Fixed by #1976

Comments

@chuanchang
Copy link
Contributor

chuanchang commented Jul 26, 2018

Ⅰ. Issue Description

Need to be covered APIs testing as follows:

  • ParseExposedPorts
  • ValidateExposedPorts

NOTE: for ValidateExposedPorts item, at present, it hasn't be implemented, it will be better if you can complete it, of course, you also need to add unit test for it.

Ⅱ. Describe what happened

Ⅲ. Describe what you expected to happen

Ⅳ. How to reproduce it (as minimally and precisely as possible)

Ⅴ. Anything else we need to know?

Ⅵ. Environment:

  • pouch version (use pouch version):
  • OS (e.g. from /etc/os-release):
  • Kernel (e.g. uname -a):
  • Install tools:
  • Others:
@qocean qocean mentioned this issue Jul 31, 2018
@xcg-code xcg-code mentioned this issue Jul 31, 2018
fuweid pushed a commit that referenced this issue Aug 1, 2018
test: add unit-test for apis/opts/ports.go

fixes #1906
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants