mirror of
https://github.com/hasura/graphql-engine.git
synced 2024-12-15 01:12:56 +03:00
add run-new.sh docs
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/7278 GitOrigin-RevId: 6c17cc846b39a4236f65dd5ab6baac4529b38f4c
This commit is contained in:
parent
df7234fe7d
commit
57f456a4cf
@ -87,6 +87,16 @@ If you have to customise any of the options for ghcide/hls, you should instead c
|
||||
cp sample.hie.yaml hie.yaml
|
||||
```
|
||||
|
||||
### Run and test via `run-new.sh`
|
||||
|
||||
The `run-new.sh` scripts are an active work in progress, and will eventually replace the `dev.sh` option below.
|
||||
|
||||
Run the Python integration tests with `./server/tests-py/run-new.sh`.
|
||||
|
||||
Filter on specific test files with `./server/tests-py/run-new.sh -- create_async_action_with_nested_output_and_relation.py`
|
||||
|
||||
If you have any issues with `run-new.sh`, please create a [GitHub issue](https://github.com/hasura/graphql-engine/issues/new/choose) and run and test via `dev.sh` instead.
|
||||
|
||||
### Run and test via `dev.sh`
|
||||
|
||||
The `dev.sh` script in the top-level `scripts/` directory is a turnkey solution to build, run, and
|
||||
|
@ -9,13 +9,23 @@ information on how to update test dependencies.
|
||||
|
||||
## Running tests
|
||||
|
||||
Tests can be run using the `dev.sh` script or directly using `pytest`.
|
||||
Tests can be run using `run-new.sh`, `dev.sh` or directly using `pytest`.
|
||||
|
||||
Please note that running the `BigQuery` tests requires a few manual steps.
|
||||
|
||||
### Running tests via dev.sh
|
||||
### Run and test via `run-new.sh`
|
||||
|
||||
The easiest way to run the test suite is to do:
|
||||
The `run-new.sh` scripts are an active work in progress, and will eventually replace the `dev.sh` option below.
|
||||
|
||||
The easiest way to run the test suite is to:
|
||||
|
||||
Run the Python integration tests with `./server/tests-py/run-new.sh`.
|
||||
|
||||
Filter on specific test files with `./server/tests-py/run-new.sh -- create_async_action_with_nested_output_and_relation.py`
|
||||
|
||||
If you have any issues with `run-new.sh`, please create a [GitHub issue](https://github.com/hasura/graphql-engine/issues/new/choose) and run and test via `dev.sh` instead.
|
||||
|
||||
### Running tests via dev.sh
|
||||
|
||||
```sh
|
||||
scripts/dev.sh test --integration
|
||||
|
Loading…
Reference in New Issue
Block a user