Skip to content

Latest commit

 

History

History
93 lines (70 loc) · 3.33 KB

File metadata and controls

93 lines (70 loc) · 3.33 KB

KAI Project Test Summary

Generated: 2026-04-04

Overall Status

Suite Passed Total Rate Notes
Core 147 147 100% Registry, GC, BinaryStream, Array, Map
Pi 330 330 100% All Pi language tests passing
Rho 876 876 100% Full language suite passing
Tau 308 308 100% Tau parser/codegen and future/proxy tests passing
Network 17 17 100% Network and Tau-over-network tests passing

Test Suite Details

Core Tests (147/147)

  • Registry, type system, memory management, garbage collection
  • BinaryStream serialization, Array, Map containers

Pi Language Tests (330/330)

  • Stack operations, control flow, continuations, functions
  • Arithmetic, stack manipulation, control flow, and interpreter coverage all pass

Rho Language Tests (876/876)

  • Expressions, control flow, functions, recursion, closures, iteration, and translation coverage pass
  • Historical continuation and loop regressions referenced in older reports are no longer present in the current suite snapshot

Tau Language Tests (308/308)

  • Namespace/class/interface parsing, struct and enum handling
  • Proxy/agent code generation, Future<T> parsing, strict-mode validation
  • Includes Tau future, proxy, and codegen coverage

Build Commands

# Configure and build from the repository root
./b

# Run the full current suite
./run_all_tests.sh

# Run individual suites
./Bin/Test/TestCore
./Bin/Test/TestPi
./Bin/Test/TestRho
./Bin/Test/TestTau

# Run network tests (requires --network build)
./b --network
./Bin/Test/Test_Network

# Filter specific tests
./Bin/Test/TestRho --gtest_filter="*ForLoop*"
./Bin/Test/Test_Network --gtest_filter="TauDomainPropertyTest*"

Network Tests (Test_Network)

Built only when KAI_NETWORKING=ON (use ./b --network).

NodeEndToEndTest (6 tests)

Test Description
RemoteMethodCallReturnsCorrectValue Client calls Add(3,4) on server agent, receives 7
EventBroadcastReachesSubscriber Server broadcasts Ping, client subscriber fires
ObjectMessageReachesSubscriber Server sends int 42 object, client receives it
EventPayloadDecodedCorrectly Server broadcasts Score with int payload 99
RemotePropertyGetReturnsValue Client fetches Counter property (value 55) from server
RemotePropertySetUpdatesValue Client sets Counter to 77, server value updates

TauDomainPropertyTest (3 tests)

Test Description
IdlGeneratesExpectedClassNames .tau IDL generates ISensorProxy / ISensorAgent
DomainBProxyFetchesPropertyFromDomainA Domain B reads Value=42 from Domain A agent
DomainBProxySetsPropertyOnDomainA Domain B writes Value=99, Domain A servant reflects it

TauPiSerializationTest (1 test)

Test Description
LocalNodeRoundTrip Two nodes: Tau-generated proxy calls Add(2,3), expects 5

TauNetworkCommunicationTest (4 tests)

  • IDL parsing, proxy/agent generation, error handling

TestGenerateProxy (3 tests)

  • Proxy code generation from Tau input

Notes

  • This summary reflects the current develop branch test state as of 2026-04-04.
  • Historical documents that mention partial Rho failures describe older baselines and should not be treated as the current suite status.