You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Note that `mix test.all` runs the tests in `test/` and the `integration_test`s for each adapter: `pg`, `myxql` and `tds`.
25
-
26
-
You can also use a local Ecto checkout if desired:
24
+
In case you are modifying Ecto and EctoSQL at the same time, you can configure EctoSQL to use an Ecto version from your machine by running:
27
25
28
26
$ ECTO_PATH=../ecto mix test.all
29
27
30
-
You can run tests against a specific Ecto adapter by using the `ECTO_ADAPTER` environment variable:
28
+
### Running integration tests
29
+
30
+
The command above will run unit tests. EctoSQL also has a suite of integration tests for its built-in adapters: `pg`, `myxql` and `tds`. If you are changing logic specific to a database, we recommend running its respective integration test suite as well. Doing so requires you to have the database available locally. MySQL and PostgreSQL can be installed directly on most systems. For MSSQL, you may need to run it as a Docker image:
It is also possible to run the integration tests under a containerized environment using [earthly](https://earthly.dev/get-earthly):
44
+
It is also possible to run the integration tests under a containerized environment using [earthly](https://earthly.dev/get-earthly). You will also need Docker installed on your system. Then you can run:
0 commit comments