跳到技能内容
词映 AI导航
发现工具选型指南Skills 技能AI 快讯AI图片AI视频AI文档AI办公AI助手AI搜索AI编程AI音频AI设计AI智能体模型与开发AI学习模型评测AI提示词内容检测AI金融AI 3D扫描与识别其他工具跨境电商 AI
词映 AI导航
工具库Skills 技能
我的收藏
词映 AI导航
发现工具选型指南Skills 技能AI 快讯AI图片AI视频AI文档AI办公AI助手AI搜索AI编程AI音频AI设计AI智能体模型与开发AI学习模型评测AI提示词内容检测AI金融AI 3D扫描与识别其他工具跨境电商 AI
Skills directory/ccarvalho-eng/codex-elixir-phoenix/elixir-phoenix-testing

Codex Test Phoenix Async Completion with ExUnit Messages

Choose the right Phoenix test case and assert an observable completion signal for local asynchronous work.

中文

Install in Codex

Use a Phoenix or Elixir project where `mix test` runs locally.

  1. Copy the pinned `skills/elixir-phoenix-testing/` directory into `.agents/skills/elixir-phoenix-testing/` in the project.
  2. Read `references/exunit-patterns.md` in Codex and determine whether the behavior is pure, database-backed, or a LiveView interaction.

Example task

Test a local CSV summary task that sends `{:summary_ready, 3}` to the test process. Use `assert_receive` to verify the three processed rows.

What to check

The test waits for the completion message and distinguishes the expected count, an incorrect count, and timeout.

Original SKILL.md on GitHub · Updated 2026-11-13

Frequently asked question

When should a fixture actually be inserted?

Insert it when verifying persistence, database identifiers, constraints, or associations. Build an in-memory fixture for pure logic.

Related skills from this repository

  • Codex Search and Document Known Phoenix Solutions
  • Codex Ecto Migration Planning for a PostgreSQL Column Backfill
  • Codex Document New Elixir Modules and Public Functions
Browse Codex skills in the Chinese directory
词映 AI 导航Skills 技能
工具分类全部工具已本地化技能选型指南AI 快讯