- Set the FunctionAppUrl environment variable by
$env:FunctionAppUrl = "localhost:7071"
- Create and activate a virtual environment
- To start the test_apps and run the test using run_tests script
- Run the test script
.\run_tests\run_local.ps1 -AppPath v2\python\36
- Run the test script
- Alternatively, to get more error details and test manually
- resolve python dependencies by
pip install .\test_apps\v2\python\36\requirements.txt
- start the function host by
cd .\test_apps\v2\python\36; func host start
- run a test collection by
python -m pytest .\tests\v2\python\36
- or run a specific test by
python -m pytest .\tests\v2\python\36\test_v2_python_36_http.py::TestV2Python36Http::test_keyword_async_trigger
- resolve python dependencies by
-
Notifications
You must be signed in to change notification settings - Fork 1
maiqbal11/azure-functions-devops-cli-test
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
About
Test suite for running integration tests.
Resources
Stars
Watchers
Forks
Releases
No releases published
Packages 0
No packages published