Skip to content

Commit 6ac3188

Browse files
added new deno task runner for test
1 parent a93a532 commit 6ac3188

1 file changed

Lines changed: 11 additions & 8 deletions

File tree

README.md

Lines changed: 11 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55

66
# stackqljs
77

8-
[__StackQL__](https://github.com/stackql/stackql) client library for Deno and Node.js that exposes all features StackQL.
8+
[**StackQL**](https://github.com/stackql/stackql) client library for Deno and Node.js that exposes all features StackQL.
99

1010
## Requirements
1111

@@ -14,15 +14,18 @@
1414
- No dependencies
1515
- Works in server mode (as a pg wire protocol server client) as well as local mode where it is a wrapper for the `stackql` binary for the target platform
1616
- Exposes methods analagous to [`pystackql`](https://pystackql.readthedocs.io/en/latest/), including:
17-
- `connect` - connect to a StackQL server - if in server mode
18-
- `upgrade` - if in local mode, upgrade the local stackql binary from the latest release
19-
- `execute` - execute a query returns an array of rows (objects)
20-
- `executeStmt` - executes a statement and returns a string (like `REGISTRY PULL` or `INSERT ...`)
21-
- `executeQueriesAsync` - executes a list of queries and returns an array of rows (objects) - queries need to return the same columns/schema
17+
- `connect` - connect to a StackQL server - if in server mode
18+
- `upgrade` - if in local mode, upgrade the local stackql binary from the latest release
19+
- `execute` - execute a query returns an array of rows (objects)
20+
- `executeStmt` - executes a statement and returns a string (like `REGISTRY PULL` or `INSERT ...`)
21+
- `executeQueriesAsync` - executes a list of queries and returns an array of rows (objects) - queries need to return the same columns/schema
2222

2323
## Test
24+
2425
### Requirement
26+
2527
- To run the tests locally, [install StackQL](https://stackql.io/docs/installing-stackql) first.
28+
29+
```
30+
deno task test <optional: test file path>
2631
```
27-
deno test --allow-net --allow-read --allow-write --allow-env --allow-run <test file path>
28-
```

0 commit comments

Comments
 (0)