Skip to content

Conversation

@odain-cbd
Copy link
Contributor

Add few usefull APIs to ease iTop testing among:

  • cleanuping in tearDown
  • calling iTop from HTTP easily
  • logging via IssueLog when starting a test
  • backuping/restoring conf in setup/teardown

@odain-cbd odain-cbd self-assigned this Dec 17, 2025
@odain-cbd odain-cbd added the internal Work made by Combodo label Dec 17, 2025
@odain-cbd odain-cbd closed this Dec 17, 2025
@odain-cbd odain-cbd reopened this Dec 17, 2025
@odain-cbd odain-cbd force-pushed the feature/enhance-test-sdk branch from 642e469 to 978a59d Compare December 17, 2025 14:53
@odain-cbd odain-cbd closed this Dec 17, 2025
@odain-cbd odain-cbd changed the title add few APIs to ease tests Add few APIs to ease tests Dec 17, 2025
@odain-cbd odain-cbd reopened this Dec 17, 2025
@odain-cbd odain-cbd changed the base branch from develop to support/3.2 December 17, 2025 15:45
@odain-cbd odain-cbd merged commit 6cb08ba into support/3.2 Dec 18, 2025
1 check passed
@odain-cbd odain-cbd deleted the feature/enhance-test-sdk branch December 18, 2025 12:31
* @param $bXDebugEnabled
* @return string
*/
protected function CallItopUrl($sUrl, ?array $aPostFields = [], ?array $aCurlOptions = [], $bXDebugEnabled = false): string
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@odain-cbd This can call any URL, not just iTop's? In that case we might want to rename it don't you think? Currently the difference between the 2 methods isn't obvious to me.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

right. i will rename it.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

internal Work made by Combodo

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants