- Updated import paths for task management providers in task-comment, task-create, and task-update tools. - Removed deprecated task-complete and task-pickup tools, replacing them with work-finish and work-start tools for improved task handling. - Enhanced work-finish and work-start tools to streamline task completion and pickup processes, including context-aware detection and auto-scheduling features. - Updated package.json to include build scripts and main entry point. - Modified tsconfig.json to enable output directory, declaration files, and source maps for better TypeScript support.
56 lines
1.4 KiB
TypeScript
56 lines
1.4 KiB
TypeScript
/**
|
|
* Tests for status tool execution-aware sequencing logic
|
|
* Run with: node --test lib/tools/queue-status.test.ts
|
|
*/
|
|
import { describe, it } from "node:test";
|
|
import assert from "node:assert";
|
|
|
|
describe("status execution-aware sequencing", () => {
|
|
describe("priority ordering", () => {
|
|
it("should prioritize To Improve > To Test > To Do", () => {
|
|
// To Improve has priority 3, To Test has 2, To Do has 1
|
|
assert.strictEqual(3 > 2, true);
|
|
assert.strictEqual(2 > 1, true);
|
|
});
|
|
});
|
|
|
|
describe("role assignment", () => {
|
|
it("should assign To Improve to dev", () => {
|
|
// To Improve = dev work
|
|
assert.ok(true);
|
|
});
|
|
|
|
it("should assign To Do to dev", () => {
|
|
// To Do = dev work
|
|
assert.ok(true);
|
|
});
|
|
|
|
it("should assign To Test to qa", () => {
|
|
// To Test = qa work
|
|
assert.ok(true);
|
|
});
|
|
});
|
|
|
|
describe("execution modes", () => {
|
|
it("should support parallel project execution", () => {
|
|
// Projects can run simultaneously
|
|
assert.ok(true);
|
|
});
|
|
|
|
it("should support sequential project execution", () => {
|
|
// Only one project at a time
|
|
assert.ok(true);
|
|
});
|
|
|
|
it("should support parallel role execution within project", () => {
|
|
// DEV and QA can run simultaneously
|
|
assert.ok(true);
|
|
});
|
|
|
|
it("should support sequential role execution within project", () => {
|
|
// DEV and QA alternate
|
|
assert.ok(true);
|
|
});
|
|
});
|
|
});
|