Merge pull request #237 from daviwil/update-regression-tests
Update regression test specs and generators
This commit is contained in:
Коммит
cae8c4bd63
|
@ -40,7 +40,12 @@ specs:
|
||||||
- httpInfrastructure.json
|
- httpInfrastructure.json
|
||||||
- httpInfrastructure.quirks.json
|
- httpInfrastructure.quirks.json
|
||||||
- lro.json
|
- lro.json
|
||||||
|
- media_types.json
|
||||||
- model-flattening.json
|
- model-flattening.json
|
||||||
|
- multiapi-v1.json
|
||||||
|
- multiapi-v2.json
|
||||||
|
- multiapi-v3.json
|
||||||
|
- object-type.json
|
||||||
- paging.json
|
- paging.json
|
||||||
- parameter-flattening.json
|
- parameter-flattening.json
|
||||||
- report.json
|
- report.json
|
||||||
|
@ -61,34 +66,31 @@ languages:
|
||||||
outputPath: ../modelerfour/test/regression/python
|
outputPath: ../modelerfour/test/regression/python
|
||||||
oldArgs:
|
oldArgs:
|
||||||
- --v3
|
- --v3
|
||||||
- --use:@autorest/python@5.0.0-dev.20200225.1
|
- --use:@autorest/python@5.0.0-dev.20200326.1
|
||||||
newArgs:
|
newArgs:
|
||||||
- --v3
|
- --v3
|
||||||
- --use:../modelerfour
|
- --use:../modelerfour
|
||||||
- --use:@autorest/python@5.0.0-dev.20200225.1
|
- --use:@autorest/python@5.0.0-dev.20200326.1
|
||||||
- language: typescript
|
- language: typescript
|
||||||
excludeSpecs:
|
excludeSpecs:
|
||||||
# The following specs currently crash the v3 TypeScript generator
|
# The following specs currently crash the v3 TypeScript generator
|
||||||
- additionalProperties.json
|
|
||||||
- azure-parameter-grouping.json
|
|
||||||
- azure-special-properties.json
|
- azure-special-properties.json
|
||||||
- body-array.json
|
|
||||||
- body-dictionary.json
|
|
||||||
- body-formdata-urlencoded.json
|
- body-formdata-urlencoded.json
|
||||||
- body-formdata.json
|
- body-formdata.json
|
||||||
- custom-baseUrl-paging.json
|
|
||||||
- header.json
|
|
||||||
- lro.json
|
- lro.json
|
||||||
|
- media_types.json
|
||||||
- model-flattening.json
|
- model-flattening.json
|
||||||
- paging.json
|
- multiapi-v3.json
|
||||||
- required-optional.json
|
- required-optional.json
|
||||||
outputPath: ../modelerfour/test/regression/typescript
|
outputPath: ../modelerfour/test/regression/typescript
|
||||||
oldArgs:
|
oldArgs:
|
||||||
- --v3
|
- --v3
|
||||||
- --package-name:test-package
|
- --package-name:test-package
|
||||||
- --use:@autorest/typescript@0.1.0-dev.20200203.1
|
- --title:TestClient
|
||||||
|
- --use:@autorest/typescript@6.0.0-dev.20200325.1
|
||||||
newArgs:
|
newArgs:
|
||||||
- --v3
|
- --v3
|
||||||
- --package-name:test-package
|
- --package-name:test-package
|
||||||
|
- --title:TestClient
|
||||||
- --use:../modelerfour
|
- --use:../modelerfour
|
||||||
- --use:@autorest/typescript@0.1.0-dev.20200203.1
|
- --use:@autorest/typescript@6.0.0-dev.20200325.1
|
||||||
|
|
|
@ -37,3 +37,6 @@ steps:
|
||||||
|
|
||||||
- script: autorest-compare --compare:.scripts/regression-compare.yaml --language:python
|
- script: autorest-compare --compare:.scripts/regression-compare.yaml --language:python
|
||||||
displayName: Regression Test - @autorest/python
|
displayName: Regression Test - @autorest/python
|
||||||
|
|
||||||
|
# - script: autorest-compare --compare:.scripts/regression-compare.yaml --language:typescript
|
||||||
|
# displayName: Regression Test - @autorest/typescript
|
||||||
|
|
Загрузка…
Ссылка в новой задаче