Skip to content

About

No description, website, or topics provided.

Resources

Stars

0 stars

Watchers

1 watching

Forks

Repository files navigation

CPS (Cyber Physical Systems) Tools

Description

This project contains a collection of Python modules related to Cyber Physical Systems and their analysis. The codebase is set up to be built and tested within a Dockerized environment.

Prerequisites

To build and run this project, you will need:

  • Docker installed and running on your system (e.g., Docker Desktop or Docker Engine).

Project Structure

A brief overview of the key files and directories:

  • Dockerfile: Defines the Docker image and environment.
  • *.py (in root): Python source files for the library
  • tests/: Contains unit tests
  • requirements.txt: Lists Python dependencies.
  • build_docker.sh: Script to build the Docker image.
  • run_tests.sh: Script to execute unit tests

Setup and Building the Docker Image

NOTE: Make scripts executable (if not already):

chmod +x build_docker.sh
chmod +x run_tests.sh

Build the Docker image: Use the build_docker.sh script. You can provide an image name (tag) as an argument. It's recommended to use a descriptive name, for example cps-tools

Example build command:

./build_docker.sh cps-tools

Running Tests

Once the Docker image is built, you can run the unit tests using the run_tests.sh script executed inside a new Docker container.

Execute the tests: Replace your_chosen_image_name with the tag you used when building the image.

docker run --rm your_chosen_image_name ./run_tests.sh

About

No description, website, or topics provided.

Resources

Stars

0 stars

Watchers

1 watching

Forks

Releases

Packages

Contributors

Languages