Code Monkey home page Code Monkey logo

git-bug's People

Contributors

adamslc avatar auyer avatar j-f1 avatar ludovicm67 avatar michaelmure avatar monkeywithacupcake avatar sandhose avatar tplk avatar vandesign avatar x4m3 avatar zetok avatar

Watchers

 avatar  avatar  avatar

git-bug's Issues

Cleaner package needs Tests

What and why it needs tests:

The cleaner Package is resposible for detecting a kill signal, and running all cleaning functions registered in it.
At the current state, it cleans the lockfiles that are created while the commands are running. It gets created in .git/git-bug/lockfile

Triggering the function requires sending a kill/interrupt/SIGINT signal ( like ctrl + c ).
The test should be able to send that signal without killing the test itself.

The test does not need to create files or delete files. It only needs to check if the functions are beign executed correcly when the signal is recieved.

To reproduce the issue solved by this package:

Assuming you installed the package with go install, I suggest adding various bugs to a git repository with git bug add. After that, run git bug ls and interrupt the process in the middle with ctrl + c.
Copy this part to create 500 bugs:
for i in `seq 1 500`; do git bug add -t "testbug" -m "bug message"; done

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.