Our great sponsors
-
public-api-guide-integration-testing-sample
A step by step guide on how to use ConfigCat's Public API to conduct an integration test.
-
SurveyJS
Open-Source JSON Form Builder to Create Dynamic Forms Right in Your App. With SurveyJS form UI libraries, you can build and style forms in a fully-integrated drag & drop form builder, render them in your JS app, and store form submission data in any backend, inc. PHP, ASP.NET Core, and Node.js.
To help you follow along, I've added the following sample app. If you wish to code along with me, you can check out the starter-code branch. If you end up getting stuck, feel free to view the complete code on the main branch.
Have Postman installed - A platform used for testing and documenting APIs
Besides evaluating your feature flags with ConfigCat's SDKs, you may want to perform the same actions as you normally do while working with the Dashboard UI in your code. This is where the ConfigCat Public Management API comes in useful. And to show you how it works, I'll demo how we can use it to perform actions such as setting up a testing environment and creating a new feature flag using JavaScript. Then finally, we'll write an integration test to ensure all the functions work with each other using the JEST JavaScript Testing Framework. If you're eager to peek at the API docs before we get started, I have linked it here.
Related posts
- The Most Effective Tutorial on Tests You Will Ever Read
- Is it bad practice to use the same express server for both backend and frontend?
- for someone who do desktop app all the time. what i need to switch to web with c# background?
- API Inspection Best Practices: Ensuring API Gateway Stability and Efficiency
- Data API for Amazon Aurora Serverless v2 with AWS SDK for Java - Part 5 Basic cold and warm starts measurements