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

Add test tab in function edit page #13

Open
yqf3139 opened this issue Mar 18, 2017 · 0 comments
Open

Add test tab in function edit page #13

yqf3139 opened this issue Mar 18, 2017 · 0 comments

Comments

@yqf3139
Copy link
Contributor

yqf3139 commented Mar 18, 2017

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.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

1 participant