34件ヒット
[1-34件を表示]
(0.014秒)
種類
- ライブラリ (13)
- インスタンスメソッド (12)
- 文書 (9)
ライブラリ
- rake (12)
モジュール
- RakeFileUtils (12)
キーワード
-
NEWS for Ruby 3
. 0 . 0 (5) -
NEWS for Ruby 3
. 1 . 0 (4) - rake (12)
-
test
/ unit (1)
検索結果
先頭5件
-
RakeFileUtils
# verbose(value = nil) { . . . } (18125.0) -
詳細を出力するかどうかを制御します。
...す。
@param value 真を指定すると詳細を出力します。
例
verbose # 現在の状態を返します。
verbose(v) # 与えられた状態に変更します。
verbose(v) { code } # ブロックを評価する間だけ与えられた状態に変更... -
NEWS for Ruby 3
. 0 . 0 (78.0) -
NEWS for Ruby 3.0.0 このドキュメントは前回リリース以降のバグ修正を除くユーザーに影響のある機能の変更のリストです。
...ストはリンク先を参照してください。
== 言語仕様の変更
* Keyword arguments are now separated from positional arguments.
Code that resulted in deprecation warnings in Ruby 2.7 will now
result in ArgumentError or different behavior. 14183
* Procs accepting a single......shown by default (since Ruby 2.7.2).
Turn them on with `-W:deprecated` (or with `-w` to show other warnings too).
16345
* `$SAFE` and `$KCODE` are now normal global variables with no special behavior.
C-API methods related to `$SAFE` have been removed.
16131 17136
* yield in sin......ble is overtaken by the same definition in an
ancestor class/module, a RuntimeError is now raised (previously,
it only issued a warning in verbose mode). Additionally, accessing a
class variable from the toplevel scope is now a RuntimeError.
14541
* Assigning to a numbered paramet... -
rake (30.0)
-
Rake というコマンドラインツールを扱うライブラリです。
...クを実行します。
-e, --execute CODE Ruby のコードを実行して終了します。
-p, --execute-print CODE Ruby のコードを実行して結果を表示して終了します。
-E, --execute-continue CODE Ruby のコードを実行してから、タ......パターンは省略可能です。
-t, --trace 全てのバックトレースを表示します。
-v, --verbose 標準出力にログメッセージを表示します (デフォルト)。
-V, --version このプログ......to(8) do |n|
Rake::TestTask.new("test_step#{n}") do |t|
t.libs << "step#{n}"
t.test_files = FileList["step#{n}/test_*.rb"]
t.verbose = false
end
end
desc 'execute all test'
task 'test_all' => (1..8).to_a.map{|n| "test_step#{n}"}
=== 用語集
: action / アク... -
test
/ unit (24.0) -
ユニットテストを行うためのライブラリです。
...* Rubyのテスティングフレームワークの歴史(2014年版) https://www.clear-code.com/blog/2014/11/6.html
* RubyKaigi 2015:The history of testing framework in Ruby https://www.clear-code.com/blog/2015/12/12.html
=== 使い方
Test::Unit は以下のように使います。......tions:
-h, --help Display this help.
-s, --seed SEED Sets random seed
-v, --verbose Verbose. Show progress processing files.
-n, --name PATTERN Filter test names on pattern.
--jobs-status [TYPE]... -
NEWS for Ruby 3
. 1 . 0 (18.0) -
NEWS for Ruby 3.1.0 このドキュメントは前回リリース以降のバグ修正を除くユーザーに影響のある機能の変更のリストです。
...た。ハッシュを最初のメンバにするには、ハッシュリテラルを使用する必要があります。 16806
* String
* Unicodeと絵文字のバージョンが13.0.0に更新されました。 17750 18029
* String#unpack と String#unpack1 が任意のバイト数をス......た。
* JITコンパイラは、1000命令列長より長いメソッドのコンパイルをスキップしなくなりました。
* --mjit-verbose や --mjit-warning は、TracePoint または GC.compact が使用されており、JITコンパイルされたコードが無効になった時......emsに追加されました。高速なデバッガの実装で、リモートデバッグの多数の機能を提供、カラフルなREPL、IDE(VSCode)インテグレーション、など。標準ライブラリの lib/debug.rb は debug.gem で置き換えられました。
* デバッグ実行...