►
Description
As part of the Casper Rust development environment, we provide a testing framework.
This video describes testing session code using the Casper testing framework without running a full node.
o Sample session code and tests: https://github.com/casper-ecosystem/two-party-multi-sig/
o Reference documentation: https://docs.casperlabs.io/dapp-dev-guide/writing-contracts/testing-session-code/
A
In
this
video
we
will
look
at
how
to
test
session
code.
We
will
review
the
test
that
ensures.
We
have
added
the
associated
key
correctly
here.
We
are
starting
with
the
config
test,
attribute
to
tell
the
rest
compiler
to
compile
and
run
the
test
code.
Only
when
invoking
cargo
test,
not
when
debugging
or
releasing
all
your
individual
testing
functions,
will
be
grouped
within
mod
tests.