mirror of
https://github.com/hoppscotch/hoppscotch.git
synced 2026-04-25 16:55:59 +03:00
[PR #518] [MERGED] Feature/post request tests #2672
Labels
No labels
CodeDay
a11y
browser limited
bug
bug fix
cli
core
critical
design
desktop
discussion
docker
documentation
duplicate
enterprise
feature
feature
fosshack
future
good first issue
hacktoberfest
help wanted
i18n
invalid
major
minor
need information
need testing
not applicable to hoppscotch
not reproducible
pull-request
question
refactor
resolved
sandbox
self-host
spam
stale
testmu
wip
wont fix
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/hoppscotch#2672
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
📋 Pull Request Information
Original PR: https://github.com/hoppscotch/hoppscotch/pull/518
Author: @nickpalenchar
Created: 1/24/2020
Status: ✅ Merged
Merged: 1/27/2020
Merged by: @liyasthomas
Base:
master← Head:feature/post-request-tests📝 Commits (10+)
dbba0cfwip2214645Merge branch 'master' into feature/post-request-tests311d87bExpectation classdce58bdwip - basic test scaffoldingb8beac3Merge branch 'master' into feature/post-request-tests3ecf628💄 add tests section to UIdd970afinline expects returning testResults correctlyb2be9dcpw.test working61bf735response data into testing and error handling24584cdremove console logs📊 Changes
2 files changed (+264 additions, -0 deletions)
View changed files
➕
functions/postwomanTesting.js(+175 -0)📝
pages/index.vue(+89 -0)📄 Description
Closes #465
Want to get this in while it's still in sync with master. Minimal but functional and ready to be used 😄
The tests button is next to the pre-request script button, which opens a window to code tests. A commented out line given an example of a (failing) test. Comment it in to test the test. Other examples are documented here, and can all be tried.
Biggest todo still is saving to history. Will do later this weekend.
The UI is minimal and... a little funky.. could def use some formatting help by someone better at styling than I am!
In terms of functionality+docs I'll add a bit more incrementally once merged. This was a really fun one!
If someone else merges I recommend squashing and merging.. I made a lot of incremental commits.
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.