<?xml version="1.0" encoding="utf-8" standalone="yes"?><rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>Development &amp; Testing on Apache HugeGraph</title><link>https://hugegraph.apache.org/docs/guides/dev-test/</link><description>Recent content in Development &amp; Testing on Apache HugeGraph</description><generator>Hugo</generator><language>en-US</language><lastBuildDate>Mon, 02 Nov 2026 21:54:08 +0800</lastBuildDate><atom:link href="https://hugegraph.apache.org/docs/guides/dev-test/index.xml" rel="self" type="application/rss+xml"/><item><title>HugeGraph Toolchain Local Testing Guide</title><link>https://hugegraph.apache.org/docs/guides/dev-test/toolchain-local-test/</link><pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate><guid>https://hugegraph.apache.org/docs/guides/dev-test/toolchain-local-test/</guid><description>&lt;p&gt;This guide helps developers run HugeGraph toolchain tests locally.&lt;/p&gt;&#10;&lt;h2 id="1-core-concepts"&gt;1. Core Concepts&#10;&lt;/h2&gt;&#10;&lt;h3 id="11-core-dependency-hugegraph-server"&gt;1.1 Core Dependency: HugeGraph Server&#10;&lt;/h3&gt;&#10;&lt;p&gt;&lt;strong&gt;Integration and functional tests of the toolchain depend on HugeGraph Server&lt;/strong&gt;, including Client, Loader, Hubble, Spark Connector, Tools, and other components.&lt;/p&gt;&#10;&lt;h3 id="12-test-types"&gt;1.2 Test Types&#10;&lt;/h3&gt;&#10;&lt;ul&gt;&#10;&lt;li&gt;&lt;strong&gt;Unit Tests&lt;/strong&gt;: Test individual functions/methods, no external dependencies required&lt;/li&gt;&#10;&lt;li&gt;&lt;strong&gt;API Tests (ApiTestSuite)&lt;/strong&gt;: Test API interfaces, requires running HugeGraph Server&lt;/li&gt;&#10;&lt;li&gt;&lt;strong&gt;Functional Tests (FuncTestSuite)&lt;/strong&gt;: End-to-end tests, require complete system environment&lt;/li&gt;&#10;&lt;/ul&gt;&#10;&lt;h2 id="2-environment-setup"&gt;2. Environment Setup&#10;&lt;/h2&gt;&#10;&lt;h3 id="21-system-requirements"&gt;2.1 System Requirements&#10;&lt;/h3&gt;&#10;&lt;ul&gt;&#10;&lt;li&gt;&lt;strong&gt;Operating System&lt;/strong&gt;: Linux / macOS (Windows use WSL2)&lt;/li&gt;&#10;&lt;li&gt;&lt;strong&gt;JDK&lt;/strong&gt;: &amp;gt;= 11, configure &lt;code&gt;JAVA_HOME&lt;/code&gt;&lt;/li&gt;&#10;&lt;li&gt;&lt;strong&gt;Maven&lt;/strong&gt;: &amp;gt;= 3.6&lt;/li&gt;&#10;&lt;li&gt;&lt;strong&gt;Python&lt;/strong&gt;: &amp;gt;= 3.11 (only required for Hubble tests)&lt;/li&gt;&#10;&lt;/ul&gt;&#10;&lt;h3 id="22-clone-code"&gt;2.2 Clone Code&#10;&lt;/h3&gt;&#10;&lt;div class="td-code td-code--untitled" id="td-code-71f81063-fence-0" data-td-code data-td-code-auto-id&#10; data-td-language="bash" data-td-line-count="2"&gt;&#10; &lt;div class="td-code__viewport" id="td-code-71f81063-fence-0-viewport" data-td-code-viewport&gt;&lt;div class="highlight"&gt;&lt;pre tabindex="0" class="chroma"&gt;&lt;code class="language-bash" data-lang="bash"&gt;&lt;span class="line"&gt;&lt;span class="ln"&gt;1&lt;/span&gt;&lt;span class="cl"&gt;git clone https://github.com/apache/hugegraph-toolchain.git&#10;&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="ln"&gt;2&lt;/span&gt;&lt;span class="cl"&gt;&lt;span class="nb"&gt;cd&lt;/span&gt; hugegraph-toolchain&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&lt;/div&gt;&#10;&lt;/div&gt;&#10;&lt;h2 id="3-deploy-test-environment"&gt;3. Deploy Test Environment&#10;&lt;/h2&gt;&#10;&lt;h3 id="deployment-options"&gt;Deployment Options&#10;&lt;/h3&gt;&#10;&lt;ul&gt;&#10;&lt;li&gt;&lt;strong&gt;Script Deployment&lt;/strong&gt;: Specify a Server commit to reproduce the server version used by CI&lt;/li&gt;&#10;&lt;li&gt;&lt;strong&gt;Docker Deployment&lt;/strong&gt;: Suitable for quick checks; if tests fail, first verify compatibility between the image and Toolchain&lt;/li&gt;&#10;&lt;/ul&gt;&#10;&lt;blockquote&gt;&#10;&lt;p&gt;For detailed installation instructions, refer to &lt;a href="https://hugegraph.apache.org/docs/quickstart/hugegraph/hugegraph-server/"&gt;Community Documentation&lt;/a&gt;&lt;/p&gt;&#10;&lt;/blockquote&gt;</description></item><item><title>ToplingDB development integration</title><link>https://hugegraph.apache.org/docs/guides/dev-test/toplingdb/</link><pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate><guid>https://hugegraph.apache.org/docs/guides/dev-test/toplingdb/</guid><description>&lt;blockquote&gt;&#10;&lt;p&gt;&lt;strong&gt;Development interface:&lt;/strong&gt; This guide applies to development builds with the optional ToplingDB runtime enabled.&#10;Existing releases and image tags do not establish support, and runtime acceptance remains a deployment prerequisite.&lt;/p&gt;&#10;&lt;/blockquote&gt;&#10;&lt;h2 id="choose-the-database-owner"&gt;Choose the database owner&#10;&lt;/h2&gt;&#10;&lt;p&gt;HugeGraph defaults to standard RocksDB. Enable Topling separately for each process that owns local storage:&lt;/p&gt;&#10;&lt;div class="td-table-scroll td-table-scroll--static"&gt;&#10;&lt;table&gt;&#10; &lt;thead&gt;&#10; &lt;tr&gt;&#10; &lt;th scope="col"&gt;Component&lt;/th&gt;&#10; &lt;th scope="col"&gt;Business provider setting&lt;/th&gt;&#10; &lt;th scope="col"&gt;Start command&lt;/th&gt;&#10; &lt;/tr&gt;&#10; &lt;/thead&gt;&#10; &lt;tbody&gt;&#10; &lt;tr&gt;&#10; &lt;td&gt;Standalone RocksDB Server&lt;/td&gt;&#10; &lt;td&gt;&lt;code&gt;rocksdb.provider=topling&lt;/code&gt; in each selected graph properties file&lt;/td&gt;&#10; &lt;td&gt;&lt;code&gt;bin/start-hugegraph.sh&lt;/code&gt;&lt;/td&gt;&#10; &lt;/tr&gt;&#10; &lt;tr&gt;&#10; &lt;td&gt;PD&lt;/td&gt;&#10; &lt;td&gt;&lt;code&gt;provider: topling&lt;/code&gt; under &lt;code&gt;rocksdb&lt;/code&gt; in &lt;code&gt;conf/application.yml&lt;/code&gt;&lt;/td&gt;&#10; &lt;td&gt;&lt;code&gt;bin/start-hugegraph-pd.sh&lt;/code&gt;&lt;/td&gt;&#10; &lt;/tr&gt;&#10; &lt;tr&gt;&#10; &lt;td&gt;Store&lt;/td&gt;&#10; &lt;td&gt;&lt;code&gt;provider: topling&lt;/code&gt; under &lt;code&gt;rocksdb&lt;/code&gt; in &lt;code&gt;conf/application-pd.yml&lt;/code&gt;&lt;/td&gt;&#10; &lt;td&gt;&lt;code&gt;bin/start-hugegraph-store.sh&lt;/code&gt;&lt;/td&gt;&#10; &lt;/tr&gt;&#10; &lt;/tbody&gt;&#10;&lt;/table&gt;&#10;&lt;/div&gt;&#10;&#10;&lt;p&gt;A standalone Server keeps &lt;code&gt;backend=rocksdb&lt;/code&gt;; an HStore-backed Server uses &lt;code&gt;backend=hstore&lt;/code&gt; and needs no local Topling runtime.&#10;All local RocksDB graphs in one Server process must use the same provider. The business setting must match the runtime selected by its launcher.&lt;/p&gt;</description></item></channel></rss>