Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: Published by Scroll Versions from space ENGINES1031 and version 10.4.2

Jtest を使用すると、オープン ソースの単体テスト ツールで作成した単体テストを実行し、結果を DTP にレポートできます。現在、次の単体テスト ツールがサポートされています。allows you to run unit tests created in open source unit testing tools and report results to DTP. The following unit testing tools are currently supported:

  • JUnit 3 および and 4
  • TestNG

次の表は、各テスト フレームワークに対するサポートの詳細です。

The following table describes detailed support for testing frameworks:

FrameworkSupportedNot supportedフレームワークサポート未サポート
JUnit 3Test classes directly extending  junit.framework.TestCase を直接的に拡張し、 with test* メソッドを持つテスト クラス。 methods.
  • Suite classes: classes directly extending スイート クラス: junit.framework.TestCase を直接的に拡張し、 and providing static suite() メソッドを持つクラス。テスト名は問わない。 methods, regardless of test name changes.
  • Test classes directly extending  junit.framework.TestCase を直接的に拡張し、 with the runTest() メソッドを持つテスト クラス。 method.
JUnit 4Test methods annotated with @org.junit.Test アノテーションを持つテスト メソッド。 annotation.
  • Tests parameterized with @org.junit.runners.Parameterized.Parametersでパラメータライズされたテスト。
  • Theories with @org.junit.experimental.theories.Theoryを持つセオリー。
TestNG

Test methods annotated with @org.testng.annotations.Test アノテーションを持つテスト メソッド。 annotation.

XML レポート reports (JUnit フォーマットのみ) を処理できます。format only) will be processed.

  • Tests parameterized with @org.testng.annotations.DataProviderでパラメータライズされたテスト。
  • Classes annotated with @org.testng.annotations.Test annotation アノテーションを持つクラス。
  • Tests parameterized with @org.testng.annotations.Factory でパラメータライズされたテスト。
  • TestNG フォーマットの XML レポートは処理できません。
  • XML reports in TestNG format won't be processed.

...


Visit the Parasoft その他の単体テスト ツールとの統合については、Parasoft Marketplace (http://marketplace.parasoft.com) を確認してください。for additional unit test tool integrations.