archethic-foundation / archethic-foundation/aeweb-cli

Tests for CLI Command Deploy

Open
#104 0 comments 0 reactions 0 assignees View on GitHub
testing
Dominant language
JavaScript
Stars
6
Forks
10
PR merge metrics
No merged PRs in 30d

Description

### Is your feature request related to a problem?

We should test all the branching of deploy command.

### Describe the solution you'd like

we can leverage
- [ ] mock-stdin
- [ ] mock-websocket
https://github.com/phoenixframework/phoenix/blob/main/assets/test/socket_test.js

### Additional context

_No response_

Contributor guide

No contributing guide indexed for this repository

Research direction

Start at the CLI's deploy command and review its branching behavior. Use the proposed mock-stdin and mock-websocket approaches, with Phoenix's assets/test/socket_test.js as a reference, and add coverage for all deploy branches; done means the command's branching behavior is exercised by tests.

Written by the indexing model from the issue text.

Assessment

Tech stack
javascript, nodejs
Domain
cli, testing-qa
Issue type
Feature
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
45/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.