0% found this document useful (0 votes)
38 views

Seminar On Junit Testing Framework: Guided by Presented by

The document summarizes a seminar presentation on the JUnit testing framework. It introduces JUnit and describes its key elements, architecture, annotations, classes, advantages, and disadvantages. JUnit is an open source unit testing framework for Java that allows writing test code more quickly and organizing tests into suites, which can improve code quality. However, it is not suitable for higher-level or dependency testing.
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
38 views

Seminar On Junit Testing Framework: Guided by Presented by

The document summarizes a seminar presentation on the JUnit testing framework. It introduces JUnit and describes its key elements, architecture, annotations, classes, advantages, and disadvantages. JUnit is an open source unit testing framework for Java that allows writing test code more quickly and organizing tests into suites, which can improve code quality. However, it is not suitable for higher-level or dependency testing.
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 15

Government Polytechnic Aurangabad

(An Autonomous institute of Govt. of Maharashtra)

Seminar on JUnit Testing Framework


Guided By Presented By
Prof. P.B.Lahoti Sandhya Barandwal(176001)
• Introduction
• What is Unit Testing ?
• What is JUnit ?
• Application of JUnit
• Architecture
• Terminologies in JUnit
• Important classes and annotations of junit framework
• Advantages
• Disadvantages
• References
• Conclusion
• Question & Answers
• Key element in extreme programming.

• Focuses on fundamental block at a time.

• Helps to find problems early.

• Easy to maintain.

• Simplifies integration testing.


• JUnit is an open source testing framework.

• Written by Erich Gamma and Kent Beck

• Part of xUnit Family

• It has been designed for the purpose of writing and running tests in
the java programming language.

• Eclipse includes JUnit.


Test Test Test Test
Case Suite Runner Result
Classes
Beforecl-
ass

Test Annotations After

Before
• An open source framework
• Annotations to identify test methods
• Assertions for testing expected results
• Allow you to write codes faster,which increases quality
• Simple
• Can be organized into test suites
• Cannot be dependency testing.

• Not suitable for higher level testing.


• http://junit.org

• http://junit.sourceforge.net/javadoc/junit/framework

• http://www.swtestacademy.com

• https://codesjava.com/junit-framework

• https://blog.codefx.org/design/architecture/junit
• The java-based unit testing framework as an industry de facto
standard for writing unit tests, any java-based software project
can easily integrate unit testing into their development
environment.

• JUnit’s maturity as an open source project allow projects to


leverage industry experience and extensions to the framework
all at a zero licensing cost.

You might also like