Skip to content

Add automated tests #3

@daonb

Description

@daonb

This issue is about the infrastructure and tests needed to ensure the plugin works properly. The "lab" is made from a real iPad (until we fix #1) and local ssh daemon listening on port 22 and accepting the jrandom user.

The preferred architecture is Appium driving XCUITest. A good first step is to read this doc.

The testing suite

The testing suite is based on Terminal7's usage scenario and the #4 bug. Steps 1-5 are expected to pass while the bug could fail the rest of the steps:

  1. Open a session using jrandom@localhost:22
  2. Open a channel
  3. Run a shell over the channel
  4. verify the shell can echo "hello world"
  5. repeat 6 times steps 2-4
  6. exit a shell
  7. verify a random remaining shell can echo "hello world"
  8. repeat 6 times steps 6-7

Metadata

Metadata

Labels

devopsConfig & Code that's not part of any version

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions