skip to main content
10.1145/2371316.2371382acmotherconferencesArticle/Chapter ViewAbstractPublication PagesbciConference Proceedingsconference-collections
short-paper

Evaluation of tools for automated unit testing for applications in OSGi

Published: 16 September 2012 Publication History

Abstract

This work provides an overview and comparison of the currently available tools for testing in OSGi environment such as Pax-Exam, JUnit4OSGi or Spring DM. We developed a plugin for JUnit4OSGi that allows to generate basic skeletons of tests from ordinary Java Eclipse projects. These tests can operate directly in the Eclipse environment using the modified SwingGUI runner.

References

[1]
Apache felix - apache-felix-ipojo-junit4osgi.http://felix.apache.org/site/apache-felix-ipojo-junit4osgi.html.
[2]
ChapterÂă9.Âătesting OSGi based applications. http://static.springsource.org/osgi/docs/1.1.2/reference/html/testing.html.
[3]
Help - eclipse platform. http://help.eclipse.org/indigo/index.jsp?topic=/org.eclipse.platform.doc.isv/reference/api/org/eclipse/swt/events/package-summary.html.
[4]
JUnit 4 vs TestNG âĂŞ comparison. http://www.mkyong.com/unittest/junit-4-vs-testng-comparison/.
[5]
OpenJDK: project jigsaw. http://openjdk.java.net/projects/jigsaw/.
[6]
OSGi alliance | about/HomePage. http://www.osgi.org/About/HomePage.
[7]
Pax exam - OPS4J pax exam - OPS4J. http://team.ops4j.org/wiki/display/paxexam/Pax+Exam.
[8]
TestNG - welcome. http://testng.org/doc/index.html.
[9]
Welcome to JUnit.org! | JUnit.org. http://www.junit.org/.
[10]
What is maven? http://maven.apache.org/what-is-maven.html.
[11]
A. d. C. Alves. OSGi in Depth. Manning Publications, 1 edition, Dec. 2011.
[12]
K. Beck. Test Driven Development: By Example. Addison-Wesley Professional, 1 edition, Nov. 2002.
[13]
E. Clayberg and D. Rubel. Eclipse Plug-ins. Addison-Wesley Professional, 3 edition, Dec. 2008.
[14]
R. Hall, K. Pauls, S. McCulloch, and D. Savage. Osgi in Action: Creating Modular Applications in Java. Manning Publications, 1 edition, Apr. 2011.
[15]
V. Massol and T. Husted. JUnit in Action. Manning Publications, Oct. 2003.

Recommendations

Comments

Information & Contributors

Information

Published In

cover image ACM Other conferences
BCI '12: Proceedings of the Fifth Balkan Conference in Informatics
September 2012
312 pages
ISBN:9781450312400
DOI:10.1145/2371316
Permission to make digital or hard copies of all or part of this work for personal or classroom use is granted without fee provided that copies are not made or distributed for profit or commercial advantage and that copies bear this notice and the full citation on the first page. Copyrights for components of this work owned by others than ACM must be honored. Abstracting with credit is permitted. To copy otherwise, or republish, to post on servers or to redistribute to lists, requires prior specific permission and/or a fee. Request permissions from [email protected]

Sponsors

  • MSTD: Ministry of Education, Science and Technological Development - Serbia
  • Novi Sad: Faculty of Technical Sciences, University of Novi Sad

Publisher

Association for Computing Machinery

New York, NY, United States

Publication History

Published: 16 September 2012

Permissions

Request permissions for this article.

Check for updates

Author Tags

  1. Eclipse
  2. Java
  3. OSGi
  4. plugin
  5. testing tools

Qualifiers

  • Short-paper

Conference

BCI '12
Sponsor:
  • MSTD
  • Novi Sad
BCI '12: Balkan Conference in Informatics, 2012
September 16 - 20, 2012
Novi Sad, Serbia

Acceptance Rates

Overall Acceptance Rate 97 of 250 submissions, 39%

Contributors

Other Metrics

Bibliometrics & Citations

Bibliometrics

Article Metrics

  • 0
    Total Citations
  • 113
    Total Downloads
  • Downloads (Last 12 months)0
  • Downloads (Last 6 weeks)0
Reflects downloads up to 16 Jan 2025

Other Metrics

Citations

View Options

Login options

View options

PDF

View or Download as a PDF file.

PDF

eReader

View online with eReader.

eReader

Media

Figures

Other

Tables

Share

Share

Share this Publication link

Share on social media