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

Add CLI test cases #179

Closed
13 tasks done
tsaglam opened this issue Aug 17, 2021 · 1 comment
Closed
13 tasks done

Add CLI test cases #179

tsaglam opened this issue Aug 17, 2021 · 1 comment
Assignees
Labels
enhancement Issue/PR that involves features, improvements and other changes good first issue Good first issue for new contributors. New contributors are welcome! minor Minor issue/feature/contribution/change

Comments

@tsaglam
Copy link
Member

tsaglam commented Aug 17, 2021

We should add test cases that ensure the functionality of the command-line interface and the CLI arguments.
Currently, we can only test that manually, which is tedious as it requires building a jar after every change.

These CLI arguments should be tested first:

  • root directory (no flag)
  • language -l
  • base code -bc
  • min token match -t (sensitivity)
  • similarity threshold -m
  • stored matches -n
  • comparison mode -c

Later we should also test:

  • result folder -r
  • verbosity -v (replaced by --log-level)
  • debug -d
  • subdirectory -S
  • suffixes -p
  • exclude file -x
@tsaglam tsaglam added enhancement Issue/PR that involves features, improvements and other changes minor Minor issue/feature/contribution/change labels Aug 17, 2021
@tsaglam tsaglam added this to the v3.1.0 milestone Oct 12, 2021
@sebinside sebinside removed this from the v4.0.0 milestone Sep 29, 2022
@tsaglam tsaglam added the good first issue Good first issue for new contributors. New contributors are welcome! label Feb 9, 2023
@tsaglam
Copy link
Member Author

tsaglam commented Oct 25, 2024

Closed by #1933.

@tsaglam tsaglam closed this as completed Oct 25, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement Issue/PR that involves features, improvements and other changes good first issue Good first issue for new contributors. New contributors are welcome! minor Minor issue/feature/contribution/change
Projects
None yet
Development

No branches or pull requests

3 participants