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

Integration tests for tools #43

Open
wants to merge 11 commits into
base: merge-2023-04-02
Choose a base branch
from
Open

Commits on Apr 2, 2023

  1. Configuration menu
    Copy the full SHA
    9401afd View commit details
    Browse the repository at this point in the history
  2. feat: copy template files to project

    This work include two new utilities, one to create a `StringTemplate`
    out of a file located inside of the new `/templates` directory, the
    other to copy a template file directly to the project.
    Julien00859 authored and fblanchetNaN committed Apr 2, 2023
    Configuration menu
    Copy the full SHA
    6f67d36 View commit details
    Browse the repository at this point in the history
  3. feat(license): choose a license from the CLI

    A software license is a file stored at the root of a project which
    explain what it is allowed to do with the project source code and under
    what conditions. e.g. a project is qualified as "open-source" when it is
    published with a license that allows to distribute and modify the
    project source code.
    
    Until now the license file generated by incipyt was a simple copyright
    notice which made it explicit that the current work was the intellectual
    property of its owner. Under internationnal laws, this forbid anyone
    from modifying the work without the express authorization of the author.
    
    In this work, we added a way so that the user can choose an open-source
    license instead of the copyright notice. We added `--license <license>`
    to the CLI arguments and bundled common open-source licenses such as MIT
    and GPL.
    
    The previous behavior, to simply include a copyright notice, is still
    possible thanks to `--license copyright`.
    Julien00859 authored and fblanchetNaN committed Apr 2, 2023
    Configuration menu
    Copy the full SHA
    1555681 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    933d5b9 View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    3f73a90 View commit details
    Browse the repository at this point in the history
  6. Configuration menu
    Copy the full SHA
    64d4f63 View commit details
    Browse the repository at this point in the history
  7. Configuration menu
    Copy the full SHA
    61ef17e View commit details
    Browse the repository at this point in the history
  8. Configuration menu
    Copy the full SHA
    19c4a6d View commit details
    Browse the repository at this point in the history
  9. fix: use yield in fixtures to clean globals environ and structure

    See https://docs.pytest.org/en/latest/how-to/fixtures.html#yield-fixtures-recommended
    pytest recommends using a yield construction to setup and teardown
    environments for tests. Here we use it to clean project.environ and
    project.structure to provide reliable initial project in any case.
    fblanchetNaN authored and Julien00859 committed Apr 2, 2023
    Configuration menu
    Copy the full SHA
    d1ecf02 View commit details
    Browse the repository at this point in the history
  10. Configuration menu
    Copy the full SHA
    31757fe View commit details
    Browse the repository at this point in the history
  11. test: integration test for git

    fblanchetNaN authored and Julien00859 committed Apr 2, 2023
    Configuration menu
    Copy the full SHA
    cd5b361 View commit details
    Browse the repository at this point in the history