<?xml version="1.0" encoding="utf-8" standalone="yes"?><rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>Contributing on LinuxCNC gRPC</title><link>https://doug.sh/docs/linuxcnc-grpc/contributing/</link><description>Recent content in Contributing on LinuxCNC gRPC</description><generator>Hugo</generator><language>en</language><atom:link href="https://doug.sh/docs/linuxcnc-grpc/contributing/index.xml" rel="self" type="application/rss+xml"/><item><title>End-to-end testing</title><link>https://doug.sh/docs/linuxcnc-grpc/contributing/e2e-testing/</link><pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate><guid>https://doug.sh/docs/linuxcnc-grpc/contributing/e2e-testing/</guid><description>&lt;p&gt;The e2e suite (&lt;code&gt;tests/test_e2e.py&lt;/code&gt;, about 70 tests) runs the real server against a LinuxCNC&#10;simulator. It catches what the mock-based tests cannot: real state transitions, command&#10;execution, HAL data from the motion controller, files on a real filesystem, and streams with&#10;live data.&lt;/p&gt;&#10;&lt;h2 id="only-against-a-simulator"&gt;Only against a simulator&lt;a class="anchor" href="#only-against-a-simulator" aria-label="Link"&gt;&lt;/a&gt;&lt;/h2&gt;&#10;&lt;p&gt;The suite connects to whatever gRPC server answers on &lt;code&gt;localhost:50051&lt;/code&gt;, and most of its tests&#10;change the machine behind it: they take it out of E-stop, power it on, home it, jog, run MDI&#10;commands and programs, upload and delete files, and freeze LinuxCNC&amp;rsquo;s task process. Never point&#10;the e2e suite at a machine with hardware. Two checks guard against mistakes.&lt;/p&gt;</description></item></channel></rss>