Skip to content

Advanced testing for rustworkx-core #1390

Open
@IvanIsCoding

Description

@IvanIsCoding

What is the expected enhancement?

Currently, we test rustworkx with unit tests in Python and we test rustworkx-core with unit tests and doctests in Rust.

Because rustworkx-core is written completely in Rust and has a simpler testing setup (no need for tools that understand two languages), we could run some more advanced tests for it:

  • Miri: find undefined behaviour in Rust
  • Mutation Testing: use cargo-mutants to find lines of code that are covered by tests but do not cause test failures
  • Fuzzing: use cargo-fuzz, most likely to find panics
  • Property-based testing: use quickcheck to generate randomized tests that are stronger

Metadata

Metadata

Assignees

Labels

Type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions