openBackhaul / AdministratorAdministration

Administrates the list of administrators of the application layer.
Apache License 2.0
5 stars 8 forks source link

Attribute correctness testcase to domain-name #110

Closed IswaryaaS closed 1 year ago

IswaryaaS commented 1 year ago

Domain name is an attribute which carries information about the domain name of the application hosted. This has a pattern "^([a-z0-9]+(-[a-z0-9]+)*.)+[a-z]{2,}$" For this pattern, we can check for correctness in following scenarios which is expected to fail

include special characters other than "-" and "." string without character "." (it is expected to have a top-level domain at end) string with space Top-level-domain TLD containing a number The about correctness should be checked for following services