595385335 / osgi-test

Testing support for OSGi. Includes JUnit 4 and JUnit 5 support and AssertJ support

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

OSGi Testing Support

Testing support for OSGi

Purpose

This project provides a set of bundles which contain useful and helpful classes for testing of OSGi API.

This artifact includes common utility classes which are useful in all testing scenarios.

org.osgi.test.assertj.*

These artifacts provides support classes for OSGi testing with AssertJ including custom assertions. Currently there are artifacts for org.osgi.framework and org.osgi.util.promise.

This artifact provides support classes for OSGi testing with JUnit 4 including JUnit 4 Rules.

This artifact provides support classes for OSGi testing with JUnit 5 including JUnit 5 Extensions.

Building

We use Maven to build and the repo includes mvnw. You can use your system mvn but we require a recent version.

  • ./mvnw clean install - Assembles and tests the project

Build Status

Code Coverage

We use JaCoCo to collect code coverage statistics. Thes are uploaded to Codecov or you can view the results by running mvnw verify on your local machine.

Coverage Status

Repository

Currently OSGi Testing artifacts are available as snapshots from the Sonatype OSS repository:

https://oss.sonatype.org/content/repositories/snapshots/

Future work

See the open issues for the list of outstanding TODOs.

License

This program and the accompanying materials are made available under the terms of the Apache License, Version 2.0 which is available at https://www.apache.org/licenses/LICENSE-2.0.

Contributing

Want to hack? There are instructions to get you started.

They are probably not perfect, please let us know if anything feels wrong or incomplete.

Acknowledgments

This project uses the Bnd Maven Plugins to build.

About

Testing support for OSGi. Includes JUnit 4 and JUnit 5 support and AssertJ support

License:Apache License 2.0


Languages

Language:Java 100.0%Language:Shell 0.0%