Seminare
Seminare

Testing with JUnit 5 and Mockito 

Seminar - GFU Cyrus AG

  • 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.
  • ...
Termin Ort Preis*
firmenintern auf Anfrage auf Anfrage
*Alle Preise verstehen sich inkl. MwSt.

Detaillierte Informationen zum Seminar

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

Zielgruppe:
  • 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.
Seminarkennung:
S2989
Nach unten
Nach oben
Wir setzen Analyse-Cookies ein, um Ihre Zufriedenheit bei der Nutzung unserer Webseite zu verbessern. Diese Cookies werden nicht automatisiert gesetzt. Wenn Sie mit dem Einsatz dieser Cookies einverstanden sind, klicken Sie bitte auf Akzeptieren. Weitere Informationen finden Sie hier.
Akzeptieren Nicht akzeptieren









Um Spam abzuwehren, geben Sie bitte die Buchstaben auf dem Bild in das Textfeld ein:

captcha



Bei der Verarbeitung Ihrer personenbezogenen Daten im Zusammenhang mit der Kontaktfunktion beachten wir die gesetzlichen Bestimmungen. Unsere ausführlichen Datenschutzinformationen finden Sie hier. Bei der Kontakt-Funktion erhobene Daten werden nur an den jeweiligen Anbieter weitergeleitet und sind nötig, damit der Anbieter auf Ihr Anliegen reagieren kann.







Um Spam abzuwehren, geben Sie bitte die Buchstaben auf dem Bild in das Textfeld ein:

captcha