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 a bunch of test cases #217

Open
32 tasks
pokey opened this issue Aug 11, 2021 · 0 comments
Open
32 tasks

Add a bunch of test cases #217

pokey opened this issue Aug 11, 2021 · 0 comments
Labels
code quality Improvements to code quality good first issue Good for newcomers

Comments

@pokey
Copy link
Member

pokey commented Aug 11, 2021

Extracted from #59

  • let's use this one to capture Add type transformation #32 (comment) as a test case
  • extracting name from exported classes and functions in Typescript
  • extracting name from decorated classes and functions in Python
  • Delimiters get removed from source of "move" and "cut"
  • "that" gets set properly
  • Behaviour of "wrap" wrt current selection:
    • Target selected
    • Cursor at beginning of target
    • Cursor at end of target
    • Cursor bigger than target tot left / right / both
    • Multiple cursors? (Eg one cursor at end and one at beginning, etc)
  • space delimited sequence support when combined with punctuation, eg for "This is, a test!":
    • "chuck sit"
    • "move sit after each"
    • "move air after each"
    • "move each before air"
    • "bring air before bang"
  • Make sure leading delimiter with "chuck type" gets deleted
  • Test Fix bug with two adjacent tokens #12 and various overlapping ranges
  • "take token" / "take first word" when cursor is at beginning, middle and end of token
  • select a token, then wrap it and make sure selection in right place
  • Multi-target inference rules, eg "swap funk air with bat", "swap air with funk bat", etc
  • Make sure basic things work in unsupported languages
  • "move sit to before file"
  • "chuck last char air"
  • Excluding positions in ranges. take air until bat take air tween bat
  • multiple sequential spaces for space delimiter removal
  • single-line blocks for line removal
  • last line / first line in doc for line removal / space removal
  • removing every word in line for space removal
  • final / first token in line for space removal
  • "Every key" / "every value" / "every arg" in Python
@pokey pokey added the code quality Improvements to code quality label Aug 11, 2021
@auscompgeek auscompgeek added the good first issue Good for newcomers label Dec 23, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
code quality Improvements to code quality good first issue Good for newcomers
Projects
None yet
Development

No branches or pull requests

2 participants