Git Product home page Git Product logo

Comments (3)

nbehrnd avatar nbehrnd commented on June 6, 2024

Branch retract of my fork about date2name (here) now extends testing to trace the script's affect on files or folders to prepend the five fixed formats and how these stamps are removed. Consistent with earlier observation, the difficulty to retract a --withtime stamp is met again for folders.

The current head in this branch still represents an early development version, aiming for a similar test coverage about files and tests. In addition to the default check across all test functions the Makefile offers, the tests are marked. Thus e.g., a call like

pytest-3 test_date2name.py -m "remove and folders"

constrains the scope of the tests performed to only 10 relevant (only -r and --remove for folders) out of a set of 110 test functions defined. In this perspective, test_generator.org and its tangled files possibly are good enough for you/any other interested to improve how date/time stamps are removed. All other tests implemented pass (i.e. in total, 4 fail, 116 pass; success rate .ge. 96%)

The part testing date2name's action on folders repeats much of the part testing about files. Perhaps I identify improvements for these series of tests relying on the permutation of parameters. If filing a pull request, I probably should condense the changes of multiple individual commits into a single one; this is a technique I have to get familiar anyway.

from date2name.

novoid avatar novoid commented on June 6, 2024

Sounds great - thanks.

I have to admit that I'm not using --remove myself so far.

Looking forward for your pull request. To me, it doesn't matter. I'd gladly accept separate requests as well.

from date2name.

nbehrnd avatar nbehrnd commented on June 6, 2024

The commits by 2021-11-25 resolve the problem, the issue is closed.

from date2name.

Related Issues (12)

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.