jarファイルにscalaテストケースを含めたいとします。私はmavenプロジェクトを持っています。 私は次のように使用している:mavenプロジェクトのjarファイルにscalaテストケースを追加する
<assembly>
<id></id>
<formats>
<format></format>
</formats>
<includeBaseDirectory>false</includeBaseDirectory>
<dependencySets>
<dependencySet>
<includes>
<include>...</include>
</includes>
</dependencySet>
<dependencySet>
<outputDirectory></outputDirectory>
</dependencySet>
</dependencySets>
<fileSets>
<fileSet>
<directory>${project.build.directory}/test/scala</directory>
<outputDirectory>/</outputDirectory>
<includes>
<include>**/*.class</include>
</includes>
<useDefaultExcludes>true</useDefaultExcludes>
</fileSet>
</fileSets>
は、誰もが
MVNきれいなパッケージに
感謝を使用してjarファイルにScalaのテストケースを追加する方法が何であるかを教えてもらえます。
あなたは 'ScalaTest' Mavenプラグインを構成する方法を、求めていますか? See more [ScalaTest](http://www.scalatest.org/user_guide) – fabfas
いいえ、実際には、私はfunsiteを使っていくつかのテストケースを書いています。これらのテストケースをすべてクラスタ上で実行しようとしています。それで、すべてのテストケースを持つjarファイルを作成する必要があるのですが、クラスタ上で同じjartoを実行することができます。 – avy