Comments (5)
About Hacktoberfest: any PR with specs covering one of those points would greatly help Ruby implementations and help to specify Ruby's 2.3 behavior!
There are plenty of existing specs to take inspiration from.
Find me on #rubyspec
on Freenode or just create an issue or PR to discuss.
from spec.
I would like to thank @headius, @mjago, @sgarciac and @iliabylich for the big help on these specs! 🎉
We would not make it without you!
from spec.
@eregon Working on adding specs for "squiggly heredoc" from opal/opal#1397. I guess all specs must be wrapped with eval
, right? Is it possible to exclude the whole file from the test suite by specifying required ruby version? I just feel that wrapping all those heredocs with eval
may look scary.
Or can we extract all examples to a separate file and required it in a context of ruby_version_is "2.3"
?
In #318 require
happens directly in the test. Does moving to an outer context break anything?
from spec.
@iliabylich Thanks!
Fixtures files is the best for this.
Or can we extract all examples to a separate file and required it in a context of ruby_version_is "2.3"?
Yes, it's OK to require within the version guard, I moved it since it was used in a single spec.
from spec.
All new features of 2.3 are now finally properly specified in ruby/spec!
We need a better way to deal with this, it's too time consuming.
Ideally, people implementing the features would also contribute a spec.
MRI tests are often not optimal due to testing many different aspects together, making it very likely to fail for reasons unrelated to the new feature on alternative Ruby implementations.
from spec.
Related Issues (20)
- Write specs for new Ruby 3.2 features and changes HOT 7
- Wrongly referring ruby version instead of gem versions HOT 6
- Checks for exact values in core/random/bytes HOT 1
- Ubuntu jammy s390x: Test failures HOT 3
- IPSocket.getaddress with unknown host returnng IP address HOT 16
- Enumerable#chunk spec incorrect HOT 2
- Consider removing the dependency on webrick for specs
- logname may not produce a login name HOT 4
- core/class/descendants_spec relying on a particular GC behavior HOT 1
- Please revert #dbff2dc 'Add Class#descendants' HOT 5
- Write specs for new Ruby 3.1 features and changes HOT 9
- TCPSocket specs hang if client doesn't connect HOT 4
- Zlib.crc32 calculates CRC checksum for string and initial CRC value FAILED HOT 9
- Better testing for finalization HOT 2
- Failures with tzdata-2022b HOT 5
- Link to repository that no longer exists in README.md
- [Notice, please feel free to close it] Natalie HOT 1
- Safe navigation for square brackets HOT 2
- Cleanup proc_spec.rb and block_spec.rb HOT 1
- Extend the tests in regexp/inspect_spec with over escaping combined with character classes HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from spec.