GeeCON 2018: Marc Philip - JUnit 5 Extensions: From Conditional Test Execution to Test Templates
JUnit 5 has finally arrived! It introduces a completely new extension model that allows to customize almost every aspect of test execution. For example, it lets you define custom conditions to decide whether a test should be executed or skipped. Test lifecycle callbacks allow to encapsulate common setup/teardown code in an extension. An extension can pass values or inject dependencies to a test by post-processing test instances, or resolving test method parameters. Moreover, you can even write an extension that specifies how a test method becomes a template for multiple tests and how to invoke those, e.g. multiple times with different parameters or a different setup. In this talk, we will go on an example-driven tour of the new extension API using real-world testing scenarios. We will learn about the utilities an extension can use, e.g. how it should store state, so you will be ready to write your own extensions after this session. The talk will be interesting for experienced Java developers with prior kn
1 view
108
13
10 months ago 00:54:07 1
ИСТОРИЯ МАЙКЛА МАЙЕРСА. ПРИРОДА ЗЛА. ЧАСТЬ ПЕРВАЯ (Halloween Lore)
2 years ago 00:49:39 1
GeeCON 2018: Marc Philip - JUnit 5 Extensions: From Conditional Test Execution to Test Templates
2 years ago 00:37:21 10
Дэдайты и Кандарийский демон / Deadites and Kandarian demon (Evil Dead)
5 years ago 00:01:32 1
Новый Костюм Чёрной Пантеры / Чёрная Пантера (2018)
5 years ago 00:04:36 1
’Similar to fireworks, but a lot cooler.’ Watch Intel’s effort to break drone record