[
https://issues.apache.org/jira/browse/PIO-56?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16103678#comment-16103678
]
ASF GitHub Bot commented on PIO-56:
-----------------------------------
Github user dszeto commented on the issue:
https://github.com/apache/incubator-predictionio/pull/355
Sorry for the late reply. LGTM and merging. Thanks @lucasbm88 !
> Unit tests in module core should not require real setup
> -------------------------------------------------------
>
> Key: PIO-56
> URL: https://issues.apache.org/jira/browse/PIO-56
> Project: PredictionIO
> Issue Type: Improvement
> Components: Core
> Affects Versions: 0.10.0-incubating
> Environment: Tested with Mac OS X, i7, 8GB
> Reporter: Lucas Bonatto Miguel
> Labels: development_environment
>
> *This issue affects only developers*
> When downloading the code from github and trying to run the tests of the
> project core via sbt, one will face an error stating that the METADATA
> configuration is missing, e.g:
> [ERROR] [Storage$] Required repository (METADATA) configuration is missing.
> [ERROR] [Storage$] There were 1 configuration errors. Exiting.
> It looks like the project predictionio core requires a METADATA datasource
> (elasticsearch) installed and configured in the developer machine.
> There are some benefits if the project require less external
> installation/configuration:
> - Developers would have an easy setup of the environment.
> - Continuous integration would be easier
> How to reproduce:
> - Download predictionio from github
> - In root folder run ./make-distribution.sh
> - In root folder run sbt core/test
--
This message was sent by Atlassian JIRA
(v6.4.14#64029)