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
- Host: GitHub
- URL: https://github.com/gephi/gephi-plugins-tests
- Owner: gephi
- Created: 2022-09-08T18:55:40.000Z (over 3 years ago)
- Default Branch: master
- Last Pushed: 2022-09-08T19:26:07.000Z (over 3 years ago)
- Last Synced: 2024-10-30T04:29:51.811Z (about 1 year ago)
- Language: Java
- Size: 4.88 KB
- Stars: 2
- Watchers: 4
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
[](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.