~/talk

Generating JUnit test cases Automatically with Evosuite

Talkat Øredev 2016 · 2016-11-07..11-11· [testing]
slides:none on file

Automatic generation of JUnit tests claims to push a button and produce runnable suites; the demo uses EvoSuite with genetic algorithms and bytecode instrumentation to mock IO and clock and to evolve inputs. Ran over ~30,000 classes and reports about 70% instruction coverage on average, with many trivial classes reaching 100% and some failing entirely. The tool builds tests that compile and exercise branches but remains research prototype not ready for all production code.

AI-written summary · about

  1. 0:00Intro
  2. 1:53Different Level of Testing
  3. 2:22Problem Definition
  4. 7:39Random Testing (RT)
  5. 10:56Problems?
  6. 12:30Seeding
  7. 17:08Search Algorithms (cont.)
  8. 17:44Search Space
  9. 18:53Search Operators
  10. 20:05Fitness Function
  11. 21:02Heuristics Example
  12. 22:01Heuristics: Branch Distance
  13. 23:28Hill Climbing (HC)
  14. 29:22Solution
  15. 29:52Bytecode Instrumentation
  16. 30:19Example: File System
  17. 34:00Tools
  18. 35:31Conclusion
~/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.