How to run a task which expect to fail?
Nobody has claimed this yet.
- Dominant language
- TypeScript
- Stars
- 5.9k
- Forks
- 1.8k
- PR merge metrics
- No merged PRs in 30d
Description
I want to run compilation commands with various arguments. Some of them should be successful, and others should be failed. I wonder how to deal with the "should fail" tasks.
If no way to do it, I hope this feature could be added.
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
The issue names only compilation commands, task arguments, and tasks expected to fail; it does not identify a package, file, or test. Start by locating the toolkit API that runs tasks or commands and its existing tests, then define how expected failures are represented and verified. Done means successful and intentionally failing compilations can both be exercised with unambiguous results.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- github-actions, typescript
- Domain
- ci-cd
- Issue type
- Feature
- Difficulty
- 5/5
- Estimated time
- Over a week
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100