You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@nlpcraft.apache.org by ar...@apache.org on 2021/05/11 18:26:23 UTC
[incubator-nlpcraft-website] branch master updated: Update
test_framework.html
This is an automated email from the ASF dual-hosted git repository.
aradzinski pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/incubator-nlpcraft-website.git
The following commit(s) were added to refs/heads/master by this push:
new 5fc19ee Update test_framework.html
5fc19ee is described below
commit 5fc19ee3c804354273b0626546c8d8434726f992
Author: Aaron Radzinski <ar...@apache.org>
AuthorDate: Tue May 11 11:26:11 2021 -0700
Update test_framework.html
---
tools/test_framework.html | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/tools/test_framework.html b/tools/test_framework.html
index 168e5f9..32defb7 100644
--- a/tools/test_framework.html
+++ b/tools/test_framework.html
@@ -192,7 +192,7 @@ public class AlarmModel extends NCModelFileAdapter {
<div class="tab-content">
<div class="tab-pane fade show active" id="nav-script" role="tabpanel">
<pre class="brush: bash">
- $ bin/nlpcraft.sh test-model
+ $ bin/nlpcraft.sh test-model --cp=/path/to/my/model/classes
</pre>
<p>
<b>NOTES:</b>
@@ -210,14 +210,14 @@ public class AlarmModel extends NCModelFileAdapter {
</div>
<div class="tab-pane fade show" id="nav-class" role="tabpanel">
<pre class="brush: bash">
- java -cp apache-nlpcraft-incubating-{{site.latest_version}}-all-deps.jar -DNLPCRAFT_TEST_MODELS=org.apache.nlpcraft.examples.alarm.AlarmModel org.apache.nlpcraft.model.tools.test.NCTestAutoModelValidator
+ java -cp apache-nlpcraft-incubating-{{site.latest_version}}-all-deps.jar:/path/to/my/model/classes -DNLPCRAFT_TEST_MODELS=org.apache.nlpcraft.examples.alarm.AlarmModel org.apache.nlpcraft.model.tools.test.NCTestAutoModelValidator
</pre>
<p>
<b>NOTES:</b>
</p>
<ul>
<li>
- Make sure to add necessary classpath components.
+ Make sure to add necessary classpath components for the model(s) you want to auto-validate.
</li>
<li>
<code>NLPCRAFT_TEST_MODELS</code> system property that should contain comma separate list of the data model classes to test.