Class Central is learner-supported. When you buy through links on our site, we may earn an affiliate commission.

YouTube

Integration Testing Strategies and Techniques for Jakarta EE 10 Applications

GeeCON Conference via YouTube

Overview

Save Big on Coursera Plus. 7,000+ courses at $160 off. Limited Time Only!
Explore integration testing strategies and techniques for Jakarta EE 10 applications in this 53-minute conference talk from GeeCON Prague 2022. Dive into methods for testing message handling, transaction management, security, and data model integrity. Learn how to leverage CDI for more effective integration testing, including simulating database errors and verifying JMS message behavior. Discover techniques for checking message delivery, error handling, session failover, database versioning, and two-phase commits with JMS and databases. Gain insights into using Arquillian for container interaction, test enrichment, and various run modes. Explore the Shrink Wrap API, container dependencies, and how to extend Arquillian for custom testing needs. Understand how to set up remote tests, leverage CDI events, and simulate errors. Delve into database testing configurations, JPA caching, and transaction testing. Learn about testing JMS with embedded brokers, configuring Payara for tests, and handling poison pill messages. Cover application security testing, role-based testing, and entity manager verification strategies. Acquire valuable suggestions for integration testing across different application container versions and avoid common pitfalls in your testing approach.

Syllabus

Introduction
Questions
Test Types
Arquillian JBoss project
Arquillian Container Interaction
Arquillian Run Modes Where does the test run? Embedded
Arquillian Test Enrichment
Shrink Wrap API
Shrink Wrap Example
Simple Example
Container Dependencies
What can we do?
Integration Tests Setup
Remote Tests
Extending Arquillian
Arquillian Container Extension
Leveraging Container Lifecycle
CDI & Testing
Leveraging Events...
Spying...
Error Simulation
Arquillian Persistence Extension
Database Test Configuration
Database Test Example
Graceful Failure
JPA Caching
Testing Invalid Data...
Transaction & Tests
Testing JMS
Retrieve ActiveMQ RAR
Start Embedded Broker
Configure Embedded Payara
Test Setup Code
Simple JMS Test
Testing Poison Pill Message
Additional Testing
Application Security
Role Based Testing
Accounting Testing...
Entity Managers
Entity Manager Verification
Strategies
Gotchas
Integration Testing Suggestions Testing different application container versions
Summary

Taught by

GeeCON Conference

Reviews

Start your review of Integration Testing Strategies and Techniques for Jakarta EE 10 Applications

Never Stop Learning.

Get personalized course recommendations, track subjects and courses with reminders, and more.

Someone learning on their laptop while sitting on the floor.