Forum Discussion
FICO
13 years agoCommunity Manager
Running tests in precompiled assembly from command line
Running tests in precompiled assembly from command line
Hi all,
According to the online documentation one should be able to run tests in precompiled Blaze Advisor project. The code below shows what I try to use:
<TestSuiteConfig> <SuiteName>Rules Test Suite</SuiteName> <TestConfig> <Name>Exported Project Example</Name> <Factory>com.blazesoft.test.rules.NdAdvisorTestConfig</Factory> <RulesProjectLoaderFactory> <JavaName> com.blazesoft.server.rules.NdRulesProjectFileLoader </JavaName> <Project>myPrecompiledProject.adb</Project> </RulesProjectLoaderFactory> </TestConfig></TestSuiteConfig>I keep getting this error:
There was 1 failure:
1) warning(com.blazesoft.test.framework.NdDefaultTestSuite$1)
FAILURES!!!
Tests run:1, Failures:1, Errors: 0
Anyone could point me in the right direction?
Thanks a lot in advance!
1 Reply
- FICOCommunity Manager
When you work with precompiled ADB files you need to use the *Serialized*Loader* classes, check the API documentation on NdAdvisorTestConfig for an example.
NdRulesProjectLoaderFactory/NdRulesProjectFileLoader is for loading from a _project_ file in a repository, not from a compiled _adb_ file (http://blaze.i.lithium.com/i/smilies/16x16_smiley-happy.gif)
Related Content
Related Content
XPRBDN.dll, XPRSDN.dll Assembly version for .Net core v2.0
Hello, I am using the MIP solver, but I need a .Net core framework v 2.0 compliant binaries to make the project compatible for Linux, Mac and Windows. I can only find the assemblies compatible with ...8 years agoPlace FICO® Xpress Optimization ForumFICO® Xpress Optimization Forum1 unread comment1 unread0Views0likes1Comment
