Skip to content
This repository was archived by the owner on Nov 7, 2025. It is now read-only.

Commit fe52aa6

Browse files
authored
Add scripts to run unit and integration tests. (#1108)
A simple short-hand instead of my bashrc. Others might find this useful.
1 parent 1f6d758 commit fe52aa6

File tree

2 files changed

+16
-0
lines changed

2 files changed

+16
-0
lines changed

bin/it.sh

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
#!/bin/bash
2+
# Run integration tests
3+
set -e
4+
cd "$(dirname "$0/")/.."
5+
6+
bin/build-image.sh
7+
8+
cd ci/it
9+
10+
go test -v

bin/ut.sh

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
#!/bin/bash
2+
# Run unit tests
3+
set -e
4+
cd "$(dirname "$0/")/../quesma"
5+
6+
go run gotest.tools/gotestsum@latest --format pkgname-and-test-fails ./...

0 commit comments

Comments
 (0)