# Generators

## Assertions

```
assert_class_method
assert_instance_method & assert_method

assert_file & assert_directory
assert_no_file & assert_no_directory

assert_migration
assert_no_migration

assert_field_type
assert_field_default_value
```

## Behaviour

类方法：

```
arguments

destination

tests
```

实例方法：

```
create_generated_attribute

generator

run_generator
```

其它实例方法：

```
capture
```

## ~~Setup And Teardown~~

```
setup
teardown
```

> Note: 上述模块们于 generators/testing/ 目录下。
