Front End UI Test Automation With Mock API

This page summarizes the projects mentioned and recommended in the original post on /r/csharp

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.
surveyjs.io
featured
InfluxDB - Power Real-Time Data Analytics at Scale
Get real-time insights from all types of time series data with InfluxDB. Ingest, query, and analyze billions of data points in real-time with unbounded cardinality.
www.influxdata.com
featured
  • prism

    Turn any OpenAPI2/3 and Postman Collection file into an API server with mocking, transformations and validations. (by stoplightio)

  • Testing the UI in isolation with the help of a mock server is a good idea because it removes the need to setup the actual server for testing. Even with the help of Docker, setting up the real server is always complicated, as you'll have to set up databases, run migrations, load fixture data, and configure other third party dependencies. Unless you're a backend developer working on the backend, you shouldn't have to do that. There're many excellent API mock server frameworks: if you want to run it locally, I recommend prism. If you want to run it in the cloud, there are multiple choices, such as microapis.io (disclosure: I've built that service myself to allow mocking without needing an account or a subscription - if you end up using it, I'd very much welcome your feedback!).

  • dredd

    Language-agnostic HTTP API Testing Tool

  • To test the API, I recommend a proper API testing framework that can run a full test suite without you having to write a single test case. In this area, I recommend Dredd and schemathesis. These frameworks will get you covered when it comes to ensuring that the API server complies with the API specification. You may find Dredd a bit confusing at the beginning, in which case I recommend a tutorial I wrote a while ago about testing with Dredd. In addition, you can consider using just-apis, which allows you to define your own test cases for the API in YAML files (so no programming required).

  • 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.

    SurveyJS logo
  • Schemathesis

    Supercharge your API testing, catch bugs, and ensure compliance

  • To test the API, I recommend a proper API testing framework that can run a full test suite without you having to write a single test case. In this area, I recommend Dredd and schemathesis. These frameworks will get you covered when it comes to ensuring that the API server complies with the API specification. You may find Dredd a bit confusing at the beginning, in which case I recommend a tutorial I wrote a while ago about testing with Dredd. In addition, you can consider using just-apis, which allows you to define your own test cases for the API in YAML files (so no programming required).

  • just-api

    :boom: Test REST, GraphQL APIs

  • To test the API, I recommend a proper API testing framework that can run a full test suite without you having to write a single test case. In this area, I recommend Dredd and schemathesis. These frameworks will get you covered when it comes to ensuring that the API server complies with the API specification. You may find Dredd a bit confusing at the beginning, in which case I recommend a tutorial I wrote a while ago about testing with Dredd. In addition, you can consider using just-apis, which allows you to define your own test cases for the API in YAML files (so no programming required).

NOTE: The number of mentions on this list indicates mentions on common posts plus user suggested alternatives. Hence, a higher number means a more popular project.

Suggest a related project

Related posts

  • Open API with Postman

    3 projects | dev.to | 22 Mar 2024
  • How to Automatically Consume RESTful APIs in Your Frontend

    13 projects | dev.to | 25 Jan 2024
  • Yet Another REST API Fuzzer

    1 project | news.ycombinator.com | 20 Oct 2023
  • OpenAPI v4 Proposal

    24 projects | news.ycombinator.com | 31 May 2023
  • Testing for Breaking Changes in Fastify APIs

    4 projects | dev.to | 3 May 2023