Open
Bug 1728845
Opened 3 years ago
Updated 3 years ago
Add tests for the profiler Rust API
Categories
(Core :: Gecko Profiler, task, P2)
Core
Gecko Profiler
Tracking
()
NEW
Tracking | Status | |
---|---|---|
firefox93 | --- | affected |
People
(Reporter: canova, Unassigned)
References
(Blocks 1 open bug)
Details
Currently we don't have a proper testing infrastructure for the profiler Rust API. This is mainly because rust unit testing is not possible due to gecko FFI bindings we have in the crate. This documentation mentions about the second option to have for tests, which is using gtests: https://firefox-source-docs.mozilla.org/testing-rust-code/index.html#gtests
This requires more work compared to Rust unit tests though. That's why they are not done as a first step. But ideally we should have some tests for the various APIs to make sure that everything works and continue to work.
You need to log in
before you can comment on or make changes to this bug.
Description
•