Skip to content

Add a bunch of test cases #217

Description

@pokey

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions