Skip to content
Test factories for Diesel
Rust PLpgSQL Other
Branch: master
Clone or download
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
bin
diesel-factories-code-gen
diesel-factories
githooks
migrations
.gitignore
.travis.yml
CHANGELOG.md
Cargo.toml
README.md

README.md

diesel-factories

An implementation of the test factory pattern made to work with Diesel.

See the documentation for more info.

Development

To install the cargo fmt pre-commit githook:

git config core.hooksPath ./githooks

To run tests, you will need to create a database:

CREATE DATABASE diesel_factories_test;

And also run migrations:

cargo install diesel_cli --no-default-features --features postgres
diesel migration run --database-url postgresql://localhost:5432/diesel_factories_test

License: MIT

You can’t perform that action at this time.