Autodesk / Autodesk/shore

Improve integration tests coverage

Open
#51 0 comments 0 reactions 0 assignees View on GitHub
DevX Shore-CLI
Dominant language
Go
Stars
21
Forks
4
PR merge metrics
No merged PRs in 30d

Description

Original Author: @slonokot

Follow up issue on the initial integration tests

Our exec and test-remote cmds aren't checking properly the outcomes with the existing mocks.

* Evaluate gomock framework
* Do a research on other solutions (say terraform)
* validate parallelism on tests work at the moment they are running sequentially
* do more "typed" error tests validations: we currently check error messages equality instead of checking error types and values where needed

Contributor guide

No contributing guide indexed for this repository

Research direction

Start by reading the existing integration tests and mocks used by the exec and test-remote commands. Evaluate gomock and the mentioned Terraform approach, then check whether the tests can run in parallel and where typed error validation is needed. Done means outcomes are properly verified, parallelism is validated, and error types and values are checked where appropriate.

Written by the indexing model from the issue text.

Assessment

Tech stack
go, terraform
Domain
cli, testing
Issue type
Refactor
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.