1. Kirill Simonov
  2. htsql-charset-option

Source

htsql-charset-option / test / input / sqlite.yaml

#
# Copyright (c) 2006-2010, Prometheus Research, LLC
# Authors: Clark C. Evans <cce@clarkevans.com>,
#          Kirill Simonov <xi@resolvent.net>
#

title: SQLite regression tests
id: sqlite
output: test/output/sqlite.yaml
tests:
# FIXME: need a regression schema and a set of tests.

- title: Remove any existing regression database
  id: cleanup-sqlite
  tests:
  - rmdir: build/regress/regress-sqlite

- title: Deploy the regression database
  id: setup-sqlite
  tests:
  - mkdir: build/regress/regress-sqlite
  - connect: &connect
      engine: sqlite
      database: build/regress/regress-sqlite/htsql_regress.sqlite
    sql-include: test/sql/regress-sqlite.sql

- db: *connect

- title: Queries
  id: queries-sqlite
  tests:
  - uri: /
  - uri: /{2+2}
    skip: true
  - uri: /test
  - uri: /test{id}
  - uri: /test{data}?id=1
    skip: true
  - uri: /test
    headers:
      Accept: application/json
  - uri: /test
    headers:
      Accept: text/csv
  - uri: /test
    headers:
      Accept: text/plain
  - uri: /test
    headers:
      Accept: text/html