Skip to content

Add Integration Testing for the Application #38

@ashleypean

Description

@ashleypean

Testing of the Electron application is vital to ensure that performance and expected behavior maintains itself as the new expected features get rolled out. I propose starting off with adding simple integration tests of some of the main, core features of the desktop application, but we will need to branch off into unit and eventually E2E tests to ensure full coverage of the codebase.

This is by far not an exhaustive list but some proposed testing scenarios include:

  • Tabs
    • Ensure that adding a tab adds a tab object to state
    • Ensure that deleting a tab removes a tab object from state
    • Ensure that clicking on a new tab updates the activeTab value in state
  • Sidebar
    • Ensure that clicking on a sidebar option updates the activeSidebar option in state
  • Middleware Chain
    • Ensure that clicking on a pill in the middleware chain changes the code shown in the response container
  • Testing
    • Ensure that clicking the add test button opens the modal
    • Ensure that the click away listener works for the test modal
    • After filling out the test form, the test suite should appear in the sidebar
  • Requests
    • Ensure that filling out the request form is successful

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions