#Rakefiles
All files are split with a namespace, the initial commit contains a 'mt' (Minitest) namespace and some utility functions for it. That file is documented below (so you can do the same with others if you add them).
N.B. If you want to use arguments with rake tasks whilst using the oh-my-zsh terminal - you need to create an alias for the rake task. See here: ohmyzsh/ohmyzsh#433. In short, it means adding a new line with: alias rake='noglob rake'
to your .zshrc file.
##namespace: mt
###setup
- Creates a spec folder, and then creates the required spec files inside of that folder, based off of the models inside your models folder
- Optionally takes a number of arguments that will be used to create your models first, then create the tests
- Passed in like rake mt:setup[bear,fish,river]
###delete_specs
- Deletes your specs/ folder (just runs rm -rf specs/ inside the task)
###delete_models
- Deletes your models/ folder (just runs rm -rf models/ inside the task)
###run
- Will loop over each .rb file in your specs folder and run them.