Skip to content

Commit

Permalink
Allow opting-out of ITestDataSource test discovery.
Browse files Browse the repository at this point in the history
  • Loading branch information
Haplois committed Sep 6, 2021
2 parents 6d78d98 + 990df65 commit a58d335
Show file tree
Hide file tree
Showing 498 changed files with 50,949 additions and 15,366 deletions.
9 changes: 7 additions & 2 deletions .github/ISSUE_TEMPLATE.md
Original file line number Diff line number Diff line change
@@ -1,10 +1,13 @@
## Description
> **IMPORTANT**: if the defect is reproduced only in a workflow from within the Visual Studio IDE then do not report the issue here - instead, please report it using Visual Studio's "Send Feedback" option that can be accessed from the Help menu OR using this link https://developercommunity.visualstudio.com.
>
> **IMPORTANT**: Before posting an issue, please search the repository for similar ones. It might have been solved or reported already.
>
> For a defect specific to the MSTest V2 test framework, describe the issue you've observed.
## Steps to reproduce
> What steps can reproduce the defect?
>
> Please share the setup, sample project, target platform (desktop, core, uap)
## Expected behavior
Expand All @@ -15,5 +18,7 @@
## Environment
> Please share additional details about the test environment.
> Operating system, Build version of vstest.console, Package version of MSTest
> framework and adapter
> - Operating system
> - Build version of vstest.console
> - Package version of MSTest framework and adapter
> - Other installed packages and their versions on the test project
25 changes: 25 additions & 0 deletions .github/workflows/AzureDevOps.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
name: Sync issue to Azure DevOps work item

on:
issues:
types:
[labeled] #, opened, edited, deleted, closed, reopened, labeled, unlabeled, assigned

jobs:
updateAzDO:
if: github.event.label.name == 'sprint'
runs-on: ubuntu-latest
steps:
- uses: pavelhorak/github-actions-issue-to-work-item@master
env:
ado_token: "${{ secrets.ADO_PERSONAL_ACCESS_TOKEN }}"
github_token: "${{ secrets.GH_PERSONAL_ACCESS_TOKEN }}"
ado_organization: "${{ secrets.ADO_ORGANIZATION }}"
ado_project: "${{ secrets.ADO_PROJECT }}"
ado_area_path: "${{ secrets.ADO_AREA_PATH }}"
ado_iteration_path: "${{ secrets.ADO_ITERATION_PATH }}" # this doesn't work: "@CurrentIteration('[DevDiv]\\.NET DevExp Prague')"
ado_wit: "User Story"
ado_new_state: "Committed"
ado_active_state: "In Progress"
ado_close_state: "Completed"
ado_bypassrules: false
3 changes: 3 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@
*.sln.metaproj
*.sln.metaproj.tmp
.vs/
.vscode/
*.cache
.idea/

Expand All @@ -30,6 +31,7 @@ msbuild*.err
build*.log
build*.wrn
build*.err
*.binlog

# MSTest test Results
[Tt]est[Rr]esult*/
Expand Down Expand Up @@ -87,6 +89,7 @@ ehthumbs.db
packages
artifacts
Tools
.dotnet

