-
-
Notifications
You must be signed in to change notification settings - Fork 8.4k
[rb] Use rbs trace #15686
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
base: trunk
Are you sure you want to change the base?
[rb] Use rbs trace #15686
Conversation
PR Reviewer Guide 🔍(Review updated until commit db643da)Here are some key observations to aid the review process:
|
PR Code Suggestions ✨Latest suggestions up to db643da
Previous suggestionsSuggestions up to commit db643da
|
Thank you, @aguspe for this code suggestion. The support packages contain example code that many users find helpful, but they do not necessarily represent We actively encourage people to add the wrapper and helper code that makes sense for them to their own frameworks. |
I guess the automation needs some tuning. |
User description
💥 What does this PR do?
This PR adds RBS trace to make it easier to create, maintain, and add RBS-related comments on execution
🔧 Implementation Notes
I implemented at the RSpec level, so by executing all the tests, all the tested code will have RBS comments added
💡 Additional Considerations
I think is important for us to decide which types of comments we want to keep
🔄 Types of changes
PR Type
Enhancement, Documentation
Description
Add RBS trace integration to test suite
Annotate Ruby source and test files with
@rbs
type signaturesAdd
rbs-trace
gem dependency to GemfileUpdate test exclusion for Chrome in action builder spec
Changes walkthrough 📝
1 files
Add rbs-trace gem dependency
35 files
Add RBS type annotation for logger method
Add RBS type annotation for path method
Add RBS type annotations for initialize and browser methods
Add RBS type annotations for command_list and commands methods
Add RBS type annotation for binary_path method
Add RBS type annotation for log method
Add RBS type annotation for send_command method
Add RBS type annotations for initialize, process_browser_options, and
camelize? methods
Add RBS type annotations for process methods
Add RBS type annotations for driver methods
Add RBS type annotation for execute_cdp method
Add RBS type annotations for driver finder methods
Add RBS type annotation for for_error method
Add RBS type annotations for local driver methods
Add RBS type annotations for logger methods
Add RBS type annotations for navigation methods
Add RBS type annotations for options methods
Add RBS type annotations for platform methods
Add RBS type annotations for port prober methods
Add RBS type annotations for selenium manager methods
Add RBS type annotations for service methods
Add RBS type annotations for service manager methods
Add RBS type annotations for socket lock methods
Add RBS type annotations for socket poller methods
Add RBS type annotations for remote bridge methods
Add RBS type annotations for capabilities methods
Add RBS type annotations for HTTP common methods
Add RBS type annotations for HTTP default methods
Add RBS type annotations for remote response methods
Add RBS type annotations for guards methods
Add RBS type annotations for guard methods
Add RBS type annotations for guard condition methods
Add RBS type annotations for helper methods
Add RBS type annotations for rack server methods
Add RBS type annotations for test environment methods
1 files
Update test exclusion to Chrome for scroll_by test
1 files
Integrate RBS trace in RSpec suite lifecycle