Git Product home page Git Product logo

iottestware.mqtt's Introduction

Eclipse MQTT test suite

A Conformance Test Suite for the IoT protocol MQTT written in TTCN-3.

Getting Started

These instructions will get you a copy of the project up and running on your local machine for development and testing purposes. See deployment for notes on how to deploy the project on a live system.

Prerequisites

This Test Suite is written and tested with Eclipse TITAN, which is the recommended and required TTCN-3 environment.

Installing Dependencies

The MQTT Test Suite has several dependencies to TITAN components (mainly ProtocolModules and TestPorts). The install script automates the installation of the required ProtocolModules and TestPorts.

The script has mainly two variables in the configuration section.

By default, PATH_BASE is set to ~/Titan and defines the base path where the Titan components and the Test Suite will be cloned to.

By default, PATH_CLI_WORKSPACE is set to ~/IoTTestware and defines the base path where your workspace for CLI operation will be located.

./install.sh

Now the required dependencies should be available in PATH_BASE.

Installing MQTT Test Suite

With Eclipse Titan you are free to choose to work either from the Command Line (CLI) or from Eclipse IDE.

Eclipse IDE

Open the Titan IDE in your desired workspace and use the import feature

File -> Import -> TITAN -> Project from .tpd file

Import from .tpd file

Klick Next and choose the iottestware.mqtt.tpd from ${PATH_BASE}

Create TITAN Project

Klick Next and choose importation options

Importation Options

Klick Finish and the IDE will import all the required Projects and open the properties for each. Make sure each project is configured to generate Makefile for use with the function test runtime.

Makefile for FTR

Command Line

If you like to build and run the MQTT Test Suite from the CLI than no further installation is required. The install script already created the ${PATH_CLI_WORKSPACE}/iottestware.mqtt/bin folder, linked all the required files and generated a Makefile accordingly.

Building MQTT Test Suite

Depending on your choice from the previous step you can now decide to build the MQTT Test Suite either from the CLI or IDE.

Note: Building from CLI is possible in both cases. You should always have a Makefile inside the /bin folder.

Eclipse IDE

Right-click the iottestware.mqtt Project and select Build Project.

Build Project

Note: Make sure you are in the TITAN Editing Perspective, otherwise the Build Project might be not available.

Command Line

Within the ${PATH_CLI_WORKSPACE}/iottestware.mqtt/bin folder of the MQTT Test Suite you should have an automatically generated Makefile. Simply call the make command to build the executable Test Suite.

make all

Now you should have a newly generated binary file iottestware.mqtt

Running the Test Suite

Configure the Test Suite

TODO

Running from Eclipse IDE

TODO

Running from Command Line

TODO

Built With

Versioning

We use Github for versioning. For the versions available, see the tags on this repository.

Authors

  • Alexander Kaiser - Initial work - relayr

See also the list of contributors who participated in this project.

License

Eclipse Public License - v 1.0

Acknowledgments

TODO

iottestware.mqtt's People

Contributors

kretzschi avatar rennoch avatar eclipsewebmaster avatar

Watchers

James Cloos avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.