Project tracker for teams shipping with agents

Stories that ship with their tests.

Tesna is a project tracker for teams shipping with AI coding agents. It drafts the test cases with each story, before your agent writes code, so the agent builds against the spec and not its own guess.

Start free

Works with Claude Code, Cursor, Codex and other MCP clients.

Your agent shouldn't grade its own homework.

An agent that writes a feature and its tests from one ticket checks its own reading of the ticket.

The tests pass because they match what it understood. Nothing checked them against the spec.

On agents verifying their own patches, the paper “Teaching Agents to Code Reliably” says “a test the agent writes for its own patch accepts many incorrect ones”. arXiv 2610.03984

Test cases drafted with the story, from your spec.

  1. Paste a few lines, or upload a PDF, Markdown or text file. A PRD is fine.

  2. Tesna asks about the gaps. Your answer becomes a criterion and a test case.

  3. Untick what you don't want, edit any line, then publish.

Your agent reads the story and its tests over MCP.

Give Claude Code, Cursor or Codex a story ID. It reads the description, the acceptance criteria and every test case before it writes code.

Build CHE-1

tesna get_story_context

"title": "Apple Pay on checkout",

"status": "To Do",

tesna get_story_test_cases

"title": "Apple Pay button shows on Safari",

"title": "Cancelled sheet keeps the cart",

"action": "Cancel the sheet",

"expected": "The cart keeps its item"

"title": "Receipt shows last four digits",

tesna start_story

"message": "Applied on CHE-1: moved to In Progress. The user can undo it in Tesna."

const session = new ApplePaySession(3, request);

session.onpaymentauthorized = pay;

session.begin();

tesna update_story_progress

"message": "Applied on CHE-1: 1 task done, moved to In QA. The user can undo it in Tesna."

It ticks the task it finished and moves the story to In QA. You can undo that in one click.

Agents ask before they change a test.

Claude Code wants a weaker check and one test gone. Neither happens until someone on the team approves it.

Reads
Stories, specs, test cases and failures.
Applies at once, and you can undo it
Adding a test. Ticking a task. Moving a story to In Progress or In QA.
Waits for a person
Editing a test. Deleting a test. Rewriting the acceptance criteria.
Read-only token
Reads, and nothing else.

Stories, tasks, tests and bugs in one tracker.

Tesna keeps the spec, the story, its dev tasks, its test cases, its runs and its bugs together. Your team and your agent open the same story.

The case came from the spec. The run found what the code missed on iOS.

The spec

A story drafted from a spec keeps a link to it.

The test cases

Drafted with the story. Reviewed before they reach the board.

Your team

Runs the cases, marks each result, files the bugs, comments.

Your agent

Reads the story over MCP. Asks before it changes or deletes a test.

Questions about Tesna

What is Tesna?

Tesna is a project tracker for teams shipping with AI coding agents. Stories, dev tasks, test cases, runs and bugs live in one place. When you start from a spec, Tesna drafts the test cases with each story, before any code is written.

Can Tesna write test cases from a PRD or a spec?

Yes. Paste rough notes or upload a PDF, Markdown or text file. Tesna drafts stories, dev tasks and test cases with steps and expected results, and asks about what the spec leaves out. You edit the draft, then publish it to the board.

Which coding agents work with Tesna?

Claude Code, Cursor and Codex have a ready setup snippet in Tesna. Any other client that speaks MCP over HTTP can connect with a personal token.

How does an agent use the test cases?

It asks Tesna for the story by its ID over MCP and reads the description, the acceptance criteria and every test case before it writes code. The tests come from the spec, so the agent is not checking only its own reading of the ticket.

Can an agent change or delete a test?

It can ask. Editing or deleting a test, or rewriting the acceptance criteria, waits for a person to approve it. An agent can add a test and report progress straight away, and you can undo both. You can also give it a read-only token.

Does Tesna run my tests?

No. People run test cases in Tesna and mark each result. Your CI runs the automated tests and sends the results to Tesna as JUnit XML or JSON. They appear on the story.

Do I need to bring a finished spec?

No. A few rough bullets are enough. Tesna lists the questions your notes did not answer, and you answer them before you publish. You can also create a story by hand and add its test cases yourself.

This page has test cases too. Run them.

You have read the page. Mark each case Pass, Failed, Blocked or Skip, as your team would in Tesna.

WEB-1Explain Tesna to a stranger

  1. 1

    You can say what Tesna is

    Step: Read the first sentence on the page

    Expected: You could repeat it to a teammate

  2. 2

    You have met the problem

    Step: Think of the last pull request your agent opened

    Expected: It wrote the code and the tests

  3. 3

    You can see where the tests come from

    Step: Look at the draft of CHE-1

    Expected: It came from a spec, before any code

  4. 4

    You know what your agent reads first

    Step: Read the terminal

    Expected: The story, then every test case on it

  5. 5

    You know what waits for you

    Step: Read the request from Claude Code

    Expected: Edits and deletions, until you approve

  6. 6

    You know what is in the tracker

    Step: Look at CHE-1 and the board

    Expected: Stories, tasks, tests and bugs

  7. 7

    Your question has an answer

    Step: Read the seven questions

    Expected: Yours is one of the seven

Connect your agent on day one.

Create a workspace, bring a spec, and hand your agent the tests first.

Start free
Setup command for your agent
claude mcp add --transport http tesna https://app.tesna.dev/api/v1/mcp \
  --header "Authorization: Bearer $TESNA_TOKEN"
{
  "mcpServers": {
    "tesna": {
      "url": "https://app.tesna.dev/api/v1/mcp",
      "headers": {
        "Authorization": "Bearer <your tsp_ token>"
      }
    }
  }
}
codex mcp add tesna --url https://app.tesna.dev/api/v1/mcp \
  --bearer-token-env-var TESNA_TOKEN
Transport: Streamable HTTP
URL: https://app.tesna.dev/api/v1/mcp
Header: Authorization: Bearer <your tsp_ token>