Skip to content

Commit

Permalink
feat: Updated test/hurl_spec.lua
Browse files Browse the repository at this point in the history
  • Loading branch information
sweep-ai[bot] authored Oct 25, 2023
1 parent 6cb2466 commit 96cbd33
Showing 1 changed file with 26 additions and 0 deletions.
26 changes: 26 additions & 0 deletions test/hurl_spec.lua
Original file line number Diff line number Diff line change
Expand Up @@ -9,4 +9,30 @@ describe('Hurl wrapper', function()
-- TODO: add a test to check if the command is defined
assert.falsy(true)
end)

describe('request function', function()
it('should handle GET requests', function()
-- TODO: add a test to check GET requests
end)

it('should handle POST requests', function()
-- TODO: add a test to check POST requests
end)

it('should handle different response statuses', function()
-- TODO: add a test to check different response statuses
end)
end)

describe('run_current_file function', function()
it('should correctly read and execute HTTP requests from a .hurl file', function()
-- TODO: add a test to check run_current_file function
end)
end)

describe('run_selection function', function()
it('should correctly read and execute HTTP requests from a selected portion of a .hurl file', function()
-- TODO: add a test to check run_selection function
end)
end)
end)

0 comments on commit 96cbd33

Please sign in to comment.