Skip to content

Conversation

alexkeating
Copy link
Collaborator

@alexkeating alexkeating commented Mar 27, 2025

Closes #125

  • Add a modular testing system where teams can test their deployments of a staker system with their specific setup.

@alexkeating alexkeating force-pushed the feature/modular-testing branch 2 times, most recently from b2b4782 to f3fbbfa Compare March 27, 2025 18:49
@alexkeating alexkeating changed the base branch from main to feature/modular-deploy-scripts March 27, 2025 18:49
@alexkeating alexkeating force-pushed the feature/modular-deploy-scripts branch from ff9621e to f9efed7 Compare April 23, 2025 16:54
@alexkeating alexkeating force-pushed the feature/modular-testing branch from 420a555 to db5f7e9 Compare April 23, 2025 17:35
@@ -0,0 +1,553 @@
// SPDX-License-Identifier: AGPL-3.0-only
Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

What would be better naming for this file? BaseTestSuite?

Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

That certainly is better than StandardTestSuite.
Some other names:

  • IntegrationTestSuite
  • ForkTestSuite
  • ModularTestBase

@alexkeating alexkeating changed the base branch from feature/modular-deploy-scripts to main June 4, 2025 19:06
@alexkeating alexkeating force-pushed the feature/modular-testing branch from b33295f to e02db2e Compare June 4, 2025 19:16
---------

Co-authored-by: Alexander Keating <[email protected]>

Add modular testing natspec (#150)

* Add modular testing natspec
@alexkeating alexkeating force-pushed the feature/modular-testing branch from e02db2e to b2138c7 Compare June 4, 2025 19:18
@alexkeating alexkeating marked this pull request as ready for review June 5, 2025 00:21
@github-actions
Copy link

github-actions bot commented Jun 5, 2025

Coverage after merging feature/modular-testing into main will be

100.00%

Coverage Report
FileStmtsBranchesFuncsLinesUncovered Lines
src
   DelegationSurrogate.sol100%100%100%100%
   DelegationSurrogateVotes.sol100%100%100%100%
   Staker.sol100%100%100%100%
src/calculators
   BinaryEligibilityOracleEarningPowerCalculator.sol100%100%100%100%
   IdentityEarningPowerCalculator.sol100%100%100%100%
src/extensions
   StakerCapDeposits.sol100%100%100%100%
   StakerDelegateSurrogateVotes.sol100%100%100%100%
   StakerOnBehalf.sol100%100%100%100%
   StakerPermitAndStake.sol100%100%100%100%
src/notifiers
   MintRewardNotifier.sol100%100%100%100%
   RewardTokenNotifierBase.sol100%100%100%100%
   TransferFromRewardNotifier.sol100%100%100%100%
   TransferRewardNotifier.sol100%100%100%100%

@alexkeating alexkeating requested a review from apbendi June 10, 2025 12:21
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Create Generic Integration/Smoke Tests

2 participants