lantern

neovim-compose-api-test

NeoVim Compose API Test Suite

Test suite for the NeoVim Compose API endpoints following Looking Glass Development.

config

base_url: http://localhost:7778 test_node: how-to-create-oculus-tool

Results

{
  "tests": [
    {
      "test": "GET /fences returns shape",
      "status": "❌ FAIL",
      "details": "HTTPConnectionPool(host='localhost', port=7777): Max retries exceeded with url: /api/oculus/nodes/how-to-create-oculus-tool/fences (Caused by NewConnectionError(\"HTTPConnection(host='localhost', port=7777): Failed to establish a new connection: [Errno 111] Connection refused\"))"
    },
    {
      "test": "GET /fences has valid line numbers",
      "status": "❌ FAIL",
      "details": "HTTPConnectionPool(host='localhost', port=7777): Max retries exceeded with url: /api/oculus/nodes/how-to-create-oculus-tool/fences (Caused by NewConnectionError(\"HTTPConnection(host='localhost', port=7777): Failed to establish a new connection: [Errno 111] Connection refused\"))"
    },
    {
      "test": "POST /compose stalk level",
      "status": "❌ FAIL",
      "details": "HTTPConnectionPool(host='localhost', port=7777): Max retries exceeded with url: /api/oculus/nodes/how-to-create-oculus-tool/compose (Caused by NewConnectionError(\"HTTPConnection(host='localhost', port=7777): Failed to establish a new connection: [Errno 111] Connection refused\"))"
    },
    {
      "test": "POST /compose renders specific fence",
      "status": "❌ FAIL",
      "details": "HTTPConnectionPool(host='localhost', port=7777): Max retries exceeded with url: /api/oculus/nodes/how-to-create-oculus-tool/fences (Caused by NewConnectionError(\"HTTPConnection(host='localhost', port=7777): Failed to establish a new connection: [Errno 111] Connection refused\"))"
    },
    {
      "test": "PATCH /fences/{index} toggles execute",
      "status": "❌ FAIL",
      "details": "HTTPConnectionPool(host='localhost', port=7777): Max retries exceeded with url: /api/oculus/nodes/how-to-create-oculus-tool/fences (Caused by NewConnectionError(\"HTTPConnection(host='localhost', port=7777): Failed to establish a new connection: [Errno 111] Connection refused\"))"
    },
    {
      "test": "Reverse lookup line → index",
      "status": "❌ FAIL",
      "details": "HTTPConnectionPool(host='localhost', port=7777): Max retries exceeded with url: /api/oculus/nodes/how-to-create-oculus-tool/fences (Caused by NewConnectionError(\"HTTPConnection(host='localhost', port=7777): Failed to establish a new connection: [Errno 111] Connection refused\"))"
    }
  ],
  "summary": {
    "total": 6,
    "passed": 0,
    "failed": 6,
    "skipped": 0,
    "success_rate": "0%"
  }
}

template

# Test Results

| Test | Status | Details |
|------|--------|---------|
{% for t in tests %}
| {{ t.test }} | {{ t.status }} | {{ t.details }} |
{% endfor %}

**Summary**: {{ summary.passed }}/{{ summary.total }} passed ({{ summary.success_rate }})

North

slots:
- context:
  - Linking doc to test node per LGD pattern
  slug: neovim-compose-api
↑ northneovim-compose-api