Actions
Bug #10135
closedCan not build datasource test: missing dependencies
Pull Request:
Severity:
UX impact:
User visibility:
Effort required:
Priority:
0
Name check:
Fix check:
Regression:
Description
For now, we are not able to compile data sources plugin tests because they are using test classes defined in Rudder core. But these test classes are not packaged, and so can't be used as dependencies:
For example:
[ERROR] import com.normation.BoxSpecMatcher [ERROR] ^ [ERROR] /home/fanf/java/workspaces/rudder-project/rudder-plugin-datasources/src/test/scala/com/normation/rudder/datasources/JsonPathTest.scala:49: error: not found: type BoxSpecMatcher [ERROR] class JsonPathTest extends Specification with BoxSpecMatcher with Loggable {
We need to make a "test-jar" for Rudder, and depend on it in data sources plugin.
It may not be easy, see: http://stackoverflow.com/questions/7751860/how-do-i-include-a-dependencys-test-jar-into-a-maven-projects-deployment
Updated by François ARMAND over 8 years ago
- Status changed from In progress to Pending technical review
- Assignee changed from François ARMAND to Vincent MEMBRÉ
- Pull Request set to https://github.com/Normation/rudder-plugin-datasources/pull/1
Updated by François ARMAND over 8 years ago
- Status changed from Pending technical review to Pending release
Updated by Vincent MEMBRÉ almost 7 years ago
- Project changed from Rudder to 54
- Category deleted (
71) - Target version changed from 4.1.0~beta3 to 425
- Priority set to 0
Updated by Vincent MEMBRÉ almost 7 years ago
- Project changed from 54 to Datasources
- Target version deleted (
425)
Actions