# ===========================
# Tools
Expand Down
11 changes: 9 additions & 2 deletions CODE_OF_CONDUCT.md
Original file line number Diff line number Diff line change
@@ -1,2 +1,9 @@
### Microsoft Open Source Code of Conduct
This project has adopted the [Microsoft Open Source Code of Conduct](https://opensource.microsoft.com/codeofconduct/). For more information see the [Code of Conduct FAQ](https://opensource.microsoft.com/codeofconduct/faq/) or contact [[email protected]](mailto:[email protected]) with any additional questions or comments.
# Microsoft Open Source Code of Conduct

This project has adopted the [Microsoft Open Source Code of Conduct](https://opensource.microsoft.com/codeofconduct/).

Resources:

- [Microsoft Open Source Code of Conduct](https://opensource.microsoft.com/codeofconduct/)
- [Microsoft Code of Conduct FAQ](https://opensource.microsoft.com/codeofconduct/faq/)
- Contact [[email protected]](mailto:[email protected]) with questions or concerns
6 changes: 3 additions & 3 deletions CONTRIBUTING.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,13 +2,13 @@
Welcome, and thank you for your interest in contributing. There are many ways to contribute:
- [Submit issues](https://github.com/Microsoft/testfx/issues) and help verify fixes as they are checked in.
- Review the [source code changes](https://github.com/Microsoft/testfx/pulls).
- [Contribute features and fixes](https://github.com/Microsoft/testfx-docs/blob/master/docs/contribute.md).
- [Contribute features and fixes](https://github.com/Microsoft/testfx-docs/blob/main/docs/contribute.md).
- Contribute to the [documentation](https://github.com/Microsoft/testfx-docs).

### Building
If you want to understand how **testfx** works or want to debug an issue, you'll want to get the source, build it, and run it locally. **testfx** can be built from within Visual Studio or from the CLI.
- [Building with Visual Studio](https://github.com/Microsoft/testfx-docs/blob/master/docs/contribute.md#building-with-visual-studiovs)
- [Building with CLI](https://github.com/Microsoft/testfx-docs/blob/master/docs/contribute.md#building-with-command-linecli)
- [Building with Visual Studio](https://github.com/Microsoft/testfx-docs/blob/main/docs/contribute.md#building-with-visual-studiovs)
- [Building with CLI](https://github.com/Microsoft/testfx-docs/blob/main/docs/contribute.md#building-with-command-linecli)

### Thank You!
Your contributions to open source, large or small, make projects like this possible. Thank you for taking the time to contribute.
4 changes: 4 additions & 0 deletions Directory.Build.props
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
<?xml version="1.0" encoding="utf-8"?>
<Project>
<Import Project="scripts\build\TestFx.props" />
</Project>
4 changes: 4 additions & 0 deletions Directory.Build.targets
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
<?xml version="1.0" encoding="utf-8"?>
<Project>
<Import Project="scripts\build\TestFx.targets" />
</Project>
6 changes: 1 addition & 5 deletions LICENSE.txt → LICENSE
Original file line number Diff line number Diff line change
@@ -1,8 +1,4 @@
MSTest Framework

Copyright (c) Microsoft Corporation. All rights reserved.

MIT License
Copyright (c) 2020 Microsoft Corporation

Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
Expand Down
40 changes: 40 additions & 0 deletions Localize/LocProject.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,40 @@
{
"Projects": [
{
"LanguageSet": "VS_Main_Languages",
"LocItems": [
{
"SourceFile": "src\\Adapter\\MSTest.CoreAdapter\\Resources\\xlf\\Resource.xlf",
"Languages": "",
"CopyOption": "LangIDOnName",
"OutputPath": "src\\Adapter\\MSTest.CoreAdapter\\Resources\\xlf\\",
"LclFile": "Localize\\lcl\\{Lang}\\src\\Adapter\\MSTest.CoreAdapter\\Resources\\xlf\\Resource.xlf.lcl"
}
]
},
{
"LanguageSet": "VS_Main_Languages",
"LocItems": [
{
"SourceFile": "src\\Adapter\\PlatformServices.Shared\\netstandard1.3\\Resources\\xlf\\Resource.xlf",
"Languages": "",
"CopyOption": "LangIDOnName",
"OutputPath": "src\\Adapter\\PlatformServices.Shared\\netstandard1.3\\Resources\\xlf\\",
"LclFile": "Localize\\lcl\\{Lang}\\src\\Adapter\\PlatformServices.Shared\\netstandard1.3\\Resources\\xlf\\Resource.xlf.lcl"
}
]
},
{
"LanguageSet": "VS_Main_Languages",
"LocItems": [
{
"SourceFile": "src\\TestFramework\\MSTest.Core\\Resources\\xlf\\FrameworkMessages.xlf",
"Languages": "",
"CopyOption": "LangIDOnName",
"OutputPath": "src\\TestFramework\\MSTest.Core\\Resources\\xlf\\",
"LclFile": "Localize\\lcl\\{Lang}\\src\\TestFramework\\MSTest.Core\\Resources\\xlf\\FrameworkMessages.xlf.lcl"
}
]
}
]
}
Loading

0 comments on commit a58d335

Please sign in to comment.