Skip to content

Commit

Permalink
add .http get request
Browse files Browse the repository at this point in the history
  • Loading branch information
Raphael Gruber committed Nov 15, 2024
1 parent d5291cc commit d3e4aae
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 1 deletion.
2 changes: 1 addition & 1 deletion handoff.go
Original file line number Diff line number Diff line change
Expand Up @@ -152,7 +152,7 @@ func New(opts ...Option) *Server {
func (s *Server) Run(args []string) error {
startupStart := time.Now()

// we want to make sure that the test suite functions only
// We want to make sure that the test suite functions only
// log using the functions provided through the t struct
// and not 'pollute' the server logs, so we need to redirect
// the standard test loggers to /dev/null and use a custom one
Expand Down
7 changes: 7 additions & 0 deletions requests.http
Original file line number Diff line number Diff line change
@@ -1,5 +1,12 @@
@url=http://localhost:1337
@ts=my-app

### Create new test run

POST {{url}}/suites/{{ts}}/runs

### Get existing test run

@runId = {{$input run id? $value: 1}}

GET {{url}}/suites/{{ts}}/runs/{{runId}}

0 comments on commit d3e4aae

Please sign in to comment.