Giter VIP home page Giter VIP logo

rebase-test-cases's Introduction

rebase-test-cases

This repository contains a number of rebase test cases, tailored to ensure GitHub Desktop handles them appropriately as part of the upcoming rebase workflows.

In all scenarios where a conflict is encountered, the user should be able to abort the rebase which returns them to the target branch.

Scenarios

Simple Rebase

  • simple rebase without conflicts
    • changes in the target branch do not overlap with the base branch
    • Desktop should display the rebase progress (even for a simple rebase), and then indicate the rebase completed without encountering conflicts
  • simple rebase with simple conflict
    • changes in the target branch overlap with work in the base branch
    • Desktop should display the rebase progress, ask the user to resolve a conflict, then indicate the rebase has completed
  • simple rebase with multiple conflicts
    • changes in the target branch overlap with work in the base branch and need significant work to resolve
    • Desktop should display the rebase progress, ask the user to resolve a conflict whenever the rebase stops, then indicate the rebase has completed

Manual resolution

Edge cases

  • gitignore change on base branch
    • gitignore rules on base branch which clashes with target branch commits
    • tracked file matching pattern is included
    • untracked file matching pattern is hidden

Complex Rebase

  • complex rebase without conflicts
    • changes in the target branch do not overlap with the base branch
    • Desktop should display the rebase progress, and then indicate it has completed
  • complex rebase with simple conflict
    • changes in the target branch overlap with work in the base branch
    • Desktop should display the rebase progress, ask the user to resolve a conflict, then indicate the rebase has completed
  • complex rebase with multiple conflicts
    • changes in the target branch overlap with work in the base branch and need significant work to resolve
    • Desktop should display the rebase progress, ask the user to resolve a conflict whenever the rebase stops, then indicate

Rebase with binary files

  • both branches modify the same image
    • conflict detected
    • application asks user to choose which version of the file to use
    • application sets the right version and continues the rebase

rebase-test-cases's People

Contributors

shiftkey avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.