/Wiki/sources/honojs__hono/2026/https-hono-dev-llms-full-txt-testing-183c86535b78-testing-s0442-c0000.md

Testing - hono-docs

Testing Source evidence: /Sources/raw/honojs hono/honojs hono.md Canonical citation: https://hono.dev/llms full.txt testing Summary Testing the application o...

Testing

Source evidence: /Sources/raw/honojshono/honojshono.md Canonical citation: https://hono.dev/llms-full.txt#testing

Summary

Testing the application on Deno is easy. You can write with Deno.test and use assert or assertEquals from @std/assert. sh deno add jsr:@std/assert ```ts [hello.ts] import { Hono } from 'hono' im...

Content

Testing the application on Deno is easy. You can write with Deno.test and use assert or assertEquals from @std/assert.

deno add jsr:@std/assert
import { Hono } from 'hono'
import { assertEquals } from '@std/assert'

Deno.test('Hello World', async () => {
  const app = new Hono()
  app.get('/', (c) => c.text('Please test me'))

  const res = await app.request('http://localhost/')
  assertEquals(res.status, 200)
})

Then run the command:

deno test hello.ts
Kinic Wiki
Loading knowledge node
Details

Identity

database
db_23dhmsxlhukv
database_id
db_23dhmsxlhukv
path
/Wiki/sources/honojs__hono/2026/https-hono-dev-llms-full-txt-testing-183c86535b78-testing-s0442-c0000.md
kind
directory
role
markdown_note
children
0

Metadata

created_at
virtual
updated_at
virtual
etag
virtual
metadata_json
{}

Lint Hints

No lightweight warnings.

Outgoing Links

No outgoing links indexed.

Incoming Links

Select a file node to inspect backlinks.

Raw Source

No raw source path inferred.