llms.txt: machine-readable documentation index. Markdown version of this page is also available.

CLion 2026.3 Help

JavaScript ユニットテストの作成

CLion integrates with most popular JavaScript unit testing frameworks and provides rich coding assistance for writing JavaScript unit tests. To get framework-aware coding assistance, download the desired framework and configure it as CLion JavaScript library.

JavaScript の単体テストを作成する

  1. src フォルダーの隣にテスト用の別のフォルダー(ファイル | 新規 | ディレクトリ )を作成します。 このフォルダーの名前は、使用しているテストフレームワークによって異なります。

  2. Mark tests as a test source folder.

  3. 各実動ファイルについて、テスト用のフォルダーのコンテキストメニューで(ファイル | 新規 | JavaScript ファイル )を選択して別のテストファイルを作成します。 テストファイル名の形式は、使用しているテストフレームワークによって異なります。

2026 年 11 月 6 日