~/talk

Rethinking Unit Testing: Automating the Generation of Java

Talkat GeeCON Prague 2022 · 2022-05-11..05-13· [testing, java]
links:none on file
slides:none on file

Generates unit tests from implementation using symbolic execution, producing human-readable JUnit cases that act as immediate reproducers and safety nets. Integrates into editor or CLI, outputs JUnit4 + Mockito (working toward JUnit5), auto-mocks interfaces, and finds real faults like ArrayIndexOutOfBounds exception, IllegalArgumentException and NPEs. Claims persistent regression protection, fewer manually written tests, and ability to surface security corner cases; proven on enterprise projects and available free for open source, with Java 8 most fully supported today.

AI-written summary · about

  1. 0:00Introduction and speaker background
  2. 1:05Why software testing is so hard
  3. 3:13The value of automated testing
  4. 6:03Shift left testing benefits
  5. 8:49Automating test generation with symbolic execution
  6. 11:21Demo: Generating unit tests for a copy function
  7. 12:06Testing without writing tests
  8. 16:14Testing with existing implementations
  9. 20:51Test-driven development with generated tests
  10. 25:08Tool demo and call to action
  11. 25:51Q&A: Complex dependencies and mocking
  12. 27:37Q&A: Open source projects and statistics
  13. 28:42Q&A: Prioritized and existing tests
  14. 29:46Q&A: Framework support like Spring
  15. 31:35Q&A: Relation to mutation testing
  16. 32:36Q&A: Logic testing in TDD
  17. 33:19Q&A: JUnit 5 and parameterized tests
  18. 34:26Q&A: Default frameworks and plugins
  19. 34:46Q&A: Project-level test generation
  20. 35:48Q&A: Partial answers in testing
  21. 37:02Q&A: Proving absence of bugs
  22. 37:43Q&A: Mock MVC for Spring controllers
  23. 38:25Q&A: Future roadmap and vision
~/search
type to search 6,249 conferences, 138,987 speakers and 185,172 talks
~/help
cmdctrl k
search every conference, speaker and series
/
focus the filter search
h
home
c
conferences
s
speakers
e
series
t
light / dark — the status bar button does the same
?
this help
esc
close this, then clear every filter — or just the search, while you are typing in it

Ignored while you are typing. Pages without a filter rail have no search to focus.