-
Notifications
You must be signed in to change notification settings - Fork 45
Restructure Integration Tests #170
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
Merged
fern-support
merged 9 commits into
fern-api/square-ruby-sdk-v44
from
jsklan/restructure-tests
Aug 19, 2025
Merged
Restructure Integration Tests #170
fern-support
merged 9 commits into
fern-api/square-ruby-sdk-v44
from
jsklan/restructure-tests
Aug 19, 2025
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Barry-Zou
pushed a commit
that referenced
this pull request
Aug 21, 2025
* do not merge: Square Ruby SDK * Current gen status + initial integration tests (#159) * ignore claude * intiial test helpers file * strongly type obj creation in helpers.rb * add more test files * bulk convert tests with cursor * use typeful .new() factory methods * regenerate with ruby v2 * restore gemfile and rakefile to main * fix relative imports * square.rb file * find/replace 'module square' --> 'module Square' * replace square::Internal --> Square::Internal * replace ' Internal::' --> ' Square::Internal::' * simplify square.rb * add end statements to else blocks * fix incorrect end statements in request types * change square::internal::json::serializable from class to module * update requirements in helpers.rb * fix test helpers imports * fix missing end after else in clients * ensure request and response types extend model * more requests extend model * remove bad extensions * fix bad class end formatting * fix more bad class end formatting * fix enum files * migrate extends syntax * update type references to error enums * temp commit lib/squre.rb * change tab size to 2 * fix internal lowercase square * fix empty class end syntax * regen * fix else ends * update type mapping * revert type mapping change * manually update gemfile, rakefile, and rubocop file from demo sdk * remove generated code * regen sdk * remove square.rb file * update module file * remove ghost types * fix enum include to extend * disable tests --------- Co-authored-by: jsklan <[email protected]> * Pull in base test infra files from demo (#160) * pull in test helper infra from demo * pull in base catalog tests --------- Co-authored-by: jsklan <[email protected]> * manually fix circular references with forward declarations (#161) Co-authored-by: jsklan <[email protected]> * Updating Rakefile * 🌿 Fern Regeneration -- August 18, 2025 (#164) * update fernignore (#163) * update fernignore * remove ignores --------- Co-authored-by: jsklan <[email protected]> * SDK regeneration --------- Co-authored-by: Fern Support <[email protected]> Co-authored-by: jsklan <[email protected]> Co-authored-by: fern-api <115122769+fern-api[bot]@users.noreply.github.com> * Partially enable tests (#166) * tmp * add ci test * update rakefile * update token name options --------- Co-authored-by: jsklan <[email protected]> * SDK regeneration * SDK regeneration * re-add .rubocop.yml * SDK regeneration * Adding back rubocop.yml * Minor updates to gemspec for version and gemfile for matching dev and runtime libraries * Adding Rubocop back to Rakefile for linting * Fixing broken part of rubocop * Adding CI for linting, testing and security checks * SDK regeneration * Enable catalog integration tests (#169) * enable catalog test * modify test setup * messy status * current state * fix typo in multipart request * simplify state * progress, some nested values converting * progress, some nested values converting * log in coerce * restore request * request succeeds * remove logging from client and raw client * test passes, response parsed * update catalog client * add verbose mode handling in integration test helper --------- Co-authored-by: jsklan <[email protected]> * Adding back CI file and adding CI file to .fernignore to stop accidental deletion * Restructure Integration Tests (#170) * restructure directory * migrate structure * migrate inventory test * fix client batch_upsert url * skip all tests * update verbose request logs * simplify endpoint calls * rake test passes, 63 tests skipped * update inventory client and test --------- Co-authored-by: jsklan <[email protected]> * Manually Implement wrapped request example (#173) * interim commit * utils * tests passing * polish --------- Co-authored-by: jsklan <[email protected]> * Integration Test Polishing (#175) * cash, catalog, customers groups * cleanup --------- Co-authored-by: jsklan <[email protected]> * update endpoint call syntax (#176) Co-authored-by: jsklan <[email protected]> * SDK regeneration * fix cash drawers * SDK regeneration * SDK regeneration * SDK regeneration * SDK regeneration * feat: enabling more integration tests (#177) (#178) * README updates with a license change to match the repo in gemspec file (#172) * README updates with a license change to match the repoin gemspec file * Removing duplicate block code start --------- Co-authored-by: jsklan <[email protected]> Co-authored-by: Chris Mallinson <[email protected]> Co-authored-by: fern-api[bot] <115122769+fern-api[bot]@users.noreply.github.com>
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Also set rakefile to run all tests
Marked 63 tests as skipped