I have nothing to do to create a browser plug-in to solve the front-end Mock problem.
Official website address https://just-mock.vercel.app/
front end pain
One day , the leader asked us how is the progress of xxx demand?
Back-end: After the interface is completed, the front-end joint debugging is only needed
Front end: you. . . I. . . (beep~~)
On the second day , the front-end worked overtime and the joint adjustment was completed. I wanted to self-test the front-end performance of different interface data.
Front-end: The back-end is huge. Which account has more data, I want to test the paging; which data can trigger the form, I want to test the form, and I also want to test the weak network environment. . .
Back-end: The data is not easy to create, wait for the test classmates
Front end: me. . .
QA intervention test on the third day
QA: Too many FE bugs, seriously blocking test work
Front end: me. . .
The story is false, the thing is true. The front end does face some problems: whether the interface definition is agreed in advance, lack of mock joint debugging and testing is extremely inefficient
Meaning of Mock
The meaning of Mock for the front end: Make numbers.
It is difficult for the front-end to create data without database and long-term business links.
Common Mock Schemes
Method 1: Hardcore mock, directly change the code logic. If (true) {} . Pros: Simple. Disadvantages: easy to forget, causing online bugs
Method 2: Mock platform is similar to https://github.com/YMFE/yapi , advantages: no code invasion, simple. Disadvantages: relying on back-end services, or buying third parties **
Method 3: Apifox installs the application locally, with large and complete functions.
Another try Just Mock
Just Mock is a mock tool for web projects. You can use Just Mock to simulate back-end responses (for scenarios such as front-end and back-end joint debugging, QA testing, PM acceptance, online problem restoration, etc.), and you only need to install a browser plug-in to meet 90% of the mock needs.
Official website address
Feedback is welcome
**粗体** _斜体_ [链接](http://example.com) `代码` - 列表 > 引用
。你还可以使用@
来通知其他用户。