Repository navigation
trading_data: integration tests of dag, facade and derivatives in one binary each - #63
Merged
Merged
Conversation
… binary each Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Binaries: trading_data_dag 12 -> 2, trading_data 6 -> 2 (
it+fuzz), trading_data_derivatives 3 -> 1. Skipped on purpose: trading_data_macros (3;demandandgraphboth define aLivenode whose name sits in inline SHAPE snapshots), trading_data_core (2; itsklinestest does not compile on the default branch:expected trading_data_core::klines::Ohlc, found Ohlc).Special cases:
#[node]leaves a crate-rootmacro_exportshim per node, so node type names must be unique per binary. Renamed in test code only: dagdiamond::Level->DiamondLevel,buffer's nestedLive->BufferLive, facadebook_rewind'sGatedBook/Hot/Mid->RewindBook/RewindHot/RewindMid(none appears in a snapshot). dag'sinternal_latchstays its own target (autotests = false): itsDeprec/Tickscollide withlatch's and both appear in inline snapshots.fuzzstays its own target: its corpus is versioned by hashes of its own source (include_str!) and keyed by module-path-bearing type names. The facade'sfacade_surfacesnapshot moved totests/it/snapshots/it__facade_surface__...Tests:
cargo nextest run -p trading_data_dag -p trading_data -p trading_data_macros -p trading_data_derivatives --all-features, 83/83 before and after, identical modulo prefix. Workspace-wide runs do not build on the default branch (core's klines test, examples/simple).🤖 Generated with Claude Code