{"id":17715623,"url":"https://github.com/qualersoft/robotframework-kolib","last_synced_at":"2025-05-05T21:44:30.552Z","repository":{"id":39903701,"uuid":"347637961","full_name":"qualersoft/robotframework-kolib","owner":"qualersoft","description":"A library to easily create Robot Framework libraries using kotlin or java.","archived":false,"fork":false,"pushed_at":"2025-04-24T17:57:39.000Z","size":532,"stargazers_count":0,"open_issues_count":16,"forks_count":0,"subscribers_count":1,"default_branch":"develop","last_synced_at":"2025-04-24T18:50:40.554Z","etag":null,"topics":["kotlin","robotframework"],"latest_commit_sha":null,"homepage":"","language":"Kotlin","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/qualersoft.png","metadata":{"files":{"readme":"README.adoc","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null}},"created_at":"2021-03-14T13:01:00.000Z","updated_at":"2025-01-11T22:44:05.000Z","dependencies_parsed_at":"2023-12-21T16:11:56.913Z","dependency_job_id":"af68feab-0cc5-4b11-82d6-214b60fff1bb","html_url":"https://github.com/qualersoft/robotframework-kolib","commit_stats":{"total_commits":188,"total_committers":3,"mean_commits":"62.666666666666664","dds":0.3191489361702128,"last_synced_commit":"b05efb61b59009cc3ca80713fc49c728faf56383"},"previous_names":[],"tags_count":7,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/qualersoft%2Frobotframework-kolib","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/qualersoft%2Frobotframework-kolib/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/qualersoft%2Frobotframework-kolib/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/qualersoft%2Frobotframework-kolib/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/qualersoft","download_url":"https://codeload.github.com/qualersoft/robotframework-kolib/tar.gz/refs/heads/develop","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":252582245,"owners_count":21771634,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["kotlin","robotframework"],"created_at":"2024-10-25T12:06:30.178Z","updated_at":"2025-05-05T21:44:30.536Z","avatar_url":"https://github.com/qualersoft.png","language":"Kotlin","funding_links":[],"categories":[],"sub_categories":[],"readme":":icons: font\n\n= robotframework-kolib\n\nA library to easily create https://robotframework.org/[Robot Framework] libraries based on https://kotlinlang.org/[kotlin].\n\n== Credits\n\nThis project is inspired by the https://github.com/robotframework/JavalibCore[javalib-core]\n\n== Intro\n\nIn contrast to the all-in-one solution provided by javalib-core, this project is divided into a link:robotframework-kolib-core/[core] library, and an link:robotframework-kolib-spring[example library] utilizing spring.\n\nThe _core_ provide ready to use utils to easily create your own general library implementation without the need to take care of _Robot Framework_ or _kotlin_ specifics.\n\n== Pitfalls\nThe following chapter give you an overview of some pitfalls you may run into when working with Robot Framework and an own library.\n\n=== Varargs and lists\n_Robot Framework_ will not automatically convert vararg arguments to a list. Instead, each argument is passed as is, so the core lib has to take care of this to give you a \"natural\" usage.\n\n[source,RobotFramework,title=vararg example]\n----\n*** Test Cases ***\nTest with varargs\n  Print the names    Hugo  Amy  Josh\n----\nAs a result of this, passing a list object created with `Create list` build-in will result in type-conversion error\n\n[source,RobotFramework,title=list example]\n----\n*** Test Cases ***\nTest with list\n  @{names}=  Create list   Hugo  Amy  Josh\n  Print the names    @{names}\n----\n\n=== Type conversion\n==== Dates\n_Robot Framework_ can automatically convert strings like `2021-09-13` to a date object. The generated `Date(time)` object will be generated in UTC timezone which may lead to unexpected results.\n\n[source,Robot,title=Example]\n----\n*** Test Cases ***\nTest with date\n  Print the date  2021-09-13\n----\nThis will - in my case (UTC+2) - result in an output 2021-09-13 02:00:00 instead of expected 2021-09-13 00:00:00.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fqualersoft%2Frobotframework-kolib","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fqualersoft%2Frobotframework-kolib","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fqualersoft%2Frobotframework-kolib/lists"}