Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

tests(helpers): support ldoc generation #13636

Merged
merged 2 commits into from
Sep 11, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 2 additions & 1 deletion spec/config.ld
Original file line number Diff line number Diff line change
Expand Up @@ -2,10 +2,11 @@ project='Kong test helpers'
title='Kong test framework'
description='Test helper functions for Kong (integration) testing'
format='markdown'
file={'./helpers.lua','./helpers'}
file={'./helpers.lua','./helpers','./details'}
dir='docs'
readme='README.md'
sort=true
sort_modules=true
style='./'
no_space_before_args=true
merge=true
8 changes: 8 additions & 0 deletions spec/details/dns.lua
Original file line number Diff line number Diff line change
@@ -1,3 +1,11 @@
------------------------------------------------------------------
-- Collection of utilities to help testing Kong features and plugins.
--
-- @copyright Copyright 2016-2022 Kong Inc. All rights reserved.
-- @license [Apache 2.0](https://opensource.org/licenses/Apache-2.0)
-- @module spec.helpers


local cjson = require("cjson.safe")


Expand Down
8 changes: 8 additions & 0 deletions spec/details/misc.lua
Original file line number Diff line number Diff line change
@@ -1,3 +1,11 @@
------------------------------------------------------------------
-- Collection of utilities to help testing Kong features and plugins.
--
-- @copyright Copyright 2016-2022 Kong Inc. All rights reserved.
-- @license [Apache 2.0](https://opensource.org/licenses/Apache-2.0)
-- @module spec.helpers


-- miscellaneous


Expand Down
8 changes: 8 additions & 0 deletions spec/details/shell.lua
Original file line number Diff line number Diff line change
@@ -1,3 +1,11 @@
------------------------------------------------------------------
-- Collection of utilities to help testing Kong features and plugins.
--
-- @copyright Copyright 2016-2022 Kong Inc. All rights reserved.
-- @license [Apache 2.0](https://opensource.org/licenses/Apache-2.0)
-- @module spec.helpers


local shell = require("resty.shell")
local conf_loader = require("kong.conf_loader")
local strip = require("kong.tools.string").strip
Expand Down
Loading