<feed xmlns='http://www.w3.org/2005/Atom'>
<title>ruby.git/test/irb/helper.rb, branch v3_4_9</title>
<subtitle>The Ruby Programming Language</subtitle>
<link rel='alternate' type='text/html' href='https://git.ruby-lang.org/ruby.git/'/>
<entry>
<title>[ruby/irb] Clear ENV["XDG_CONFIG_HOME"] to avoid loading</title>
<updated>2024-07-18T10:56:19+00:00</updated>
<author>
<name>tomoya ishida</name>
<email>tomoyapenguin@gmail.com</email>
</author>
<published>2024-07-18T10:56:14+00:00</published>
<link rel='alternate' type='text/html' href='https://git.ruby-lang.org/ruby.git/commit/?id=c304bf13b55a30b9982f9c9e6187f5b56fc731b0'/>
<id>c304bf13b55a30b9982f9c9e6187f5b56fc731b0</id>
<content type='text'>
user-defined irbrc in TestIRB::ConfigValidationTest
(https://github.com/ruby/irb/pull/982)

https://github.com/ruby/irb/commit/632da0ff29
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
user-defined irbrc in TestIRB::ConfigValidationTest
(https://github.com/ruby/irb/pull/982)

https://github.com/ruby/irb/commit/632da0ff29
</pre>
</div>
</content>
</entry>
<entry>
<title>Sync IRB 241e061</title>
<updated>2024-05-02T18:33:30+00:00</updated>
<author>
<name>Stan Lo</name>
<email>stan.lo@shopify.com</email>
</author>
<published>2024-05-02T17:47:35+00:00</published>
<link rel='alternate' type='text/html' href='https://git.ruby-lang.org/ruby.git/commit/?id=945a99e81a2b4910a106e932c620abac75717cb1'/>
<id>945a99e81a2b4910a106e932c620abac75717cb1</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>[ruby/irb] Support `IRB.conf[:BACKTRACE_FILTER]`</title>
<updated>2024-05-01T14:23:09+00:00</updated>
<author>
<name>Stan Lo</name>
<email>stan001212@gmail.com</email>
</author>
<published>2024-05-01T14:23:05+00:00</published>
<link rel='alternate' type='text/html' href='https://git.ruby-lang.org/ruby.git/commit/?id=1000c27db861a4c405dcea12be391df031a14fdc'/>
<id>1000c27db861a4c405dcea12be391df031a14fdc</id>
<content type='text'>
(https://github.com/ruby/irb/pull/917)

* Use 'irbtest-' instead if 'irb-' as prefix of test files.

Otherwise IRB would mis-recognize exceptions raised in test files as
exceptions raised in IRB itself.

* Support `IRB.conf[:BACKTRACE_FILTER]``

This config allows users to customize the backtrace of exceptions raised
and displayed in IRB sessions. This is useful for filtering out library
frames from the backtrace.

IRB expects the given value to response to `call` method and return
the filtered backtrace.

https://github.com/ruby/irb/commit/6f6e87d769
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
(https://github.com/ruby/irb/pull/917)

* Use 'irbtest-' instead if 'irb-' as prefix of test files.

Otherwise IRB would mis-recognize exceptions raised in test files as
exceptions raised in IRB itself.

* Support `IRB.conf[:BACKTRACE_FILTER]``

This config allows users to customize the backtrace of exceptions raised
and displayed in IRB sessions. This is useful for filtering out library
frames from the backtrace.

IRB expects the given value to response to `call` method and return
the filtered backtrace.

https://github.com/ruby/irb/commit/6f6e87d769
</pre>
</div>
</content>
</entry>
<entry>
<title>Load rubygems explicitly for tests of test/irb</title>
<updated>2024-02-19T02:34:32+00:00</updated>
<author>
<name>Hiroshi SHIBATA</name>
<email>hsbt@ruby-lang.org</email>
</author>
<published>2024-02-19T02:34:28+00:00</published>
<link rel='alternate' type='text/html' href='https://git.ruby-lang.org/ruby.git/commit/?id=1dca87cf537f385c6f1a5050a0070598c1c0dc2a'/>
<id>1dca87cf537f385c6f1a5050a0070598c1c0dc2a</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>[ruby/irb] Update error message assertions for Ruby 3.4</title>
<updated>2024-02-19T01:48:38+00:00</updated>
<author>
<name>Stan Lo</name>
<email>stan001212@gmail.com</email>
</author>
<published>2024-02-15T17:09:11+00:00</published>
<link rel='alternate' type='text/html' href='https://git.ruby-lang.org/ruby.git/commit/?id=9ec9910081b5d91becf9d9d8df7ea65c2ccc3a71'/>
<id>9ec9910081b5d91becf9d9d8df7ea65c2ccc3a71</id>
<content type='text'>
(https://github.com/ruby/irb/pull/874)

https://github.com/ruby/ruby/pull/9605 changes both quotes and format for
exception messages. So we need to update the assertions in the tests.

https://github.com/ruby/irb/commit/9359d4b51d
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
(https://github.com/ruby/irb/pull/874)

https://github.com/ruby/ruby/pull/9605 changes both quotes and format for
exception messages. So we need to update the assertions in the tests.

https://github.com/ruby/irb/commit/9359d4b51d
</pre>
</div>
</content>
</entry>
<entry>
<title>[ruby/irb] Page evaluation result's output</title>
<updated>2023-11-30T15:22:22+00:00</updated>
<author>
<name>Stan Lo</name>
<email>stan001212@gmail.com</email>
</author>
<published>2023-11-30T15:22:17+00:00</published>
<link rel='alternate' type='text/html' href='https://git.ruby-lang.org/ruby.git/commit/?id=f193f96d31ffcd02d91f135ba765d92c23b52c55'/>
<id>f193f96d31ffcd02d91f135ba765d92c23b52c55</id>
<content type='text'>
(https://github.com/ruby/irb/pull/784)

* Page evaluation result's output

This will make it easier to work with long output that exceeds the terminal's height.

* Use consistent TERM in rendering tests

This makes sure we get consistent result on all platforms.

https://github.com/ruby/irb/commit/4fedce93d3
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
(https://github.com/ruby/irb/pull/784)

* Page evaluation result's output

This will make it easier to work with long output that exceeds the terminal's height.

* Use consistent TERM in rendering tests

This makes sure we get consistent result on all platforms.

https://github.com/ruby/irb/commit/4fedce93d3
</pre>
</div>
</content>
</entry>
<entry>
<title>[ruby/irb] Test should not depend on user's irbrc file specified by</title>
<updated>2023-09-17T21:25:49+00:00</updated>
<author>
<name>tomoya ishida</name>
<email>tomoyapenguin@gmail.com</email>
</author>
<published>2023-09-17T21:25:46+00:00</published>
<link rel='alternate' type='text/html' href='https://git.ruby-lang.org/ruby.git/commit/?id=8b4e54f9792769efd69028d19eb631cdf5fc60d9'/>
<id>8b4e54f9792769efd69028d19eb631cdf5fc60d9</id>
<content type='text'>
ENV['IRBRC']
(https://github.com/ruby/irb/pull/717)

https://github.com/ruby/irb/commit/1d2d35dd33
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
ENV['IRBRC']
(https://github.com/ruby/irb/pull/717)

https://github.com/ruby/irb/commit/1d2d35dd33
</pre>
</div>
</content>
</entry>
<entry>
<title>[ruby/irb] Test should not depend on user's irbrc file</title>
<updated>2023-09-16T22:27:04+00:00</updated>
<author>
<name>tomoya ishida</name>
<email>tomoyapenguin@gmail.com</email>
</author>
<published>2023-09-16T22:27:00+00:00</published>
<link rel='alternate' type='text/html' href='https://git.ruby-lang.org/ruby.git/commit/?id=cd67c0d2040f1ade0fe8b1533816281553bfe6e6'/>
<id>cd67c0d2040f1ade0fe8b1533816281553bfe6e6</id>
<content type='text'>
(https://github.com/ruby/irb/pull/714)

https://github.com/ruby/irb/commit/02703c46f9
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
(https://github.com/ruby/irb/pull/714)

https://github.com/ruby/irb/commit/02703c46f9
</pre>
</div>
</content>
</entry>
<entry>
<title>[ruby/irb] Avoid overriding user's `irb_name` setting in debugger</title>
<updated>2023-08-21T18:23:32+00:00</updated>
<author>
<name>Stan Lo</name>
<email>stan001212@gmail.com</email>
</author>
<published>2023-08-21T18:23:27+00:00</published>
<link rel='alternate' type='text/html' href='https://git.ruby-lang.org/ruby.git/commit/?id=ca6db02c2a305bc990c144439996abfe984a6c5a'/>
<id>ca6db02c2a305bc990c144439996abfe984a6c5a</id>
<content type='text'>
integration
(https://github.com/ruby/irb/pull/688)

* Avoid overriding user's irb_name setting in debugger integration

Instead of always setting `irb_name` to `irb:rdbg`, it should respect
the user's setting and only append `:rdbg` to it.

* Introduce write_rc test helper

https://github.com/ruby/irb/commit/2ce7593351
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
integration
(https://github.com/ruby/irb/pull/688)

* Avoid overriding user's irb_name setting in debugger integration

Instead of always setting `irb_name` to `irb:rdbg`, it should respect
the user's setting and only append `:rdbg` to it.

* Introduce write_rc test helper

https://github.com/ruby/irb/commit/2ce7593351
</pre>
</div>
</content>
</entry>
<entry>
<title>[ruby/irb] Skip integration tests in core CI</title>
<updated>2023-08-11T18:27:17+00:00</updated>
<author>
<name>Stan Lo</name>
<email>stan001212@gmail.com</email>
</author>
<published>2023-08-11T18:27:12+00:00</published>
<link rel='alternate' type='text/html' href='https://git.ruby-lang.org/ruby.git/commit/?id=c173c637ab7e971a5b6c56deabe9e1a7c95667fb'/>
<id>c173c637ab7e971a5b6c56deabe9e1a7c95667fb</id>
<content type='text'>
(https://github.com/ruby/irb/pull/677)

We already skipped history integration tests in core CI in #675 due to
suspicion on nested IRB sessions don't work on certain operating systems.

But after #669, the evaluation integration test also started to fail on
some Core CI suites. So, it looks like the integration test setup may not
work in Core CI, at least in some suites.

Consider `ruby/irb` already has rather sophisticated test suite, I think
it's better to skip the integration tests in core CI for now.

https://github.com/ruby/irb/commit/6f49b4c108
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
(https://github.com/ruby/irb/pull/677)

We already skipped history integration tests in core CI in #675 due to
suspicion on nested IRB sessions don't work on certain operating systems.

But after #669, the evaluation integration test also started to fail on
some Core CI suites. So, it looks like the integration test setup may not
work in Core CI, at least in some suites.

Consider `ruby/irb` already has rather sophisticated test suite, I think
it's better to skip the integration tests in core CI for now.

https://github.com/ruby/irb/commit/6f49b4c108
</pre>
</div>
</content>
</entry>
</feed>
