Commit | Line | Data |
ee0589c0 |
1 | This tarball contains exercises for the Intro to Moose class. Here's |
2 | what's what ... |
3 | |
4 | t/*.t - each .t file contains instructions on what the exercise is, |
5 | and runs the tests to check your code. |
6 | |
7 | t/lib - includes a recent copy of the Test-Harness and Test-Simple |
8 | modules so we're all on the same page, as well as some other modules |
9 | used in the tests. |
10 | |
11 | t/lib/MooseClass/Tests.pm - the actual tests all live in this |
12 | module. It also shows many examples of how to use Moose's metaclass |
13 | APIs for introspection. |
14 | |
15 | bin/prove - a slightly hacked version of prove that makes sure to look |
16 | in t/lib first. If you have a recent version of prove installed, this |
17 | can be ignored, but it's worth trying if you have any weird problems. |
18 | |
19 | tarballs - Moose, Class::MOP, and all their dependencies. |
20 | |
21 | lib - this will be your working directory for most exercises. You'll |
22 | be creating various classes and roles in here, and then testing |
23 | against the test code. |
24 | |
25 | answers - code that passes all the tests for each section. You can |
26 | look in here if you're stuck, or if you just want to see how someone |
27 | else did these exercises. |