Explore
Sign In
skills/fastapi__fastapi
1
0
Fork 0
You've already forked fastapi__fastapi
mirror of https://github.com/fastapi/fastapi.git synced 2026-09-14 13:36:21 +08:00
Code Issues Packages Projects Releases Wiki Activity
Files
0.25.0
fastapi__fastapi/scripts/test.sh
T

14 lines
236 B
Bash
Raw Permalink Normal View History

:white_check_mark: Error out when tests fail
2018-12-09 19:56:37 +04:00
#!/usr/bin/env bash
set -e
set -x
:construction_worker: Add scripts, stolen from Starlette
2018-12-08 11:58:24 +04:00
Update fix SQLAlchemy support with ORM (#30) :sparkles: SQLAlchemy ORM support Improved jsonable_encoder with SQLAlchemy support, tests running with SQLite, improved and updated SQL docs * :heavy_plus_sign: Add SQLAlchemy to development dependencies (not required for using FastAPI) * :heavy_plus_sign: Add sqlalchemy to testing dependencies (not required to use FastAPI)
2019-02-12 23:02:21 +04:00
# Remove temporary DB
if [ -f ./test.db ]; then
rm ./test.db
fi
:memo: Move tutorial src files to top level docs
2018-12-21 16:22:33 +04:00
export PYTHONPATH=./docs/src
:white_check_mark: Add test-cov-html script for local coverage analysis and debugging
2018-12-22 07:42:24 +04:00
pytest --cov=fastapi --cov=tests --cov=docs/src --cov-report=term-missing ${@}
:wrench: Separate format and lint scripts (#232)
2019-05-15 22:13:06 +04:00
bash ./scripts/lint.sh
Reference in New Issue Copy Permalink
Version: v1.25.5 Page: 756ms Template: 3ms
Auto
English
Bahasa Indonesia Deutsch English Español Français Gaeilge Italiano Latviešu Magyar nyelv Nederlands Polski Português de Portugal Português do Brasil Suomi Svenska Türkçe Čeština Ελληνικά Български Русский Українська فارسی മലയാളം 日本語 简体中文 繁體中文(台灣) 繁體中文(香港) 한국어