defmodule AiDebugTestEngine.MixProject do use Mix.Project def project do [ app: :ai_debug_test_engine, version: "0.1.0", elixir: "~> 1.14", elixirc_paths: elixirc_paths(Mix.env()), start_permanent: Mix.env() == :prod, deps: deps(), description: description(), package: package(), docs: docs(), test_coverage: [tool: ExCoveralls], preferred_cli_env: [ coveralls: :test, "coveralls.detail": :test, "coveralls.post": :test, "coveralls.html": :test ] ] end # Run "mix help compile.app" to learn about applications. def application do [ extra_applications: [:logger, :runtime_tools], mod: {AiDebugTestEngine.Application, []} ] end # Specifies which paths to compile per environment. defp elixirc_paths(:test), do: ["lib", "test/support"] defp elixirc_paths(_), do: ["lib"] # Run "mix help deps" to learn about dependencies. defp deps do [ # Core dependencies {:jason, "~> 1.4"}, {:tesla, "~> 1.7"}, {:hackney, "~> 1.18"}, {:uuid, "~> 1.1"}, {:cachex, "~> 3.6"}, # Browser automation {:wallaby, "~> 0.30"}, {:chromedriver, "~> 0.0.1", only: :test}, # Image processing for visual regression {:mogrify, "~> 0.9"}, {:image, "~> 0.38"}, # Performance monitoring {:telemetry, "~> 1.2"}, {:telemetry_metrics, "~> 0.6"}, {:telemetry_poller, "~> 1.0"}, # Testing and development {:ex_doc, "~> 0.29", only: :dev, runtime: false}, {:credo, "~> 1.7", only: [:dev, :test], runtime: false}, {:dialyxir, "~> 1.3", only: [:dev], runtime: false}, {:excoveralls, "~> 0.16", only: :test}, {:mock, "~> 0.3", only: :test}, {:bypass, "~> 2.1", only: :test} ] end defp description() do """ AI Debug Test Engine - A powerful test generation and execution engine that converts debugging sessions into comprehensive, maintainable test suites. Part of the "Debug Once, Test Forever" philosophy. """ end defp package() do [ name: "ai_debug_test_engine", licenses: ["MIT"], links: %{ "GitHub" => "https://github.com/ai-debug/ai-debug-test-engine", "Documentation" => "https://hexdocs.pm/ai_debug_test_engine" }, maintainers: ["AI Debug Team"], files: ~w(lib priv .formatter.exs mix.exs README* LICENSE* CHANGELOG*) ] end defp docs() do [ main: "readme", extras: ["README.md", "LICENSE"], groups_for_modules: [ "Core": [ AiDebugTestEngine.TestGenerator, AiDebugTestEngine.TestRunner, AiDebugTestEngine.ValidationOrchestrator ], "Browser Automation": [ AiDebugTestEngine.DeterministicBrowser, AiDebugTestEngine.BrowserPool ], "Visual Regression": [ AiDebugTestEngine.VisualRegression.Engine, AiDebugTestEngine.VisualRegression.ImageComparison, AiDebugTestEngine.VisualRegression.Storage ], "Performance": [ AiDebugTestEngine.Performance.Profiler, AiDebugTestEngine.Performance.Metrics, AiDebugTestEngine.Performance.Reporter ] ] ] end end