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

test: remove private api usages in tests #221

Merged

Conversation

slsyy
Copy link
Contributor

@slsyy slsyy commented Aug 27, 2024

refactor tests, so private interfaces are not used:

  • split batches in tests
  • remove batchSplitter interface, which is not used after refactor
  • replace quoteKeyword with simple substitution. it is not needed as
    table names in tests are not problematic

I need this for a lib/tests module split

@slsyy slsyy force-pushed the remove-private-api-usages-in-tests branch 3 times, most recently from 2c64df0 to 8715753 Compare August 27, 2024 14:03
@slsyy slsyy force-pushed the remove-private-api-usages-in-tests branch from 8715753 to bed11a0 Compare August 27, 2024 14:30
refactor tests, so private interfaces are not used:
* split batches in tests
* remove batchSplitter interface, which is not used after refactor
* replace quoteKeyword with simple substitution. it is not needed as
  table names in tests are not problematic

I need this for a lib/tests module split
@slsyy slsyy force-pushed the remove-private-api-usages-in-tests branch from bed11a0 to 278f8ad Compare August 29, 2024 10:59
Copy link
Contributor

@andreynering andreynering left a comment

Choose a reason for hiding this comment

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

Awesome, thanks for working on it! 👏

@andreynering andreynering merged commit 2e229a2 into go-testfixtures:master Oct 19, 2024
2 checks passed
slsyy added a commit that referenced this pull request Oct 29, 2024
slsyy added a commit that referenced this pull request Oct 29, 2024
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