Skip to content

Conversation

@iteyelmp
Copy link
Collaborator

This PR introduces end-to-end test scripts for GoE, covering all basic GoE commands as well as essential Git operations. The tests include repository initialization, branch creation, commits, pushes (including force and non-fast-forward scenarios), merges, fetches, and clone verification. These scripts ensure the correct integration of GoE with Git and provide a stable foundation for future protocol testing.

@iteyelmp iteyelmp changed the title Add GoE test scripts covering core commands and Git operations draft: Add GoE test scripts covering core commands and Git operations Jan 19, 2026
@iteyelmp iteyelmp changed the title draft: Add GoE test scripts covering core commands and Git operations Add GoE test scripts covering core commands and Git operations Jan 20, 2026
process.chdir(clonePath);

await runCommand('git', ['fetch', 'origin']);
const success = await runCommand('git', ['log', 'origin/main', '--oneline', '-1'], { capture: true });
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Why does this command verify that git fetch retrieved the latest commit?


// goe
await npmLink();
await checkWalletExists();
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It seems there is no wallet creation test?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants