Hacktoberfest 2026: the issues maintainers tagged for October, open and beginner-friendly. Browse Hacktoberfest issues

Improve mp4parse_capi test coverage

Open
#71 1 comment 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Assessment

Difficulty
3/5
Estimated time
1-2 days
Newbie friendliness
45/100
Issue type
Refactor
Clarity
Mostly clear
Activity status
Stale
Tech stack
c, rust
Domain
testing-qa

Research direction

Start with the existing C API tests in test.cc and afl-capi.rs, then run the current test suite to understand how those tests are organized. Add coverage for mp4parse_get_indice_table, mp4parse_get_fragment_info, mp4parse_is_fragmented, and mp4parse_get_pssh_info, and confirm the tests pass for the new API surface.

Written by the indexing model from the issue text.

Description

help wanted

Since we wrote the C API tests in test.cc and afl-capi.rs, we've added mp4parse_get_indice_table, mp4parse_get_fragment_info, mp4parse_is_fragmented, and mp4parse_get_pssh_info to the C API. This issue covers updating those tests to cover the new API surface.

Longer term, we should probably introduce a policy that requires updating the tests as the API is extended. And/or try to move more of the code into the Rust side and make the C API code as slim as possible.

Related: https://bugzilla.mozilla.org/show_bug.cgi?id=1342848

Dominant language
Rust
Stars
448
Forks
72
Avg merge
20d 3h
Merged PRs (30d)
1

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from mozilla/mp4parse-rust

All issues in mozilla/mp4parse-rust

Similar issues

More Rust issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.