AspectJ in Test Automation
summary
Covers AspectJ, the Java Aspect-Oriented Programming implementation, explaining its internals and how it can be applied to test automation problems such as automatic method-call logging without modifying test code. Shows concrete uses within frameworks like Allure and Spring, discusses trade-offs (the cost of the magic), and includes a demo.
AI-written summary · about
chapters (15)
- 0:00Start
- 1:38Typical TAF layers
- 4:25Pointcuts
- 6:20Advise declarations
- 7:56Java program execution flow
- 8:37Compile-time weaving
- 9:24Post-compile weaving
- 9:59Load-time weaving
- 11:15Looks familiar?
- 13:10Implicit logging of your tests' actions
- 23:58Logging of 3rd-party libraries
- 37:58Amend 3rd-party libraries functions
- 39:09Migration between reporting tools
- 40:09Excessive one-time logging
- 41:14Keep in mind
related talks
14mAutomated Tests in Java: an Underrated Treasure!
45mHow to Write Tests in 2021
31mModern Testing Tools for Java Developers
13mAssertJ Like a Pro
46mModern Testing Tools for Java Developers
57mModern Testing Tools for Java Developers
47mFrom Bugs to Brilliance: Testing Toolbox in Action
39mRethinking Unit Testing: Automating the Generation of Java
