Skip to content

Conversation

@flmath
Copy link

@flmath flmath commented Apr 19, 2025

I think coverage of this module will do not do harm.
Scope based on based on https://ferd.github.io/recon/recon_trace.html#calls/3
I did not figured out how to process suite in ct to transform shellfuns so I do it dirty with dbg:fun2ms
I hope you like it.
Best regards
Mathias Green

flmath and others added 3 commits April 15, 2025 23:36
- Introduced a new module `fake_reg` that simulates the behavior of the Erlang registry for testing purposes.
- Implemented gen_server callbacks and necessary API functions in `fake_reg`.
- Updated `recon_trace_SUITE` to utilize the new `fake_reg` for testing.
- Refactored existing tests to improve clarity and maintainability, including logging trace outputs to files.
@flmath
Copy link
Author

flmath commented Apr 19, 2025

rebar3 ct --suite recon_trace_SUITE

@flmath flmath marked this pull request as draft May 14, 2025 20:28
flmath added 14 commits May 16, 2025 03:01
…use_dbg

- refactoring mostly referencing recon_trace instead duplicating
- fixed return number of matches
…_use_dbg and integrating new test cases for timestamp and binary pattern matching.
…test cases for recon_trace and recon_trace_use_dbg modules.
…clarifying usage of dbg flag and pattern matching for maps and binaries.
…is surpassed by default, add custom value print and test case for it
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant