{"id":19382168,"url":"https://github.com/codito/vstest.samples.datacollector","last_synced_at":"2025-10-12T19:12:31.495Z","repository":{"id":66523150,"uuid":"23317417","full_name":"codito/vstest.samples.datacollector","owner":"codito","description":"Data collector sample for Visual Studio Test Platform","archived":false,"fork":false,"pushed_at":"2014-08-25T14:57:15.000Z","size":636,"stargazers_count":1,"open_issues_count":0,"forks_count":1,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-02-24T16:56:10.311Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"C#","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/codito.png","metadata":{"files":{"readme":"README.md","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}},"created_at":"2014-08-25T14:55:18.000Z","updated_at":"2018-01-25T09:52:59.000Z","dependencies_parsed_at":"2023-02-20T11:31:04.357Z","dependency_job_id":null,"html_url":"https://github.com/codito/vstest.samples.datacollector","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/codito/vstest.samples.datacollector","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/codito%2Fvstest.samples.datacollector","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/codito%2Fvstest.samples.datacollector/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/codito%2Fvstest.samples.datacollector/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/codito%2Fvstest.samples.datacollector/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/codito","download_url":"https://codeload.github.com/codito/vstest.samples.datacollector/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/codito%2Fvstest.samples.datacollector/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":279012638,"owners_count":26085158,"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-12T02:00:06.719Z","response_time":53,"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":[],"created_at":"2024-11-10T09:19:54.896Z","updated_at":"2025-10-12T19:12:31.467Z","avatar_url":"https://github.com/codito.png","language":"C#","funding_links":[],"categories":[],"sub_categories":[],"readme":"## Data Collector Sample for Visual Studio Test Platform\r\n\r\nA bare bones data collector implementing Session and TestCase events.\r\n\r\n## Deployment\r\n\r\nCopy the built binaries to `$env:ProgramFiles(x86)\\Microsoft Visual Studio 12.0\\Common7\\IDE\\PrivateAssemblies\\DataCollectors`\r\n\r\n## Running the sample\r\n\r\nCreate a `runsettings` file with following data collector specification:\r\n\r\n    \u003c!-- Configurations for data collectors --\u003e\r\n    \u003cDataCollectionRunSettings\u003e\r\n        \u003cDataCollectors\u003e\r\n          \u003cDataCollector uri=\"datacollector://SampleDataCollector/1.0\" assemblyQualifiedName=\"VSTest.Samples.DataCollector.SampleDataCollector, VSTest.Samples.DataCollector, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null\" friendlyName=\"SampleDataCollector\"\u003e\r\n          \u003c/DataCollector\u003e\r\n        \u003c/DataCollectors\u003e\r\n    \u003c/DataCollectionRunSettings\u003e\r\n    \r\nRun any test on a `Developer Command Prompt` with settings file:\r\n\r\n    vstest.console UnitTestProject1.dll /settings:sample.runsettings\r\n\r\n    Microsoft (R) Test Execution Command Line Tool Version 12.0.30501.0\r\n    Copyright (c) Microsoft Corporation.  All rights reserved.\r\n\r\n    Starting test execution, please wait...\r\n    Warning: Using Isolation mode to run the tests as diagnostic data adapters were enabled in the runsettings. Use the /inIsolation parameter to suppress this warning.\r\n    Warning: Diagnostic data adapter ('Sample data collector') message: SampleAdapter: Session start. Session id: {1ba5eb4f-801e-48b2-b3c2-a44f3ec9a431}.\r\n\r\n    Warning: Diagnostic data adapter ('Sample data collector') message: SampleAdapter: Test Case start. Test case name: UnitTestProject1.UnitTest1.TestMethod1.\r\n\r\n    Warning: Diagnostic data adapter ('Sample data collector') message: SampleAdapter: Test Case end. Test case end: UnitTestProject1.UnitTest1.TestMethod1.\r\n\r\n    Passed   TestMethod1\r\n\r\n    Total tests: 1. Passed: 1. Failed: 0. Skipped: 0.\r\n    Test Run Successful.\r\n    Test execution time: 0.2830 Seconds\r\n    Warning: Diagnostic data adapter ('Sample data collector') message: SampleAdapter: Session end. Session id: {1ba5eb4f-801e-48b2-b3c2-a44f3ec9a431}.\r\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcodito%2Fvstest.samples.datacollector","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fcodito%2Fvstest.samples.datacollector","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcodito%2Fvstest.samples.datacollector/lists"}