Skip to content
This repository was archived by the owner on Sep 27, 2019. It is now read-only.
This repository was archived by the owner on Sep 27, 2019. It is now read-only.

Add test tab in function edit page #13

@yqf3139

Description

@yqf3139

We can integrate a very lite testing framework for functions.
Currently everything stored in LocalStorage. If the feature is useful, then propose it to fission.
User can create/update/delete or save from history test to maintain a test case list: a mapping from request to response descriptions.

Request is just like test request, response can be no constrain or has constrains.
Constrains:

  • status code equals/betweens
  • body equals to sth entirely
  • header has a specific key-value pair

The test list can be tested by clicking on Test all button, or it can be associated by the deploy function button.
Create a temp function for all the tests. After every test completed, generate a test report.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions