Test::Spec, Test Using a Declarative Testing Framework
Test::Spec
- Julian's team partner (Dan Muey) does Test::Spec a lot
describebefore, aroundit- One assertion inside, usually
- Julian wrote tests to cover
File::Copy::Recursive- Used an example with
Path::Tiny - Build directory tree for copies
- Used an example with
File::Copy::Recursivehandles permissions and such as well- share in the describe makes data available to nested pieces
- Constructs the ok messages from the nested describes and its.
- Need to call
runteststo make the tests in the file run shared_examples_for- in spec_helpers
- called by
it_should_behave_like
aroundsmatch as expected- If you add a message to the assertion, it replaces the generated message
- Without the sub, it shows as unimplemented
before eachandafter eachbefore allandafter all- Supports
xit(disabled test)
We had 7 people attending this month. As always, we'd like to thank cPanel, L.L.C for providing the meeting space and food for the group.

