ethereumjs-monorepo icon indicating copy to clipboard operation
ethereumjs-monorepo copied to clipboard

Block: AI-restructured block.spec.ts Test File (Experiment)

Open holgerd77 opened this issue 1 year ago • 1 comments

This is a first experiment with Cursor to do a test restructure, using the following prompt:

grafik

I would not want to commit/merge this in yet, not fully trusting the result yet, pushing nevertheless for demonstration.

Would like to have a closer look at the code to get a better feel for the changes.

holgerd77 avatar Oct 12 '24 17:10 holgerd77

Codecov Report

All modified and coverable lines are covered by tests :white_check_mark:

Project coverage is 42.53%. Comparing base (4470cc3) to head (78fd07c). Report is 256 commits behind head on master.

Additional details and impacted files

Impacted file tree graph

Flag Coverage Δ
block 67.05% <ø> (-6.41%) :arrow_down:
blockchain 83.49% <ø> (?)
client ?
common 89.85% <ø> (?)
devp2p 0.00% <ø> (?)
evm 65.18% <ø> (?)
genesis 0.00% <ø> (?)
mpt 51.99% <ø> (?)
statemanager 67.41% <ø> (?)
tx 76.70% <ø> (-1.08%) :arrow_down:
util 71.23% <ø> (?)
vm 58.28% <ø> (?)
wallet 0.00% <ø> (ø)

Flags with carried forward coverage won't be shown. Click here to find out more.

:rocket: New features to boost your workflow:
  • :snowflake: Test Analytics: Detect flaky tests, report on failures, and find test suite problems.
  • :package: JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

codecov[bot] avatar Oct 12 '24 17:10 codecov[bot]

Think we are further ahead down the road now, so this first-round experiment can be closed. Still a use case though mid term.

holgerd77 avatar Apr 23 '25 10:04 holgerd77