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 c98b80b  WIP.
c98b80b is described below

commit c98b80b8d4821f5ecdced466ef322a28c4d2ac00
Author: Aaron Radzinzski <[email protected]>
AuthorDate: Sat Sep 19 22:45:34 2020 -0700

    WIP.
---
 server-and-probe.html | 14 +++++++++++++-
 1 file changed, 13 insertions(+), 1 deletion(-)

diff --git a/server-and-probe.html b/server-and-probe.html
index dcaa3ea..a1b0bbc 100644
--- a/server-and-probe.html
+++ b/server-and-probe.html
@@ -463,11 +463,23 @@ nlpcraft {
             You can disable ANSI coloring in either server, probe or both by 
supplying the following system
             property to JVM process: 
<code>-D<b>NLPCRAFT_ANSI_COLOR_DISABLED</b>=true</code>
         </p>
-
     </section>
     <section id="testing">
         <h2 class="section-title">Testing</h2>
         <p>
+            It is a good practice to run units tests during routine builds 
using Maven (or others CI toolchains). To
+            test data models you need to have a running server and then start 
one or more data probes with
+            models you want to test. While doing this from IDE can be trivial 
enough, doing this from Maven
+            can be tricky.
+        </p>
+        <p>
+            The challenge is that from the Maven build you need to start the 
server, wait til its fully started and
+            initialized, and only then start the data probes or run tests that 
use embedded probes. When done manually
+            (e.g. from IDE) you can visually observe when the server finished 
its startup and then manually
+            launch the tests. In Maven, however, you need to use a special 
plugin to accomplish the same in
+            automated fashion.
+        </p>
+        <p>
         </p>
     </section>
 </div>

Reply via email to