Testing with JUnit 5 and Mockito  - Seminar / Kurs von GFU Cyrus AG

Inhalte

  • Introduction to Test Automation
    • Testing Software
    • Automated vs. Manual Tests
    • Types of Automated Tests (Unit Test, Integration Test, Acceptance Test)
    • Overview of Test Coverage Measurement
  • Fundamentals of JUnit
    • Overview of the JUnit Framework
    • Integration of JUnit in Java Development Environment and Build Process
    • Structure of Test Classes
    • Controlling Test Execution with Annotations
    • Result Verification with Assertions
    • Testing Exceptions
  • Advanced JUnit Concepts
    • Parameterized Tests
    • Test Suite Composition
    • Test Control with Categories
    • Flexible Result Verification with Matchers
    • Extending JUnit Classes with Rules
  • Test-Driven Development (TDD)
    • Introduction to Test-Driven Development (TDD)
    • Test-First Approach
  • Introduction to Mocking
    • Concept and Implementation of Mock Objects
    • Dynamic Generation with Mocking Frameworks
    • Using Mockito (alternative: EasyMock)
    • Using PowerMock for Specialized Mocking Tasks
  • Putting it All Together (Integration and Practice)
    • Continuous Integration and Test Automation
    • Mocking Dependencies in Tests
    • Test Doubles (Stub, Spy, Fake) and their usage
    • Integrating JUnit and Mockito in a Sample Project
    • Applying Test Automation Techniques
    • Hands-on Exercises and Practice
  • Introduction to Test Automation
    • Testing Software
    • Automated vs. Manual Tests
    • Types of Automated Tests (Unit Test, Integration Test, Acceptance Test)
    • Overview of Test Coverage Measurement
  • Fundamentals ...
Mehr Informationen >>

Lernziele

 Some key goals for developers include:
  • Faster feedback: Test automation enables developers to receive rapid feedback on their code changes. Automated tests can be executed quickly, providing immediate insights into any issues or regressions introduced. This allows developers to address problems promptly and iterate more efficiently.
  • Code confidence: Automated tests serve as a safety net for developers when making code modifications or refactoring. Having comprehensive test coverage ensures that changes do not break existing functionality, providing developers with confidence in their code.
  • Increased productivity: Test automation reduces the time and effort spent on manual testing. Developers can focus on writing new code and implementing features, knowing that automated tests will validate the functionality. This improves productivity and allows developers to deliver software more efficiently.
  • Code quality: Test automation encourages developers to write testable code and follow best practices. Automated tests can detect issues early, such as logic errors, boundary cases, or unexpected behavior. This helps developers produce cleaner, more robust code.
  • Collaboration: Automated tests serve as executable specifications that facilitate communication and collaboration between developers, testers, and other team members. They provide a shared understanding of expected behavior and can act as documentation for the codebase.
  • Continuous integration and delivery: Test automation integrates seamlessly with continuous integration and delivery (CI/CD) pipelines. Developers can automate the execution of tests in the build process, ensuring that changes are validated before being merged or deployed. This promotes a streamlined development workflow.
  • Time savings: While there is an initial investment in creating automated tests, they save time in the long run. Developers can run automated tests repeatedly without manual intervention, freeing up time for other development tasks and reducing the time spent on manual testing.
  • Faster bug detection: Automated tests help identify bugs early in the development cycle. By catching issues sooner, developers can address them before they become more complex or impact other parts of the system. This leads to faster bug resolution and overall faster development iterations.
 Some key goals for developers include:
  • Faster feedback: Test automation enables developers to receive rapid feedback on their code changes. Automated tests can be executed quickly, providing immedia ...
Mehr Informationen >>

Zielgruppen

  • Software Developers: Developers who want to enhance their skills in test automation using JUnit5 and Mockito.
  • Testers/QA Engineers: Testers or QA engineers looking to expand their knowledge and skills in test automation.
  • Software Engineers: Engineers involved in software development, including backend, frontend, or full-stack developers.
  • Technical Leads/Managers: Technical leads or managers responsible for overseeing software development projects.
  • Agile Team Members: Members of Agile development teams, including Scrum Masters and Product Owners.
  • Individuals interested in test automation: Anyone interested in learning about test automation and leveraging JUnit5 and Mockito.
  • Software Developers: Developers who want to enhance their skills in test automation using JUnit5 and Mockito.
  • Testers/QA Engineers: Testers or QA engineers looking to expand their knowledge and skills ...
Mehr Informationen >>

Termine und Orte

SG-Seminar-Nr.: 7356157

Anbieter-Seminar-Nr.: 2989

Termine

  • 11.07.2024 - 12.07.2024

    Köln, DE

  • 12.09.2024 - 13.09.2024

    Köln, DE

  • 19.12.2024 - 20.12.2024

    Köln, DE

  • 20.02.2025 - 21.02.2025

    Köln, DE

  • 08.05.2025 - 09.05.2025

    Köln, DE

Seminare mit Termin haben Plätze verfügbar. Rechnung erfolgt durch Veranstalter. Für MwSt. Angabe auf den Termin klicken.

Jetzt buchen ›
Seminar merken ›

Semigator berücksichtigt

  • Frühbucher-Preise
  • Last-Minute-Preise
  • Gruppenkonditionen

und verfügt über Sonderkonditionen mit einigen Anbietern.

Der Anbieter ist für den Inhalt verantwortlich.

Veranstaltungsinformation

  • Seminar / Kurs
  • Deutsch
    • Zertifikat
  • 14 h
  •  
  • Anbieterbewertung (113)

Ihre Vorteile mehr erfahren

  • Anbietervergleich von über 1.500 Seminaranbietern
  • Vollständige Veranstaltungsinformationen
  • Schnellbuchung
  • Persönlicher Service