Skip to content

Tests for the MinIO Utils library - #59

Merged
douglowe merged 6 commits into
developfrom
minio_tests
Jul 17, 2025
Merged

Tests for the MinIO Utils library#59
douglowe merged 6 commits into
developfrom
minio_tests

Conversation

@douglowe

Copy link
Copy Markdown
Collaborator

I've asked ChatGPT to write some tests describing the current MinIO Utils library. These cover all the functions inside the app.utils.minio_utils library.

Should I keep all the tests in a single file per library file - or should split them into seperate test files for each function we have?

@douglowe douglowe self-assigned this Jul 17, 2025
@OliverWoolland

Copy link
Copy Markdown

Haha that's funny I have I think the exact opposite approach to chatGPT!

Should I keep all the tests in a single file per library file - or should split them into seperate test files for each function we have?

I would ask it this

But not this

I've asked ChatGPT to write some tests describing the current MinIO Utils library. These cover all the functions inside the app.utils.minio_utils library.


I have no serious opinion about how they are broken up I am afraid!

@OliverWoolland

OliverWoolland commented Jul 17, 2025

Copy link
Copy Markdown

but I do find writing tests kinda boring

but but very worthwhile

@douglowe

Copy link
Copy Markdown
Collaborator Author

Testing does work - it reminded me I needed to include the code changes for the API that @alexhambley suggested for removing the partial JSON validation.

@OliverWoolland OliverWoolland left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good to me!

@douglowe
douglowe merged commit c700fb3 into develop Jul 17, 2025
2 checks passed
@douglowe
douglowe deleted the minio_tests branch July 17, 2025 14:14
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.

2 participants