Skip to main content

Ability to write tests in Javascript

The ability to write TDD-style tests using Javascript to be executed after a request is sent. It would be nice to follow the existing pattern, and make sure that the API is compatible with Postman. This makes it easier for new users to switch to Testfully from Postman.

Examples:

test("should return 200 OK", () => {
   expect($.response.code).to.equal(200);
});
Status: Completed2 comments

Log in to comment and vote

Comments2

  • testfully

    Team•

    Dec 6, 2023

    Hi friends

    We're pleased to let you know that we've added the ability to write tests in Javascript as part of the Testfully 1.89.0 release. To learn more, please check this article. If you're coming from Postman, good news is that we do support both pm.test and pm.expect APIs, so you won't need to change your scripts.

  • testfully

    Team•

    Dec 3, 2023

    Hi folks

    We've started developing this feature, and we should be able to ship it by the end of December 2023.