Ability to add folders in test suite #3434
Replies: 3 comments 3 replies
-
I can see this being valuable as test suits grow. The organization of the data will need to be thought through, so this is likely a fairly large change to support this. I believe the original thought was to use |
Beta Was this translation helpful? Give feedback.
-
I tried describe('test', () => {
it('first it', async () => {
const response1 = await insomnia.send();
expect(response1.status).to.equal(200);
});
}); To see if it would work as a hacky workaround (but, it doesn't). |
Beta Was this translation helpful? Give feedback.
-
Maybe the TEST tab should inherit the folder structure from the DEBUG tab and only offer the requests of the respective folder. I'm currently also struggling to use Insomnia as part of a test stack and although I want to love it, it's hard. It would also be helpful to modify query params or JSON body elements directly in the TEST tab, which would allow to reuse requests and avoid bloating the DEBUG tab. |
Beta Was this translation helpful? Give feedback.
-
Is your feature request related to a problem? Please describe.
Currently we don't have an option to create folder in test suite for unit tests when we import an API spec. From the maintenance perspective this will be very helpful to segregate tests in folders based on the functionality. Imagine how it could be difficult to maintain 500+ tests running from one folder.
If we import requests collection, then we have an option for creating the folders. In this case, we cannot add assertions like we do from Test suite.
Describe the solution you'd like
Describe alternatives you've considered
Didn't find any alternative so far.
Additional context
Beta Was this translation helpful? Give feedback.
All reactions