Command Palette

Search for a command to run...

UnylyUnyly
Назад к скиллам

test-manager

БесплатноБез исполняемых скриптовНе проверен

Classifies a test of morphir-dotnet and gives its place, its form, its tags and its parallel rule. Covers unit, property, conformance, build, integration…

finosот finos★ 15 звёзд на GitHub

Об этом скилле

Test manager

morphir-dotnet has many test projects. This skill says where a test goes and which form it has, so that each person and each agent makes the same decision.

Use it in two modes:

  • Author mode: before you add, move, rename or delete a test, a feature file, a step, a driver or a test project.
  • Review mode: on a diff that changes tests. See Review mode.

The questions with examples from this repository are in references/classification.md. The feature, step and driver patterns are in references/black-box-patterns.md. Read the file for your case before you write the test.

Classify the test

Ask the questions in this order. Stop at the first answer that gives a class. The form of the product on which a test runs (the target) is never a question: it does not change the class.

Step Question Answer Class
1 Is it a feature of a kit suite (conformance/suites/), or does it need the kit library in the test process? yes conformance. Stop.
2 Is its subject the build of the repository: a project file, a build target, a workflow or a helper of the build? yes build. Stop. A test of a packed package or an installed tool is not a build test: continue.
3 Is it a loop over a corpus, a property test or a test with a time budget? yes The form is a framework test, not Gherkin. Continue with step 4 for the class.
4 Does it reach the product only through a built artifact (the command line of an executable, a package, a published folder, an archive)? no unit, or property if it states a law over generated inputs. Stop.
5 Does it prove the delivered form itself: installation, layout, start, or a property that the delivered form must have? yes end-to-end
6 Does it prove one user goal that needs two or more capabilities? yes journey
7 Does it prove only that an artifact starts and does one basic function (for example --version; for a library host: publish, run, compare)? yes smoke
8 Otherwise integration

A test that needs both a product assembly and an artifact is two tests. The part that needs the assembly stays in the unit test project. The part that needs only the artifact is a black-box test. Example: CSharpCliGenerationTests compares the files of the CLI with CSharpGenerator.Generate, and Integration/Generation.feature checks the behavior that needs only the CLI.

Words of the steps:

  • Capability: one command family of the product: for example verify a model (model verify), generate (generate), compile, configuration, migration. It has a driver interface, or it gets one with its second scenario (rule 10). Three different commands are three capabilities. A command that runs two times is one capability.
  • Journey: two or more capabilities for one goal of the user. Its last check is against that goal.
  • Smoke: the test proves that the artifact starts, and no more: --version, --help. A test that checks the result of a command (its report, its text, its files) checks a capability, so it is integration.

Place, form, tags and parallel rule

Class Place Form Tags or marker Parallel rule
unit The test project of the library, tests/<Library>.Tests A framework test: TUnit (C#) or Expecto (F#). Where the project has feature files for the same subject, follow the form of the tests beside it. PlatformSpecific if it uses the operating system (see docs/contributing/ci-os-matrix.md) Hermetic. Use TestSandbox and ChildProcess of tests/Morphir.TestSupport for a folder or a process.
property The test project of the library A property test of its framework As unit As unit
conformance conformance/suites/ with kit steps, or a test project that references src/Morphir.Conformance Kit feature, or framework test As unit As unit. It gets its executable from the target of the testing library.
build tests/Morphir.Build.Tests; for a PowerShell script of the repository, tests/Scripts TUnit; for a PowerShell script, Pester (<script>.Tests.ps1) None The TestBuild target runs the project after the pack step, and its dependency TestScripts runs the Pester tests.
integration tests/Morphir.BlackBox.Tests/Integration/ Gherkin scenario @integration Each scenario has its own workspace, so scenarios run at the same time.
end-to-end tests/Morphir.BlackBox.Tests/EndToEnd/ Gherkin scenario @e2e As integration
smoke tests/Morphir.BlackBox.Tests/Smoke/ Gherkin scenario @smoke As integration
journey tests/Morphir.BlackBox.Tests/Journeys/ Gherkin scenario @journey As integration

For a black-box test with the form of step 3 (corpus loop, property, time budget): write a TUnit class in the folder of its group th

Полный SKILL.md на GitHub

Установить test-manager в Claude Code и Claude Desktop

Зарегайся, чтобы установить скилл

Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.

  • Открой команду установки в одну строку
  • Сохраняй скиллы в синхронизируемую библиотеку
  • Уведомления, когда скиллы обновляются
Зарегаться бесплатноУ меня уже есть аккаунт

Разрешённые инструменты

Инструменты, которые скиллу разрешено вызывать.

Без ограничений — скилл может использовать любой инструмент.

Вложенные файлы

references/black-box-patterns.mdreferences/classification.md

FAQ

Что делает скилл test-manager?

Classifies a test of morphir-dotnet and gives its place, its form, its tags and its parallel rule. Covers unit, property, conformance, build, integration, end-to-end, smoke and journey tests, the black-box project tests/Morphir.BlackBox.Tests, Gherkin scenarios, step classes, test drivers, lanes, hosts and capabilities. Use before you add, move, rename or delete a test, a feature file, a step, a driver or a test project; when you do not know in which project a test belongs; when a test starts a process, runs a build or reads a built artifact; or when you review a diff that changes tests. Triggers include "add a test", "new test", "where does this test go", "integration test", "end-to-end test", "e2e", "smoke test", "user journey", "black-box test", "feature file", "Gherkin", "step definition", "test driver", "PlatformSpecific", "test project", "classify a test", "review tests".

Как установить скилл test-manager?

Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.

Скилл test-manager запускает скрипты?

Нет, скилл состоит только из инструкций (SKILL.md), без исполняемых скриптов.

Похожие скиллы

Сравнить test-manager с