Skip to content

Tests - Environment Targets#69

Open
AdrianRomanski wants to merge 28 commits intopush-based:mainfrom
AdrianRomanski:tests-environment-targets
Open

Tests - Environment Targets#69
AdrianRomanski wants to merge 28 commits intopush-based:mainfrom
AdrianRomanski:tests-environment-targets

Conversation

@AdrianRomanski
Copy link
Member

No description provided.

@AdrianRomanski AdrianRomanski marked this pull request as ready for review January 8, 2025 07:46
@AdrianRomanski
Copy link
Member Author

I have paid attention to everything mentioned in the cache PR:

Avoid unnecessary describe block nesting.
Use spies and mocks consistently.
Improve test naming for better clarity.
Make mocks as minimal as possible and keep them in the same file.
Perform a self-review.
As an extra, I’ve also written some missing documentation this time. :)

Copy link
Contributor

@BioPhoton BioPhoton left a comment

Choose a reason for hiding this comment

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

Thanks a lot for your PR and increasing test code coverage. I left some comments to improve the naming and structure.

@AdrianRomanski
Copy link
Member Author

AdrianRomanski commented Jan 18, 2025

Things done after review

  1. Inline every const that were used once
  2. Group tests by happy/unhappy path
  3. Better test phrasing (mostly generating part)
  4. Self review (catch one grouping that was left)

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