Skip to content

[Request impl] Devtool end-to-end tests #9778

Open
@Gasoonjia

Description

@Gasoonjia

🚀 The feature, motivation and pitch

Devtools now have multiple components, like etdump, etrecrod, inspector, etc. Inpsector should take etdump and etrecord (optional) as input, but now we only have tests for each module separately, but do not have end-to-end tests, which may introduce some risk for our debugging pipeline. We would love for you to help us build end-to-end testing.

RFC

The overall picture of the e2e test will be like:

  1. Export a simple module (e.g. an module with only add or multiple operation) and dump into buffer; using etrecord to record information; see here for example but maybe use current export flow
  2. Using pybinding to load the buffer and equip with etdump
  3. Propagate the etrecord and etdump to inspector api ; choose one or two inspector functions (e.g. to_dataframe) and compare the result with your expectation.

This doc might be a good resource for you to understand the end2end pipeline better.

Metadata

Metadata

Assignees

Labels

good first issueGood for newcomersmodule: devtoolsIssues related to developer tools and code under devtools/

Type

No type

Projects

Status

No status

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions