Skip to content

unimib-datAI/WoTT

Repository files navigation

WoTT - Web of Thing Testing

WoTT is a web application written in TypeScript that enables the automatic generation of test suites from Thing Descriptions compliant with the W3C Web of Things (WoT).

The application provides an integrated editor to upload, write, and validate Thing Descriptions in JSON/JSON-LD format, and generates executable tests in multiple languages (JavaScript, Java, Python) to verify the correct behavior of the described IoT services.

Main Features

  • Thing Description Editor — Upload, edit, lint, and format JSON/JSON-LD files
  • Validation — Check compliance of the Thing Description with the W3C WoT TD standard
  • Automatic Test Generation — Creation of test suites based on the affordances defined in the TD, with support for:
    • Endpoint verification
    • Data type validation
    • Numeric bounds checking
    • Data length validation
    • Security schemes
  • Multi-language Support — JavaScript, Java, Python
  • Test Suite Editor — View, edit, format, and download the generated code

High level architecture

WoTT architecture

Technological Stack

WoTT is built using a TypeScript-based full-stack architecture.

Backend

  • Node.js — Runtime environment for server-side execution
  • Fastify — Web framework for building REST APIs
  • TypeScript — Strongly typed language

Frontend

  • Vue.js — JavaScript framework for building the UI
  • Vite — Build tool and development server
  • TypeScript — Strongly typed language

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors