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

add: write table driven test cases #3

Merged
merged 1 commit into from
Dec 16, 2024
Merged

add: write table driven test cases #3

merged 1 commit into from
Dec 16, 2024

Conversation

Nicolas-ggd
Copy link
Owner

What kind of change does this PR introduce?

In this updated version, i try to write table test driven function. Why this method? because it's very simple and easy to understand. This updated version includes:

  • Test cases
  • Functional updates:

  • RemoveUploadedFile function is updated to accept two string parameter instead of *RFileRequest reference, because i think it's unnecessary and hard to understand why function take reference of struct. Also uniqueName function is updated to take string parameter instead of *RFileRequest reference.

@Nicolas-ggd Nicolas-ggd added type:documentation Improvements or additions to documentation type:enhancement New feature or request labels Dec 16, 2024
@Nicolas-ggd Nicolas-ggd merged commit 6463e12 into master Dec 16, 2024
3 checks passed
@Nicolas-ggd Nicolas-ggd deleted the test-cases branch December 16, 2024 21:40
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
type:documentation Improvements or additions to documentation type:enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant