spec
spec copied to clipboard
The Ruby Spec Suite aka ruby/spec
While attempting to write a spec for jruby/jruby#7267 I ran into various issues and questions... 1. There are no specs testing that GC eventually finalizes objects. This is obviously difficult...
ruby/spec already contains some specs for 3.1, but we should aim to cover all new features and important changes. This will improve the test coverage of these features (and maybe...
Ref. #823 > Magic comment shareable_constant_value added to freeze constants. > See {Magic Comments}[rdoc-ref:doc/syntax/comments.rdoc@Magic+Comments] for more details. > [Feature #17273]
These tests cover more corner cases of various IO methods and fix several invalid tests. They have been tested against all stable versions of MRI since version 2.7.0. A single...
The TCPSocket#initialize specs will hang if the client socket does not connect to the server, since the shutdown for the server expects that it will have handled a request and...
ruby/spec already contains some specs for 3.0, but we should aim to cover all new features and important changes. This will improve the test coverage of these features (and maybe...
I'm implementing `Class#{subclasses,descendants}` in Opal. While in MRI GC may run quite consistently for this test to always pass, in Opal we have to rely on JS behavior - and...
Running the specs on JRuby on Github Actions, we see the following message and failing spec: ``` ... logname: no login name ... 1) Etc.getlogin returns the name associated with...
As the names show, `Mutex`, `Queue`, `SizedQueue` and `ConditionVariable` are defined under the `Thread` namespace, and the top level constants are aliases. Not to cause confusion, bundled files should use...