argumentcomputer / argumentcomputer/LSpec

Recover from tests that loop

Open
#26 0 comments 0 reactions 0 assignees View on GitHub
bug enhancement
Dominant language
Lean
Stars
84
Forks
18
Avg merge
2d 16h
Merged PRs (30d)
2

Description

Here's an idea:

The `lspec` binary would search for a text file containing some configurations for LSpec, including the maximum time allowed for each test file to run. The challenge, then, is to kill the task programmatically if the consumed time is exceeded.

Extra: eventually the config file could contain more customizable options like tests to be skipped etc.

Contributor guide

No contributing guide indexed for this repository

Research direction

Start by examining the `lspec` binary and how it runs each test file. Determine how a text configuration file could specify a maximum runtime and how an over-time test process should be stopped. Done means looping tests are terminated after the configured limit, while the extra skip options remain future scope.

Written by the indexing model from the issue text.

Assessment

Domain
cli, testing, tooling
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.