зеркало из
1
0
Форкнуть 0
Граф коммитов

164 Коммитов

Автор SHA1 Сообщение Дата
McCoy Patiño d718fc4cc5
Clean up advanced testing guide (#36818) 2024-08-08 15:34:04 -07:00
McCoy Patiño 6adc0d7474
Document alternate solution to PermissionError during test proxy use (#36703) 2024-07-31 16:39:05 -07:00
McCoy Patiño 33ccf1cedb
Account for OS in PATH-setting (#36658) 2024-07-26 17:39:49 -07:00
Niklas von Moers ee943efe20
docs: fix documented mypy version in tox (#36550) 2024-07-19 13:58:37 -07:00
Amit Chauhan 6a7144d7d9
adding a Unit test case for scheduler yaml load (#35116)
* adding a UT for scheduler

* correcting a pip install when specifying version

* reformatting

* removing the comment from test file
2024-06-21 08:49:50 -07:00
McCoy Patiño f6b4e0c972
Add central sleep patching fixtures (#35677)
* Add requestable central sleep patch fixtures

* Document sleep patching in tests.md
2024-05-16 17:31:16 -07:00
Paul Van Eck 1c726a9b56
[Docs] Add info about test proxy sanitizer opt-out (#35579)
Added some documentation updates regarding test proxy sanitization.

Signed-off-by: Paul Van Eck <paulvaneck@microsoft.com>
Co-authored-by: McCoy Patiño <39780829+mccoyp@users.noreply.github.com>
2024-05-13 17:38:54 -07:00
McCoy Patiño 34795f552c
Clearer guidance on test credential usage (#35499) 2024-05-06 14:43:06 -07:00
Yuchao Yan 869bf02def
udpate doc to get private package (#35413) 2024-04-29 17:00:48 +08:00
Kashif Khan 456605b350
update py version to 3.8+ (#35011) 2024-03-29 16:30:37 +00:00
mccoyp 0527e86ada [skip ci] Delete azure-devtools and deps/references 2024-03-26 16:33:36 -07:00
McCoy Patiño ec78666a38
Support all developer tools for user-based auth in tests (#34927) 2024-03-26 11:54:44 -07:00
McCoy Patiño ffee9b8329
Update API documentation link (#34622) 2024-03-05 11:12:50 -08:00
McCoy Patiño 4ed18a2dcb
Remove manual test proxy setup instructions (#34573) 2024-03-01 16:07:16 -08:00
Krista Pratico 4621c2a6dc
Update docstring.md (#34560) 2024-03-01 11:20:39 -08:00
McCoy Patiño 8262041a02
Support user-based authentication in live tests (#33994) 2024-01-24 17:06:44 -08:00
Krista Pratico e7c1352a84
Update docstring.md (#33817) 2024-01-12 17:56:06 +00:00
mccoyp 7b36743b5c [skip ci] Move perfstress_tests to devtools 2023-11-29 17:13:21 -08:00
McCoy Patiño fdaa9cfcd1
[Test Proxy] Update recording migration guide (#33213) 2023-11-17 14:37:08 -08:00
McCoy Patiño 491aebd50b
Update broken link (#33018) 2023-11-14 14:06:29 -08:00
Xiang Yan aacafd98da
update docs and debugging info (#33111)
* update docs and debugging info

* Update doc/dev/code_snippets.md

Co-authored-by: Krista Pratico <krpratic@microsoft.com>

---------

Co-authored-by: Krista Pratico <krpratic@microsoft.com>
2023-11-10 16:49:09 -08:00
SHUBHAM SHARMA eecb121839
Typos in doc /doc/dev/tests.md (#32689)
* Typos in doc /doc/dev/tests.md
Fixes #32489

* Update doc/dev/tests.md

Co-authored-by: McCoy Patiño <39780829+mccoyp@users.noreply.github.com>

* Typos in doc /doc/dev/tests.md
Fixes #32489

---------

Co-authored-by: McCoy Patiño <39780829+mccoyp@users.noreply.github.com>
2023-11-07 10:52:23 -08:00
Krista Pratico 69dd05b613
Update static_type_checking.md (#32986) 2023-11-07 09:46:41 -08:00
McCoy Patiño 8913e9d325
Update `devtools_testutils` documentation (#32259) 2023-09-27 17:05:45 -07:00
McCoy Patiño 4d3e75820e
Fix transition script links (#31892) 2023-09-12 13:52:20 -07:00
Scott Beddall f1f3836980
Refactor Conda Pipeline (#31804)
- Restructure per-service conda builds to a single, unified conda build located within `conda-sdk-client`
- This newly refactored pipeline takes the form of two stages. the first builds multiplatform conda packages against py38,39,310,311. the second builds all our universal (noarch) conda packages.
- Move all conda releaselogs under `conda/conda-releaselogs`
- Move all conda recipes from Xiang's personal build store into the official repo
- Refactor conda build pipeline from a script within `devops_tasks` directory to an entrypoint within `azure-sdk-tools`
- Update conda build within azure-sdk-tools to _also retrieve package data_ prior to assembling a conda package. This totally eliminates the need for a difference in CI and local invocation, and massively simplifies the CI pipeline steps
- Update conda version to 2023.09.01
2023-09-06 16:24:33 -07:00
Jeesang Kim 07b8758294
sort yes-no cases, consistently (#31710)
* ordering yes-no case

* fix to no before yes
2023-08-22 09:26:06 -07:00
McCoy Patiño 1203b31d19
[Asset Sync] Clarify test-running behavior (#31702) 2023-08-17 11:30:51 -07:00
Geon Kim eb18f566c6
Typo: five -> nine (#31698) 2023-08-17 09:38:59 -07:00
McCoy Patiño b793e2bdea
[Test Proxy] Support `config` commands in `manage_recordings.py` (#31681) 2023-08-16 14:15:52 -07:00
McCoy Patiño e624c030e8
[Test Proxy] Remove manual setup instructions (#31380) 2023-07-31 11:38:49 -07:00
Scott Beddall abfed14e2b
Re-Enable `Build` Log Credscan, Resolve other `aggregate report` issues (#31193)
* re-enable `compliance` build in PRs
* update various content issues to bring aggregate reports to passing
* one last link update. the single remaining failing formrecognizer link will be updated in time in place via aka.ms mechanisms
2023-07-19 18:13:08 +00:00
McCoy Patiño 5244f59628
[Test Proxy] Fix link to section about updating recordings (#31069) 2023-07-11 17:39:16 +00:00
McCoy Patiño ec300bbdee
[Test Proxy] Guidance for URL recording issues (#31035) 2023-07-07 14:57:58 -07:00
Krista Pratico 794dea8153
[verifytypes] compare PR code against main instead of pypi (#30818)
* compare PR code against main instead of pypi

* use sparse-checkout to install the package from main

* fix path for ci

* update typing and docs

* add logging
2023-06-27 16:21:45 -07:00
McCoy Patiño 8ed31d9587
Make external recordings the default configuration in test docs (#30713) 2023-06-27 12:36:30 -07:00
McCoy Patiño 608774695e
[Test Proxy] Clarify relevant documentation in testing guides (#30827) 2023-06-20 15:13:21 -07:00
Laurent Mazuel cace59f9a0
LRO return type is covariant (#30823)
* LRO return type is covariant

* Typo

* Typo 2

* CSpell

* TA typing
2023-06-20 14:29:35 -07:00
McCoy Patiño ef24486504
[Test Proxy] More advice for recording session startup failure (#30762) 2023-06-13 15:53:55 -07:00
kdestin 982234bf05
[engsys] Migrate to tox4 (#30159)
* Remove references to {envbindir}

    tox prepends the {env_bin_dir} to $PATH, so commands
    will default to using the virtual environment first.

    See: https://tox.wiki/en/4.4.11/config.html#commands

    One of tox's core maintainers also discourages its use:
      https://github.com/tox-dev/tox/issues/2909#issuecomment-1409806654

* refactor: Write paths relative to git root, instead of package dir

    Uses an inline plugin (toxfile.py) to make a computed config
    value avaiable to tox environments.

* refactor: Rename {toxinidir} to {tox_root}

    {toxinidir} is an alias for {tox_root}, but {tox_root} is:
      * More clear: {tox_root} isn't necessarily where the ini file is
      * Shorter

* refactor: Flatten some commands that are no longer super long

* refactor: Make a pytest section

* refactor: Remove `changedir = {tox_root}`

    This is the default behavior, see:

    https://tox.wiki/en/4.4.11/config.html#change_dir-external

* fix: {distdir} is deprecated

    See: https://tox.wiki/en/latest/upgrading.html#removed-tox-ini-keys

* fix: Remove --ignore-installed from pip command

    --ignore-installed can break a python installation if multiple
    conflicting versions of a package are installed

* refactor: Add descriptions to all tox environments

* fix: Remove ineffective platform config

    platform = linux: linux
               macos: darwin
               windows: win32

    Setting the above in the base environment has no effect:
        * None of the environments have {linux,macos,windows} in the
          name, so the platform config is always empty.

* chore: Bump `tox` to `>4.4.11` and no longer install `tox-monorepo`

    tox4 natively solves what `tox-monorepo` was written to solve:
    `--root` lets you set `toxinidir` independently of the config
    file in use.

    4.4.11 was chosen as the cutoff since it was the first release to
    include a fix to `--root` that prevented `{work_dir}` from being
    changed when `{toxinidir}` was changed by `--root`.

    `tox-monorepo` should no longer be needed

* docs: Update CONTRIBUTING.md to use tox 4 commands

    * References to tox-monorepo were removed
    * Replaced discussion of `tox -l` with tox4's `tox list`
    * Updated examples to use `--root`

* docs: Make `azure-media-{videoanalyzer,analytics}-edge`'s DevTips.md point to CONTRIBUTING.md for tox

* docs: Remove remaining references to tox-monorepo

* doc: Use `--root` throughout documentation

* engsys: Make tox_harness set `{toxinidir}` when invoking tox

* engsys: Set required tox version in config

* docs: Use the new url for tox docs

* docs: Add a callout that TOX_* environment variables control defaults

    * TOX_CONFIG_DIR can be used to permanently set --conf
    * TOX_ROOT_DIR can be used to permanently set --root

* update packaging requirement everywhere it is used.

* fix cspell

* docs: Use `tox run` syntax throughout documentation

* engsys: Use `tox run` syntax in tox_harness.py

* docs: Replace – (U+2013 : EN DASH) with - (ASCII code 45)

* update pytest requirements + coverage.

* update virtualenv

* more conflicts resolved

* bringing in urllib3 restriction, aligning ci_tools.txt with test_tools.txt

* check_call requires a list of type string. if we append ['blah', 'blah'] we are actually inserting another array. just use regular array concatenation

* engsys: Tox uses `run` for serial execution and `run-parallel` for parallel`

* azure-core: Use `@pytest_asyncio.fixture` to mark an asyncio fixture

    See https://pytest-asyncio.readthedocs.io/en/latest/concepts.html#strict-mode

* pin coverage to newer version with no conflicts

* identify issue with missing code coverage being caused by wrongly named namespace (#30344)

* remove fix of dotfile!

* apply black formatting to resolve failing analyze step

* tox installing tox. probably not a good thing :)

* engsys: Remove `tox` from `azure-media-analytics-edge` dev_requirements

* align regression version of ci/test_tools.txt

* new coverage format requires that the package sources be present when combining .coverage files. amend our tox tree cleanup to exclude the whl directory when running coverage.

* ensure that missing hidden folder can't break cleanup operation

* ensure coverage isn't generated on whl_no_aio

* ensure that coverage is generated without wonky package paths

---------

Co-authored-by: scbedd <45376673+scbedd@users.noreply.github.com>
2023-05-23 10:11:23 -07:00
Paul Van Eck 3d4176c158
[Template][Docs] Update template files (#30305)
These are updated to more accurately reflect the current state of
things.

Signed-off-by: Paul Van Eck <paulvaneck@microsoft.com>
2023-05-11 11:14:34 -07:00
McCoy Patiño 136d46af60
[Test Proxy] Advice for consistent line breaks (#30003) 2023-04-21 12:53:53 -07:00
Yuchao Yan 7d8cf59358
update package version rule (#29986)
* update package version rule

* update
2023-04-20 18:56:55 +08:00
Libba Lawrence d25b62e3fc
pylint checking documentation (#29906)
* pylint checking documentation

* update doc

* initial updates

* addressing comments

* dont allow pylintrc changes

* cant put in screenshot

* small tweaks

* updates

* typo

* comma

* reword

* reword

* newer -- latest
2023-04-19 11:23:40 -07:00
McCoy Patiño 9906694bf3
Update outdated links in multiapi.md (#29900) 2023-04-14 16:31:15 -07:00
McCoy Patiño 71c284cdf2
Add guidance for PermissionError during tool execution (#29864) 2023-04-13 11:08:27 -07:00
McCoy Patiño 1091d771c0
[Test Proxy] Update guidance on git versioning and troubleshooting (#29583) 2023-04-11 18:18:31 +00:00
Scott Beddall 28e5966107
use apiview stub generator (#29746) 2023-04-05 16:04:18 -07:00
Krista Pratico 57bb893437
Update optional (#28435)
* add optional[any] to cheat sheet

* fix
2023-03-24 16:53:36 -07:00
Scott Beddall f1a39c98f5
Remove `docker` integration with test framework (#28941) 2023-03-22 13:38:48 -07:00