Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/thoughtbot/testing-rails
Source code for the Testing Rails book
https://github.com/thoughtbot/testing-rails
book
Last synced: about 1 month ago
JSON representation
Source code for the Testing Rails book
- Host: GitHub
- URL: https://github.com/thoughtbot/testing-rails
- Owner: thoughtbot
- License: other
- Created: 2015-04-01T21:36:05.000Z (over 9 years ago)
- Default Branch: main
- Last Pushed: 2022-02-04T17:58:54.000Z (almost 3 years ago)
- Last Synced: 2024-05-08T21:05:45.370Z (7 months ago)
- Topics: book
- Language: HTML
- Size: 6.68 MB
- Stars: 278
- Watchers: 414
- Forks: 46
- Open Issues: 13
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
- learn-ruby - x - we-test-rails-applications). (In the book, ignore controller specs because [they have been superseded by request specs](https://stackoverflow.com/a/46500842).) <!-- https://public-files.gumroad.com/g2f7k3fkbdgvubnh1b2cmsdcsenc --> (Basics / Rails basics)
README
# Testing Rails
A book about testing Rails applications the thoughtbot way.
## Reading the Book
You can find the current release in a variety of formats under the [release][]
directory. To view older releases, check out a specific Git [tag][tags].[release]: https://github.com/thoughtbot/testing-rails/tree/master/release
[tags]: https://github.com/thoughtbot/testing-rails/releases## Providing Feedback
Please provide feedback via [GitHub][].
[GitHub]: https://github.com/thoughtbot/testing-rails/issues
## Paperback
We use [Paperback][] (internal to thoughtbot) for generating eBooks. To build
the book, follow [the instructions for setting up Paperback] and be sure to have
Docker running.[Paperback]: https://github.com/thoughtbot/paperback
[the instructions for setting up Paperback]:
https://github.com/thoughtbot/paperback#installation## Building the book
To build the book (for inspecting compiled output):
$ bin/build
## Releasing an update
We're using tags and releases to track milestones in book updates.
The release script builds the project, moves the built files into
`/release`, and bumps the git tag:$ bin/release
Build a zip to upload to Gumroad and attach it to the GitHub release:
$ bin/build-zip
## Updating the sample.pdf
Build and upload to by
updating the website repo (samples are in public/).## Contributors
Thank you to all who've [contributed][contributors] so far!
[contributors]: https://github.com/thoughtbot/testing-rails/graphs/contributors