タグ

Testingとmrubyに関するclavierのブックマーク (2)

  • Testing Casual Talks #2 へ参加してきた - 雑文発散(2015-05-25)

    ▼ [雑] Testing Casual Talks #2 へ参加してきた Testing Casual Talks #2 へ参加してきた。前回(初回)は2年前くらいに開催されていたそうだ。その時は行っていないので、気付かなかったんかなー。 mruby のテスト方法についての試行錯誤 GMO ペパボで ngx_mruby の記述をテストするために実行してきた内容のお話。 まだ自分では Nginx の config が複雑怪奇になるところまでは書いていないのだけど、設定を mruby で書いて、しかもそれをテストできるという状態はとても気持ち良さそう。 いまやサーバ構築はテストできるし、アプリケーションももちろんテストできる。ただ、その間にあるミドルウェアに関しては、テストすることがうまくできていないという言葉を聞いて、そういう視点では考えたことなかったなーと、目からウロコ。 最近また少し自

    Testing Casual Talks #2 へ参加してきた - 雑文発散(2015-05-25)
  • How to test code with mruby

    This document discusses testing code written for mruby, a lightweight Ruby implementation. It proposes using the mruby runtime itself to test code, rather than Ruby, by using the mruby-mtest library. This allows testing mruby code directly using the same binaries and libraries as production. Sample code shows how to structure tests and set up a test runner to execute tests against the mruby binary

    How to test code with mruby
    clavier
    clavier 2015/05/25
    How to test code with mruby
  • 1