File: README.md

package info (click to toggle)
sqlite3-pcre2 0.1.1~git20220105-e3e02a4a-2
  • links: PTS, VCS
  • area: main
  • in suites: sid
  • size: 144 kB
  • sloc: sh: 193; ansic: 134; sql: 103; makefile: 58
file content (24 lines) | stat: -rw-r--r-- 717 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
All the test are managed using the database db.sqlite3.

The test are run in three steps:

1) Initialisation: create the database schema, and populate the test case
table. It defines the tests to be executed.
2) Run: The test case are executed on the base of the schema below.

![](50-run.svg)

3) Report analysis: the table testreport is analysed to show which test are
passed or failed.


After running the test, the list of test case and test report can be
observed by running:

```bash
sqlite3 -header -column "db.sqlite3" << SQL
    SELECT * FROM testreport
    JOIN testcase ON testreport.testcase = testcase.id
    WHERE testreport.testcampaign = (SELECT id FROM testcampaign ORDER BY id DESC LIMIT 1)
SQL
```