{"id":18409808,"url":"https://github.com/spekframework/spek-spring-extension","last_synced_at":"2025-06-12T23:03:24.831Z","repository":{"id":144732141,"uuid":"78936891","full_name":"spekframework/spek-spring-extension","owner":"spekframework","description":null,"archived":false,"fork":false,"pushed_at":"2019-06-10T15:47:21.000Z","size":54,"stargazers_count":12,"open_issues_count":1,"forks_count":4,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-04-08T12:51:50.942Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Kotlin","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/spekframework.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"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":"2017-01-14T11:43:26.000Z","updated_at":"2022-08-03T12:59:09.000Z","dependencies_parsed_at":null,"dependency_job_id":"a7678d88-5465-4565-871d-ae860a0baf7a","html_url":"https://github.com/spekframework/spek-spring-extension","commit_stats":null,"previous_names":[],"tags_count":1,"template":false,"template_full_name":null,"purl":"pkg:github/spekframework/spek-spring-extension","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/spekframework%2Fspek-spring-extension","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/spekframework%2Fspek-spring-extension/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/spekframework%2Fspek-spring-extension/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/spekframework%2Fspek-spring-extension/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/spekframework","download_url":"https://codeload.github.com/spekframework/spek-spring-extension/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/spekframework%2Fspek-spring-extension/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":259546396,"owners_count":22874559,"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":[],"created_at":"2024-11-06T03:27:18.945Z","updated_at":"2025-06-12T23:03:24.820Z","avatar_url":"https://github.com/spekframework.png","language":"Kotlin","readme":"# Spring Extension for Spek\nThis is a proof of concept for writing spring integration tests in Spek\n\n## Limitations\n- Currently, only injecting beans is supported.\n    ```kotlin\n    @ContextConfiguration(classes = arrayOf(MyConfiguration::class))\n    object MySpec: Spek({\n        val context = createContext(MySpec::class)\n        val foo = context.inject\u003cFoo\u003e()\n        // val foo: Foo by context.inject()\n        \n        it(\"blah blah blah\") {\n            foo.doSomething()\n        }\n    })\n    ```\n\n## Issues\nSpring's `TestContext` framework makes assumptions on how tests are structured which is \nincompatible with Spek, which means we can't use `TestContextManager` (we can but it will be very hackish).\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fspekframework%2Fspek-spring-extension","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fspekframework%2Fspek-spring-extension","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fspekframework%2Fspek-spring-extension/lists"}