rubydoctest icon indicating copy to clipboard operation
rubydoctest copied to clipboard

Ruby version of Python's doctest tool, but a bit different

Results 10 rubydoctest issues
Sort by recently updated
recently updated
newest added

Besides '?>'(irb), indentation can also include the ' |' mark (pry).

Now the following test code works: For compatibility with YARD, @doctest allows indentations, while does not allow multiline test description.

`http://hobocentral.net/rubydoctest` in repo description is down: > The page you were looking for doesn't exist.

The fact that `and` and `or` are lower precedence than `&&` and `||` mean that the autocorrect option can be dangerous, in that it can introduce bugs. It is likely...

Hello. It would be nice if it output something when passed -h or --help Cheers!

Hi. I am trying to test a Rails app with rubydoctest. To run the tests and integrate it with my CI bot, I set this rake task: ``` desc "Run...

``` Has another tool to run; doesn't sound much fun. ``` I haven't looked through the documentation for the library, but is there a pragmatic way to run rubydoctest?

Since Ruby 3.2, "undefined method `=~' for an instance of Array (NoMethodError)" occurs when a test fails in rubydoctest. So I fixed. # Example ## test.md ```ruby >> [1, 3,...

ref. * https://github.com/ruby/rubygems/pull/9081 * https://github.com/ruby/rubygems/commit/84ceaff1b78c8ccc0b4d18cae23a1630577b0b89 * https://github.com/ruby/rubygems/pull/9084