Upgrade to Pro — share decks privately, control downloads, hide ads and more …

Test::Spec ~あるいはPerlと異文化交流~ (Perl若手の会)

Test::Spec ~あるいはPerlと異文化交流~ (Perl若手の会)

2020/07/01 にオンラインで開催された 「Perl若手の会(https://connpass.com/event/179235/)」でのLT資料です

Nanamachi

July 01, 2020
Tweet

Other Decks in Programming

Transcript

  1. 自己紹介 - ななまち ( GitHub: @Nanamachi 、 Twitter: @7machi_works )

    - 2019新卒入社のエンジニア - もともとはPythonista - Webも触ってたのでJSはぼちぼち - たまにRailsのためにRubyを触ったり - 入社してからPerlを触りだした - セミコロンはいまでもよく忘れる
  2. 自己紹介 - ななまち ( GitHub: @Nanamachi 、 Twitter: @7machi_works )

    - 2019新卒入社のエンジニア - もともとはPythonista - Webも触ってたのでJSはぼちぼち - たまにRailsのためにRubyを触ったり - 入社してからPerlを触りだした - セミコロンはいまでもよく忘れる
  3. まずはDescriptionを日本語で This is a declarative specification-style testing system for behavior-driven

    development (BDD) in Perl. The tests (a.k.a. examples) are named with strings instead of subroutine names, so your fingers will suffer less fatigue from underscore-itis, with the side benefit that the test reports are more legible. (和訳) このモジュールはPerlでのビヘイビア駆動開発(BDD)のための宣言的テストシステムで す。テスト(examplesとも)はサブルーチン名ではなく文字列で定義されているため、開 発者の指をアンダーバーの打ちすぎによる腱鞘炎から守るとともに、その副作用として 可読性に優れたテストレポートを提供します。
  4. まずはDescriptionを日本語で This is a declarative specification-style testing system for behavior-driven

    development (BDD) in Perl. The tests (a.k.a. examples) are named with strings instead of subroutine names, so your fingers will suffer less fatigue from underscore-itis, with the side benefit that the test reports are more legible. (和訳) このモジュールはPerlでのビヘイビア駆動開発(BDD)のための宣言的テストシステムで す。テスト(examplesとも)はサブルーチン名ではなく文字列で定義されているため、開 発者の指をアンダーバーの打ちすぎによる腱鞘炎から守るとともに、その副作用として 可読性に優れたテストレポートを提供します。
  5. 同じように印象に残っているもの - App::Prove::Plugin::retty This is a alias module for App::Prove::Plugin::Pretty.

    Using -Pretty is bit pretty. ( `prove -PPretty` が `prove -Pretty` になってちょっとPrettyだよ ! )
  6. Descriptionのつづき This module is inspired by and borrows heavily from

    RSpec, a BDD tool for the Ruby programming language. (訳) このモジュールはRubyのBDDツールであるRSpecに大きく影響を受けたものです
  7. Descriptionのつづき This module is inspired by and borrows heavily from

    RSpec, a BDD tool for the Ruby programming language. (訳) このモジュールはRubyのBDDツールであるRSpecに大きく影響を受けたものです