Skip to content

FinlayShepherd/cth_tracer

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

cth_tracer - Tracing Hook for Common Test

This hook starts a tracer to monitor affected modules during a testcase run.

By default a collected sequence is formatted for PlantUML.

Usage examples

See the directory test for details.

Example testcase trace:

@startuml

undefined -> module_a:<0.85.0> call/1
'arguments: [ping]
module_a -> module_b:<0.85.0> call/1
'arguments: [ping]
module_b -> module_b:<0.85.0> local_call/1
'arguments: [ping]
module_b <-- module_b:<0.85.0> result
'result: pong
module_a <-- module_b:<0.85.0> result
'result: pong
undefined <-- module_a:<0.85.0> result
'result: pong

@enduml

Thanks to PlantUML for the awesome tool:

Example sequence diagram

About

Trace Hook for Common Test

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Erlang 100.0%