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

Add missing tests for library functions #9

Open
wants to merge 2 commits into
base: main
Choose a base branch
from

Conversation

finnpedersenkazes
Copy link
Member

Add tests to cover all functions in the library.

  • Tests/TestAddComment.Codeunit.al

    • Add test for AddCommentSeparator function with different separator.
  • Tests/TestDmyFunction.Codeunit.al

    • Add test for Dmy2DateWithDefault function with invalid date.
  • Tests/TestEvaluateXML.Codeunit.al

    • Add test for EvaluateDateTimeFromXML function with invalid datetime.
  • Tests/TestHexIntConversion.Codeunit.al

    • Add test for Hex2IntWithDefault function with invalid hex.
  • Tests/TestMakeDateFilter.Codeunit.al

    • Add test for MakeDateFilter function with only starting date.
  • Tests/TestRegexFunctions.Codeunit.al

    • Add test for RegexIsMatch function with invalid pattern.
  • Tests/TestStringFunctions.Codeunit.al

    • Add test for RemoveChar function with empty string.
  • Tests/TestXMLFormat.Codeunit.al

    • Add test for XMLFormat function with null value.

Add tests to cover all functions in the library.

* **Tests/TestAddComment.Codeunit.al**
  - Add test for `AddCommentSeparator` function with different separator.

* **Tests/TestDmyFunction.Codeunit.al**
  - Add test for `Dmy2DateWithDefault` function with invalid date.

* **Tests/TestEvaluateXML.Codeunit.al**
  - Add test for `EvaluateDateTimeFromXML` function with invalid datetime.

* **Tests/TestHexIntConversion.Codeunit.al**
  - Add test for `Hex2IntWithDefault` function with invalid hex.

* **Tests/TestMakeDateFilter.Codeunit.al**
  - Add test for `MakeDateFilter` function with only starting date.

* **Tests/TestRegexFunctions.Codeunit.al**
  - Add test for `RegexIsMatch` function with invalid pattern.

* **Tests/TestStringFunctions.Codeunit.al**
  - Add test for `RemoveChar` function with empty string.

* **Tests/TestXMLFormat.Codeunit.al**
  - Add test for `XMLFormat` function with null value.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant