An example AT Protocol application, written in Elixir using atex and Drinkup.
1import Config
2
3# Configure your database
4#
5# The MIX_TEST_PARTITION environment variable can be used
6# to provide built-in test partitioning in CI environment.
7# Run `mix help test` for more information.
8config :statusphere, Statusphere.Repo,
9 database: Path.expand("../statusphere_test.db", __DIR__),
10 pool_size: 5,
11 pool: Ecto.Adapters.SQL.Sandbox
12
13# We don't run a server during test. If one is required,
14# you can enable the server option below.
15config :statusphere, StatusphereWeb.Endpoint,
16 http: [ip: {127, 0, 0, 1}, port: 4002],
17 secret_key_base: "AjDaXXlcrR04FEL+g7EV1+pKX7Fnvuhp63uWWK4I8zwKYmgReKy4WxqvdSNDdoT7",
18 server: false
19
20# Print only warnings and errors during test
21config :logger, level: :warning
22
23# Initialize plugs at runtime for faster test compilation
24config :phoenix, :plug_init_mode, :runtime
25
26# Enable helpful, but potentially expensive runtime checks
27config :phoenix_live_view,
28 enable_expensive_runtime_checks: true
29
30# Sort query params output of verified routes for robust url comparisons
31config :phoenix,
32 sort_verified_routes_query_params: true