Skip to content

Commit

Permalink
chore: release 0.3.0 (#33)
Browse files Browse the repository at this point in the history
* chore: release 0.3.0

* center image
  • Loading branch information
jiacai2050 authored Feb 6, 2023
1 parent 2cc78f3 commit 1ff2ea7
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 2 deletions.
2 changes: 1 addition & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "sqlness"
version = "0.2.0"
version = "0.3.0"
edition = "2021"
authors = [
"CeresDB Authors <ceresdbservice@gmail.com>",
Expand Down
7 changes: 6 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ $ tree examples/
examples/
├── basic-case # Testcase root directory
│ └── simple # One environment
│ ├── config.toml # Config file for current environment
│ ├── config.toml # Config file for current environment, optional
│ ├── select.result # Output result file
│ └── select.sql # Input SQL testcase
├── basic.rs # Entrypoint of this example
Expand All @@ -42,6 +42,11 @@ Usually `result` files should be tracked in git, whenever there are failed tests
1. Update `result` to latest version(e.g. `git add`) if the newer result is right, or
2. Restore `result` back to original version (e.g. `git checkout`), troubleshoot bugs in database implementation, and run tests again

Flowchart below illustrates the typical steps when write a test.
<p align="center">
<img src="sqlness-flowchart.svg" />
</p>

Below is the output of this example:
```bash
Run testcase...
Expand Down
4 changes: 4 additions & 0 deletions sqlness-flowchart.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

0 comments on commit 1ff2ea7

Please sign in to comment.