Commit 4cbbd2e2 authored by allison.browne's avatar allison.browne

Document Factory Docter usage in rspec

parent 0577bab9
...@@ -52,6 +52,13 @@ bundle exec guard ...@@ -52,6 +52,13 @@ bundle exec guard
When using spring and guard together, use `SPRING=1 bundle exec guard` instead to make use of spring. When using spring and guard together, use `SPRING=1 bundle exec guard` instead to make use of spring.
Use [Factory Doctor](https://test-prof.evilmartians.io/#/factory_doctor.md) to find cases on un-necessary database manipulation, which can cause slow tests.
```shell
# run test for path
FDOC=1 bin/rspec spec/[path]/[to]/[spec].rb
```
### General guidelines ### General guidelines
- Use a single, top-level `describe ClassName` block. - Use a single, top-level `describe ClassName` block.
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment