From 96cbd33f47e9fdb5f0637ddfd14b6d415340809b Mon Sep 17 00:00:00 2001 From: "sweep-ai[bot]" <128439645+sweep-ai[bot]@users.noreply.github.com> Date: Wed, 25 Oct 2023 10:32:18 +0000 Subject: [PATCH] feat: Updated test/hurl_spec.lua --- test/hurl_spec.lua | 26 ++++++++++++++++++++++++++ 1 file changed, 26 insertions(+) diff --git a/test/hurl_spec.lua b/test/hurl_spec.lua index 47d79e7..8ba0912 100644 --- a/test/hurl_spec.lua +++ b/test/hurl_spec.lua @@ -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)