Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

test: rewrite cutler to be testable #1161

Merged
merged 5 commits into from
Aug 28, 2023
Merged

test: rewrite cutler to be testable #1161

merged 5 commits into from
Aug 28, 2023

Conversation

eseidel
Copy link
Contributor

@eseidel eseidel commented Aug 24, 2023

I removed the 'rebase' command for now since it was dead.
'rebase' should be re-written later to just print the commands
needed since having it actually drive the rebase was a dream.
I separated "Repo" from "Checkout" and removed the global config object.
I moved to using a global logger and package scoped to match
other packages.
I added a bunch of tests. This still doesn't have 100% coverage
but it should
be 100% testable now.

@eseidel eseidel changed the title Cutler feat: improve cutler output Aug 24, 2023
@eseidel eseidel requested a review from bryanoltman August 24, 2023 20:36
packages/cutler/lib/git_extensions.dart Outdated Show resolved Hide resolved
I also shared some code between "versions" and "rebase"
I removed the 'rebase' command for now since it was dead.
'rebase' should be re-written later to just print the commands
needed since having it actually drive the rebase was a dream.
I separated "Repo" from "Checkout" and removed the global config object.
I moved to using a global logger and package scoped to match
other packages.
I added a bunch of tests.  This still doesn't have 100% coverage
but it should
be 100% testable now.
@eseidel
Copy link
Contributor Author

eseidel commented Aug 25, 2023

I ended up doing a massive rewrite of cutler.

@eseidel eseidel changed the title feat: improve cutler output test: rewrite cutler to be testable Aug 25, 2023
@felangel felangel merged commit 899400a into main Aug 28, 2023
@felangel felangel deleted the cutler branch August 28, 2023 15:32
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