Skip to content

How to write tests using ImportPlugin? #233

Answered by mbastian
yossisp asked this question in Q&A
Discussion options

You must be logged in to vote

Hi @yossisp and sorry for the delay. Please be aware that we've improved this capability since 0.9.3 version. First, we've migrated off TestNG and now use JUnit as this is the default in Netbeans Platform. Then, we've created some utility in ImportAPI to make it easier importing graph files in other modules.

You can take a look at the StatisticsPlugin module that takes advantage of that. In the pom.xml one need to add this dependency and then you can use the GraphImporter class.

        <dependency>
            <groupId>org.gephi</groupId>
            <artifactId>io-importer-api</artifactId>
            <version>${gephi.version}</version>
            <scope>test</scope>
            <type>…

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by mbastian
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants
Converted from issue

This discussion was converted from issue #232 on October 23, 2021 09:09.