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

Implement golden tests for hit status command #124

Open
10 tasks
chshersh opened this issue Oct 13, 2019 · 0 comments
Open
10 tasks

Implement golden tests for hit status command #124

chshersh opened this issue Oct 13, 2019 · 0 comments
Labels

Comments

@chshersh
Copy link
Contributor

git output has many corner cases and specific things. hit status command periodically refactors and changes. So it would be good to implement some golden testing for the git input and hit status output.

Current tests I can think of:

  • One changed file
  • One added file
  • One changed and another deleted file
  • Added a binary file
  • Hidden files in a different order in two git commands
  • Renamed file without changes
  • Renamed file and some changes in that file
  • Renamed file and some other files
  • Renamed file with curly braces changed file inside the middle of a path
  • Ideally all examples from docs
@chshersh chshersh added the tests label Oct 13, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant