{"id":23626374,"url":"https://github.com/yetanalytics/lrs-test-runner","last_synced_at":"2025-11-07T17:30:41.381Z","repository":{"id":72025384,"uuid":"368949018","full_name":"yetanalytics/lrs-test-runner","owner":"yetanalytics","description":"Run the ADL conformance test suite from Clojure on the JVM.","archived":false,"fork":false,"pushed_at":"2021-09-02T21:59:21.000Z","size":22,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":4,"default_branch":"main","last_synced_at":"2024-12-27T23:13:27.635Z","etag":null,"topics":["conformance-test","learning-record-store","lrs","xapi"],"latest_commit_sha":null,"homepage":"https://www.yetanalytics.com/lrs","language":"Clojure","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/yetanalytics.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","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}},"created_at":"2021-05-19T17:25:56.000Z","updated_at":"2021-09-02T16:44:21.000Z","dependencies_parsed_at":null,"dependency_job_id":"43536cd7-6a08-4205-8396-821ae2e37486","html_url":"https://github.com/yetanalytics/lrs-test-runner","commit_stats":null,"previous_names":[],"tags_count":1,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/yetanalytics%2Flrs-test-runner","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/yetanalytics%2Flrs-test-runner/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/yetanalytics%2Flrs-test-runner/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/yetanalytics%2Flrs-test-runner/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/yetanalytics","download_url":"https://codeload.github.com/yetanalytics/lrs-test-runner/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":239533851,"owners_count":19654773,"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":["conformance-test","learning-record-store","lrs","xapi"],"created_at":"2024-12-27T22:53:09.889Z","updated_at":"2025-11-07T17:30:41.347Z","avatar_url":"https://github.com/yetanalytics.png","language":"Clojure","readme":"# com.yetanalytics.lrs/test-runner\n\nRun the [ADL LRS Conformance Test Suite](https://github.com/adlnet/lrs-conformance-test-suite) from clojure tests. Create per-test-run or per-test instances of the test suite.\n\n## Usage\n\nThe tests show the 3 basic ways to use this:\n\n``` clojure\n\n;; manual\n(deftest manual-test\n  (let [stop-fn (run-lrs)\n        test-suite-dir (-\u003e (clone-test-suite)\n                           install-test-suite!)\n        ret (:success? (run-test-suite*\n                        test-suite-dir\n                        \"-e\" \"http://localhost:8080/xapi\" \"-b\" \"-z\"))]\n    (is (true? ret))\n    (stop-fn)\n    ;; cleanup\n    (delete-test-suite! test-suite-dir)))\n\n;; Two different styles for using the dynamic var\n\n;; macro\n(deftest with-test-suite-test\n  (with-test-suite\n    (let [stop-fn (run-lrs)\n          ret (conformant? \"-e\" \"http://localhost:8080/xapi\" \"-b\" \"-z\")]\n      (stop-fn)\n      (is (true? ret)))))\n\n;; fixture ;; (use-fixtures :once test-suite-fixture)\n(deftest test-suite-fixture-test\n  (test-suite-fixture\n   #(let [stop-fn (run-lrs)\n          ret (conformant? \"-e\" \"http://localhost:8080/xapi\" \"-b\" \"-z\")]\n      (stop-fn)\n      (is (true? ret)))))\n\n```\n\n## Roadmap\n\nThis is basically a port of what `lrs` does, and assumes a working node/npm environment.\n\n- [ ] Ensure node/npm environment\n- [ ] Async shell (currently uses `clojure.java.shell`)\n- [ ] Spec for test output, better output handling\n- [ ] Logging control/config\n\n## License\n\nCopyright © 2021 Yet Analytics\n\nDistributed under the Apache License version 2.0.\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fyetanalytics%2Flrs-test-runner","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fyetanalytics%2Flrs-test-runner","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fyetanalytics%2Flrs-test-runner/lists"}