{"id":15134986,"url":"https://github.com/jetbrains/resharper-xunit-templates","last_synced_at":"2025-10-19T15:30:38.445Z","repository":{"id":65982642,"uuid":"56597975","full_name":"JetBrains/resharper-xunit-templates","owner":"JetBrains","description":"ReSharper Live Templates for xUnit.net","archived":false,"fork":false,"pushed_at":"2017-08-30T14:15:14.000Z","size":137,"stargazers_count":18,"open_issues_count":2,"forks_count":5,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-05-28T07:02:39.152Z","etag":null,"topics":["jetbrains","resharper","resharper-plugin","xunit"],"latest_commit_sha":null,"homepage":null,"language":null,"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/JetBrains.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"license.txt","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2016-04-19T13:14:03.000Z","updated_at":"2022-04-13T09:01:49.000Z","dependencies_parsed_at":"2023-02-19T18:31:13.406Z","dependency_job_id":null,"html_url":"https://github.com/JetBrains/resharper-xunit-templates","commit_stats":null,"previous_names":[],"tags_count":2,"template":false,"template_full_name":null,"purl":"pkg:github/JetBrains/resharper-xunit-templates","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/JetBrains%2Fresharper-xunit-templates","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/JetBrains%2Fresharper-xunit-templates/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/JetBrains%2Fresharper-xunit-templates/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/JetBrains%2Fresharper-xunit-templates/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/JetBrains","download_url":"https://codeload.github.com/JetBrains/resharper-xunit-templates/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/JetBrains%2Fresharper-xunit-templates/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":279839149,"owners_count":26234065,"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","status":"online","status_checked_at":"2025-10-19T02:00:07.647Z","response_time":64,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"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":["jetbrains","resharper","resharper-plugin","xunit"],"created_at":"2024-09-26T05:41:29.970Z","updated_at":"2025-10-19T15:30:38.016Z","avatar_url":"https://github.com/JetBrains.png","language":null,"funding_links":[],"categories":[],"sub_categories":[],"readme":"[![official JetBrains project](http://jb.gg/badges/official-flat-square.svg)](https://confluence.jetbrains.com/display/ALL/JetBrains+on+GitHub)\n\n# ReSharper Live Templates for xUnit.net\n\nThis extension adds various Live Templates for [xUnit.net](http://xunit.github.io/) to ReSharper.\n\nCheck out the [README](templates/README.md) for details on the available templates.\n\n## Installation\n\nTo install, go to ReSharper \u0026rarr; Extension Manager and search for \"xunit live templates\". Once installed, the templates are automatically available, and can be seen in the . They can be temporarily disabled by unchecking the appropriate entry in the ReSharper \u0026rarr; Manage Options dialog.\n\n## Contributing\n\nThe templates are distributed in a `.dotSettings` file, which is not designed to be a human-readable file, and is very difficult to work with in an editor. In order to modify or add templates, you can either edit the templates in ReSharper's Live Template editor, or in the markdown files in the `templates` folder, and running the template \"compiler\" program to generate the `.dotSettings` file.\n\nMake sure that any new templates have the appropriate categories and language set.\n\n### Editing in ReSharper\n\n* Add the `templates.dotSettings` file in the ReSharper \u0026rarr; Manage Options dialog. Select \"This Computer\", click the \"plus\" add icon and select \"Open Settings File\". Navigate to `templates.dotSettings` and select it.\n* Open the Live Templates editor (ReSharper \u0026rarr; Tools \u0026rarr; Templates Editor)\n* Select the `templates.dotSettings` file in the Layer drop down in the top left of the editor. This is **VERY IMPORTANT**. This means any new templates, or edits to the existing templates are saved into the `templates.dotSettings` file. Without selecting this layer, the changes will be save to the \"This Computer\" layer.\n* Edit or add new templates. They will be automatically saved, as you update them.\n\n### Editing markdown files\n\nAll of the templates are saved as markdown files, which makes it convenient to [browse and document](templates/README.md), as well as edit outside of ReSharper. The markdown files are processed with a small app that will translate between the required `.dotSettings` format, and the markdown files. Metadata is stored as [YAML \"front matter\"](https://jekyllrb.com/docs/frontmatter/).\n\n* Edit an existing file, or add a new file (use an existing file as a guide). If you are adding a new file, make sure to give the file a new GUID.\n* Save the file, and run `rstc compile -i *.md -o templates.dotSettings`. The `rstc.exe` file is in the `bin` folder.\n* The `templates.dotSettings` file, as well as the `README.md` file are updated, ready for commit.\n\nFor more details, see [the resharper-template-compiler project](https://github.com/citizenmatt/resharper-template-compiler#readme).\n\n* In order to update the markdown files after editing the `templates.dotSettings` file in ReSharper, run `rstc decompile templates.dotSettings`. It might be necessary to also run `rstc compile -i *.md -o foo.dotSettings` in order to regenerate `README.md`.\n\n## History\n\nThese templates started life in the xunit plugin for ReSharper. Since ReSharper 2016.1, xunit support is built in to ReSharper, meaning the xunit plugin is no longer required. However, it is not appropriate to ship these templates by default, as they will not apply to all users. Hence they are available as a separate extension.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjetbrains%2Fresharper-xunit-templates","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fjetbrains%2Fresharper-xunit-templates","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjetbrains%2Fresharper-xunit-templates/lists"}