An open API service indexing awesome lists of open source software.

https://github.com/gephi/gephi-plugins-tests

Integration tests library to run against Gephi Plugins
https://github.com/gephi/gephi-plugins-tests

Last synced: 6 months ago
JSON representation

Integration tests library to run against Gephi Plugins

Awesome Lists containing this project

README

          

[![build](https://github.com/gephi/gephi-plugins-tests/actions/workflows/release.yml/badge.svg)](https://github.com/gephi/gephi-plugins-tests/actions/workflows/release.yml)

# Gephi Plugins Tests

This library contains integration tests we run against [plugins](https://github.com/gephi/gephi-plugins) to validate them.

## Coverage

We cover a number of plugin types and expectations and plan to add more overtime.

* [x] Layout
* [x] Layout has a proper builder and UI
* [x] Layout UI has a proper description
* [x] Speed and quality appraisal are within the expected ranges
* [x] Properties can be read and written
* [x] Properties can be serialized via the persistence providers

## Development

### Requirements

Developing in the repository requires JDK 11 or later and [Maven](http://maven.apache.org/).

### Create a new integration test

You can extend an existing class with new tests. If you create a new class, make sure its name ends with `IT`.

Add new dependencies in the `pom.xml` to support testing new types of plugins.

To validate your integration test, it can be helpful to run them against the core Gephi. For instance, we've added a test dependency to the `layout-plugin` module. This allows to run the tests against the core layouts.