getappmap / getappmap/appmap-js

Failure when loading test configuration

Open
#798 1 comment 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

bug
Dominant language
TypeScript
Stars
53
Forks
18
Avg merge
3d 18h
Merged PRs (30d)
8

Description

TypeError: Cannot create property 'env' on string 'pytest .'
at areTestCasesConfigured (@appland/appmap/built/cmds/record/test/areTestCommandsConfigured.js:14:49)
at test (@appland/appmap/built/cmds/record/state/record_test.js:12:55)
at commandFn (@appland/appmap/built/cmds/record/record.js:87:38)
at async runCommand (@appland/appmap/built/cmds/runCommand.js:14:21)

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start at appmap-js/built/cmds/record/test/areTestCommandsConfigured.js:14, then trace its caller in built/cmds/record/state/record_test.js and built/cmds/record/record.js. Reproduce the failure while loading the pytest configuration and determine why the configured command is treated as a string; done means the test configuration loads without the reported TypeError.

Written by the indexing model from the issue text.

Assessment

Tech stack
typescript
Domain
cli, testing
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
28/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.