README.md in blam-1.1.0 vs README.md in blam-1.2.0
- old
+ new
@@ -62,10 +62,11 @@
- **--tests-dir** - Pass an alternative directory to `spec` in which the test files will be created.
- **--test-suffix** - Change the suffix from the test files from the default `spec` to anything you like. Non spec suffixes will get a default class template rather than an rspec class template.
- **--additional-test-dirs** - Add other directories to create additional test files. This can be helpful for breaking up your tests into folders like `spec/unit` `spec/integration`
- **--no-tests** - Regardless of your settings it will not create the test files. This is bad. And you are lazy for using this option.
- **--just-unit** - This will not create files if you have specified additional test directories, helpful when you just want a unit test and don't need an integration test as well.
+- **--init** - Create a default `.blam` file as detailed below.
###.blam File
No one likes to type all those crazy options all the time! BLAM! Put them in a file called `.blam` in the root of your project:
@@ -73,9 +74,11 @@
tests_dir: spec/unit/lib
additional_test_dirs: [spec/integration/lib, spec/system/lib]
source_dir: lib
test_suffix: spec
```
+
+To initialize a default file for your project, just run `blam --init`
Don't worry, you can override these with the command line options any time. Blam!
## Contributing