• Alyssa Ross's avatar
    Add .env.test · 75d09033
    Alyssa Ross authored
    It took me ages to get Mastodon set up with the tests passing because
    the environment variables I needed to define weren't documented and I
    had to work them out one at a time.
    
    This change adds a .env.test file, and makes it so it isn't ignored by
    git. I think it makes sense for the .env.test file to be in git, since
    there's nothing secret in it, but other approaches would be to have a
    .env.test.sample (like the corresponding one for production), or to set
    these values in a test helper, or to adapt the tests to work with
    environments other than this one. I'd be happy to make these changes if
    that would be preferred.
    
    Being able to get set up and run the tests is a pretty important part of
    being able to contribute to Mastodon (or your test coverage with
    suffer!), so having some sort of solution like this one is vital.
    75d09033
Name
Last commit
Last update
app Loading commit data...
bin Loading commit data...
config Loading commit data...
db Loading commit data...
lib Loading commit data...
log Loading commit data...
public Loading commit data...
spec Loading commit data...
storybook Loading commit data...
vendor/assets Loading commit data...
.babelrc Loading commit data...
.codeclimate.yml Loading commit data...
.dockerignore Loading commit data...
.env.production.sample Loading commit data...
.env.test Loading commit data...
.eslintrc Loading commit data...
.gitignore Loading commit data...
.nvmrc Loading commit data...
.rspec Loading commit data...
.rubocop.yml Loading commit data...
.ruby-version Loading commit data...
.travis.yml Loading commit data...
Dockerfile.app Loading commit data...
Dockerfile.neo4j Loading commit data...
Gemfile Loading commit data...
Gemfile.lock Loading commit data...
LICENSE Loading commit data...
README.md Loading commit data...
Rakefile Loading commit data...
config.ru Loading commit data...
docker-compose.yml Loading commit data...
package.json Loading commit data...
yarn.lock Loading commit data...