Loading
Salesforce から送信されるメールは、承認済ドメインからのみとなります続きを読む

MUnit Tests Not Found in Anypoint Code Builder

公開日: Apr 15, 2026
説明

Running MUnit tests in Anypoint Code Builder (ACB) results in the error "No tests found in the selected file or folder" even though the tests run fine from Anypoint Studio on the same project.

解決策
  1. Verify folder structuring:
    1. Ensure your MUnit XML files are located in: src/test/munit/
    2. Ensure any supporting files (like test data or inputs) are in: src/test/resources/
  2. Verify the pom.xml file:
    1. Ensure the pom.xml file contains a <name> tag for the project.
  3. Refresh the window in Anypoint Code Builder by pressing Ctrl+Shift+P (or Cmd+Shift+P on Mac) and selecting 'Developer: Reload Window.' 
  4. Verify that the MUnit tests are now displayed in the UI and that the 'No tests found in the selected file or folder' error no longer appears.
ナレッジ記事番号

005318629

 
読み込み中
Salesforce Help | Article