1
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

More than 3 years have passed since last update.

JavaScriptのテストフレームワークJasmine

Posted at

Jasmineとは?

  • JavaScriptのテストフレームワーク
  • RailsでいうRSpecのようなもの
  • 簡単にテストを記述することができます

そもそも何?

  • JavaScriptのフレームワークテスト

何のために?

  • JavaScriptのテストコードを書くために

メリットは?

  • 簡単にJavaScriptのテストを書ける

Jasmineの基本的な使い方

  • Jasmineを利用したテストスイートは、 describe という関数から始まります。 describe には引数にテストのタイトル(文字列)と実際に実行するコードブロック(関数)を渡すことができます。

導入方法

参考にした記事(いつもありがとうございます。)

JavaScriptのテストフレームワークJasmineでできる基本的なこと

1
0
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
1
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?