Skip to content

Commit

Permalink
Add api tests
Browse files Browse the repository at this point in the history
  • Loading branch information
matthewturner committed Aug 11, 2024
1 parent 168b796 commit 86015de
Show file tree
Hide file tree
Showing 5 changed files with 25 additions and 0 deletions.
1 change: 1 addition & 0 deletions api_tests/.env.sample
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
HOST=replace
1 change: 1 addition & 0 deletions api_tests/.gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
.env
11 changes: 11 additions & 0 deletions api_tests/Status.bru
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
meta {
name: Status
type: http
seq: 2
}

get {
url: http://{{host}}/v1/status
body: none
auth: none
}
9 changes: 9 additions & 0 deletions api_tests/bruno.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
{
"version": "1",
"name": "api_tests",
"type": "collection",
"ignore": [
"node_modules",
".git"
]
}
3 changes: 3 additions & 0 deletions api_tests/environments/Home.bru
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
vars {
host: {{process.env.HOST}}
}

0 comments on commit 86015de

Please sign in to comment.