ScalusTest

scalus.testing.kit.ScalusTest
See theScalusTest companion object

Attributes

Companion
object
Graph
Supertypes
class Object
trait Matchable
class Any
Show all
Known subtypes
object TestUtil

Members list

Value members

Concrete methods

def compareBudgetWithReferenceValue(testName: String, scalusBudget: ExUnits, refBudget: ExUnits, isPrintComparison: Boolean = ...): Unit

Inherited methods

Attributes

Inherited from:
ArbitraryInstances
def genAmount: Gen[BigInt]

Attributes

Inherited from:
ArbitraryInstances
def genAsset: Gen[Value]

Attributes

Inherited from:
ArbitraryInstances

Generates a random asset name, which is a ByteString of length between 1 and 32 bytes.

Generates a random asset name, which is a ByteString of length between 1 and 32 bytes.

Attributes

Inherited from:
ArbitraryInstances
def genByteStringOfN(n: Int): Gen[ByteString]

Attributes

Inherited from:
ArbitraryInstances
def genLovelace: Gen[Value]

Attributes

Inherited from:
ArbitraryInstances

Attributes

Inherited from:
ArbitraryInstances
def genToken: Gen[(ByteString, BigInt)]

Attributes

Inherited from:
ArbitraryInstances

Givens

Inherited givens

given TermShrink: Shrink[Term]

Attributes

Inherited from:
ArbitraryInstances
given TxIdV1: Arbitrary[TxId]

Attributes

Inherited from:
ArbitraryInstances
given arbAssocMap[A : Eq, B : Arbitrary]: Arbitrary[AssocMap[A, B]]

Attributes

Inherited from:
ArbitraryInstances
given arbData: Arbitrary[Data]

Attributes

Inherited from:
ArbitraryInstances
given arbList[A : Arbitrary]: Arbitrary[List[A]]

Attributes

Inherited from:
ArbitraryInstances
given arbOption[A : Arbitrary]: Arbitrary[Option[A]]

Attributes

Inherited from:
ArbitraryInstances
given arbSortedMap[A : Ord, B : Arbitrary]: Arbitrary[SortedMap[A, B]]

Attributes

Inherited from:
ArbitraryInstances
given arbitraryConstant: Arbitrary[Constant]

Attributes

Inherited from:
ArbitraryInstances
given arbitraryDefaultUni: Arbitrary[DefaultUni]

Attributes

Inherited from:
ArbitraryInstances
given arbitraryTerm: Arbitrary[Term]

Attributes

Inherited from:
ArbitraryInstances
given bArb: Arbitrary[B]

Attributes

Inherited from:
ArbitraryInstances
given byteStringArb: Arbitrary[ByteString]

Attributes

Inherited from:
ArbitraryInstances
given given_Arbitrary_Address: Arbitrary[Address]

Attributes

Inherited from:
ArbitraryInstances

Attributes

Inherited from:
ArbitraryInstances

Attributes

Inherited from:
ArbitraryInstances

Attributes

Inherited from:
ArbitraryInstances

Attributes

Inherited from:
ArbitraryInstances

Attributes

Inherited from:
ArbitraryInstances
given given_Arbitrary_Program: Arbitrary[Program]

Attributes

Inherited from:
ArbitraryInstances

Attributes

Inherited from:
ArbitraryInstances

Attributes

Inherited from:
ArbitraryInstances

Attributes

Inherited from:
ArbitraryInstances
given given_Arbitrary_TxId: Arbitrary[TxId]

Attributes

Inherited from:
ArbitraryInstances

Attributes

Inherited from:
ArbitraryInstances
given given_Arbitrary_TxInfo: Arbitrary[TxInfo]

Attributes

Inherited from:
ArbitraryInstances
given given_Arbitrary_TxOut: Arbitrary[TxOut]

Attributes

Inherited from:
ArbitraryInstances

Attributes

Inherited from:
ArbitraryInstances
given given_Arbitrary_Value: Arbitrary[Value]

Attributes

Inherited from:
ArbitraryInstances

Attributes

Inherited from:
ArbitraryInstances
given given_Shrink_Data: Shrink[Data]

Attributes

Inherited from:
ArbitraryInstances
given given_Shrink_Program: Shrink[Program]

Attributes

Inherited from:
ArbitraryInstances
given iArb: Arbitrary[I]

Attributes

Inherited from:
ArbitraryInstances

Extensions

Extensions

extension (self: SIR)
def runScript(using scalusOptions: Options = ...)(scriptContext: ScriptContext, param: Option[Data] = ...): Result
def scriptV3(using scalusOptions: Options = ...)(errorTraces: Boolean = ...): Program
extension (self: Program)
def runWithDebug(scriptContext: ScriptContext): Result