Thomas Marshall
Thomas Marshall
It's often not important to see satisfied stubs in test output, and in some test suites the noise can be difficult to parse. This commit introduces an `Expectation#quietly` method which...
This constant was deprecated in `multipart-post` v2.2.0 [1] but `faraday-multipart` v1.0.4 introduced a workaround to avoid the deprecated constant warning [2]. This commit switches out `UploadIO` references to use the...
This PR adds an `--rbi` flag to the CLI which accepts inline RBI input, similar to how `-e` takes inline Ruby input. The implementation is almost identical to the `-e`...
This commit uses an `UNSET` constant as the default `serialized_val` on `T::Enum`. This allows the runtime to understand the difference between an explicit `nil` and an unset default when serializing...
### Motivation Running multiple tests in the VS Code test explorer or via the "Run test" code lens link is currently quite slow. That's because it executes a separate command...
Using an argument named `objectId` currently [emits a warning](https://github.com/ruby/ruby/blob/1001ea9606fd9bbbce70deaab0e6a31c5af1a20c/vm_method.c#L1066-L1070) because it redefines the `#object_id` method. This should technically be safe to do because Ruby doesn't use that method internally, but...
This commit changes how spec names are generated to include the test class name. This makes it possible to target all the specs in a class using the `--name` flag....
### Motivation Closes #2648 and #2688. This PR improves minitest spec code lens in two ways: - Fixes the issue I introduced (sorry!) in #2522 whereby the selectors for minitest...
This commit ensures we do not share the cache between original and prism parser modes by adding it to the cache sensitive options. ### Motivation I noticed while testing that...
```ruby module Test rescue end ``` Prism parses the `ModuleNode` body as an implicit `BeginNode`: ``` @ ModuleNode ├── body: │ @ BeginNode (location: (1,2)-(3,5)) │ ├── rescue_clause: │ │...