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

Making tests a little better #76

Merged
merged 3 commits into from
Jul 31, 2024
Merged

Making tests a little better #76

merged 3 commits into from
Jul 31, 2024

Conversation

UnstoppableMango
Copy link
Contributor

No description provided.

The test code has been refactored to improve readability and maintainability. The changes include:
- Removal of redundant file copy attempts
- Introduction of new utility functions for checking file existence in a container
- Simplification of property extraction from response objects
- Addition of new matchers in the 'expect' package to support the above changes
Significant changes include:
- Simplified the 'test_provider' target
- Modified the 'gen' target to include 'gen_examples'
- Replaced hardcoded SDKs in 'gen_sdks' with a variable reference
- Removed individual example generation targets, replacing them with a single pattern rule
- Added new '.test/provider' and '.test/sdks' targets for improved testing structure
In this update, a new makefile target for 'provisioner' has been added. The testing targets have also been restructured. Now, 'test_all' includes both 'test_provider' and 'test_sdks'. The order of some targets has been rearranged for better readability and organization.
@UnstoppableMango UnstoppableMango enabled auto-merge (squash) July 31, 2024 22:46
@UnstoppableMango UnstoppableMango merged commit de074b2 into main Jul 31, 2024
11 checks passed
@UnstoppableMango UnstoppableMango deleted the tests branch July 31, 2024 22:46
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.

1 participant