scalus.testing.kit
Members list
Type members
Classlikes
Attributes
- Supertypes
-
trait ArbitraryInstancestrait ArbitraryInstancestrait ArbitraryInstancestrait ArbitraryInstancesclass Objecttrait Matchableclass AnyShow all
Base test class for validator testing.
Base test class for validator testing.
Provides assertion methods for evaluating Programs and checking results. This base class works on all platforms (JVM/JS/Native).
For JVM-only testing with UplcCli support, use BaseValidatorTestJvm instead.
Attributes
- Supertypes
-
trait ArbitraryInstancestrait ArbitraryInstancestrait ScalaCheckPropertyCheckstrait ScalaCheckDrivenPropertyCheckstrait Configurationtrait TableDrivenPropertyCheckstrait Tablestrait Wheneverclass AnyFunSuitetrait AnyFunSuiteLiketrait Documentingtrait Alertingtrait Notifyingtrait Informingtrait TestRegistrationtrait TestSuitetrait Suitetrait Serializabletrait Assertionstrait TripleEqualstrait TripleEqualsSupportclass Objecttrait Matchableclass AnyShow all
- Known subtypes
-
class BaseValidatorTestJvm
JVM-specific base test class for validator testing.
JVM-specific base test class for validator testing.
Extends BaseValidatorTest with UplcCli support for comparing results across different evaluators.
Attributes
- Supertypes
-
class BaseValidatorTesttrait ArbitraryInstancestrait ArbitraryInstancestrait ScalaCheckPropertyCheckstrait ScalaCheckDrivenPropertyCheckstrait Configurationtrait TableDrivenPropertyCheckstrait Tablestrait Wheneverclass AnyFunSuitetrait AnyFunSuiteLiketrait Documentingtrait Alertingtrait Notifyingtrait Informingtrait TestRegistrationtrait TestSuitetrait Suitetrait Serializabletrait Assertionstrait TripleEqualstrait TripleEqualsSupportclass Objecttrait Matchableclass AnyShow all
ScalaTest integration trait for evaluation testing.
ScalaTest integration trait for evaluation testing.
Provides:
- Inline compilation via
assertEval*methods usingPlutusV3.compile - Given-based configuration injection
- Property-based testing support via
checkEval - Configurable PlutusVM via
usingparameters
This trait provides the core functionality for testing Scalus code evaluation.
Attributes
- Supertypes
-
trait ArbitraryInstancestrait ScalaCheckPropertyCheckstrait ScalaCheckDrivenPropertyCheckstrait Configurationtrait TableDrivenPropertyCheckstrait Tablestrait Whenevertrait Assertionstrait TripleEqualstrait TripleEqualsSupportclass Objecttrait Matchableclass AnyShow all
Test parties for smart contract testing.
Test parties for smart contract testing.
Each party has a deterministic wallet derived from a test mnemonic, providing:
hdAccount: HdAccount for CIP-1852 compatible key managementaddress: Shelley address for receiving fundssigner: TransactionSigner for signing transactions
Many names reference classic cryptographic roles (Alice, Bob, Eve, Mallory, etc.) or notable figures in cryptography and blockchain (Hal Finney, Nick Szabo).
There are exactly 20 parties to match Yaci Devkit's default configuration, which creates 20 funded addresses from the same test mnemonic. This allows the same test code to work with both the in-memory scalus.cardano.node.Emulator (for fast unit tests) and Yaci Devkit (for integration tests).
Attributes
- Companion
- object
- Supertypes
-
trait Enumtrait Serializabletrait Producttrait Equalsclass Objecttrait Matchableclass AnyShow all
Attributes
- Companion
- object
- Supertypes
-
trait Assertionstrait TripleEqualstrait TripleEqualsSupporttrait ArbitraryInstancestrait ArbitraryInstancestrait ArbitraryInstancestrait ArbitraryInstancesclass Objecttrait Matchableclass AnyShow all
- Known subtypes
-
trait IntegrationTesttrait YaciDevKit
Attributes
- Companion
- trait
- Supertypes
-
class Objecttrait Matchableclass Any
- Self type
-
ScalusTest.type
Deprecated types
Attributes
- Deprecated
-
[Since version 0.13.0]Use scalus.cardano.node.Emulator instead
Value members
Deprecated fields
Attributes
- Deprecated
-
[Since version 0.13.0]Use scalus.cardano.node.Emulator instead