Skip to content

Optimize azdev test and azdev style#424

Merged
wangzelin007 merged 8 commits into
Azure:devfrom
wangzelin007:test-containerapp-20231124
Dec 4, 2023
Merged

Optimize azdev test and azdev style#424
wangzelin007 merged 8 commits into
Azure:devfrom
wangzelin007:test-containerapp-20231124

Conversation

@wangzelin007
Copy link
Copy Markdown
Member

@wangzelin007 wangzelin007 commented Dec 1, 2023

  1. Add some examples for azdev test.

  2. When the extension name and module name are the same, let azdev style tests the extension instead of the main module.
    When executing azdev style containerapp, the base_name of the extension path is the same as the base_name of the module path.
    Module will execute _update_table before extension, and once hit, the remove operation will be executed.
    As a result, azdev style containerapp can never hit containerapp extension.
    So adjust the order of _update_table to ensure that extension is updated first.
    image
    image
    image

  3. Bug fixes for _detected_tested_command, strictly limited to starting with test and ending with .py or .yaml
    image

@azure-client-tools-bot-prd
Copy link
Copy Markdown

Hi @wangzelin007,
Please write the description of change into HISTORY.rst.
If you want to release a new azdev version, please update the VERSION in init.py as well.

@wangzelin007 wangzelin007 marked this pull request as ready for review December 4, 2023 03:23
@wangzelin007 wangzelin007 merged commit 47539ef into Azure:dev Dec 4, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants