-
Notifications
You must be signed in to change notification settings - Fork 1.8k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add some docs info #3114
Add some docs info #3114
Conversation
2d6b84e
to
4d5b4e4
Compare
Generated by 🚫 Danger |
doc/TESTING.md
Outdated
|
||
## Solr tests | ||
|
||
Solr (search) tests (generally not recommended!) require [installing the Solr search engine](#solr-search-engine) (see above). Once you've done that, you still need to turn it off in development mode before running tests, with `rake sunspot:solr:stop`. Read more about [this issue here](https://github.com/publiclab/plots2/issues/832#issuecomment-249695309). | ||
Solr (search) tests (generally not recommended!) require [installing the Solr search engine](#solr-search-engine) (see above). Once you've done that, you still need to turn it off in development mode before running tests, with `rake sunspot:solr:stop`. Read more about [this issue here](https://github.com/publiclab/plots2/issues/832#issuecomment-249695309). |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
We can remove this whole section on Solr - as we've stopped using it! Thank you!!!!
doc/TESTING.md
Outdated
@@ -60,10 +60,18 @@ And to run just a single test within a file: | |||
|
|||
`ruby -I test test/functional/some_file.rb --name=name_of_test` | |||
|
|||
### Testing mails in development envirmoment | |||
### Testing mails in development environment |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
😆 thanks for the catch!!!
Same links would work, no modification in links are required. | ||
It will also show us how our actual mail will look like. | ||
Mail will be same as actual mail we will get in production. | ||
|
||
## Testing branches |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
🎉
doc/TESTING.md
Outdated
a stable and an unstable. Those last two are used to test new code before sending | ||
them to production. | ||
If you need to use the stable or the unstable branch, | ||
please ask if someone else is already using it. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
...in the chatroom (https://publiclab.org/chat)
would be great!
4d5b4e4
to
23b69d1
Compare
hi @jywarren thanks for the tips, I updated the files with them just now :) |
hi @jywarren do you think there s still something to add here? :) |
OK! Merging!!! Glad that testing bug got fixed! 👍 |
Fixes #3115
@publiclab/reviewers could you give me more tips to add to those docs?
When @milaaraujo and I were reading and studying the code a few weeks ago, we found some space for improvement. Would appreciate if you could give more tips here. For example, we don't know exactly how to explain more about the stable and unstable branches and how to use them.
Thanks!
Make sure these boxes are checked before your pull request (PR) is ready to be reviewed and merged. Thanks!
rake test
@publiclab/reviewers
for help, in a comment belowIf tests do fail, click on the red
X
to learn why by reading the logs.Please be sure you've reviewed our contribution guidelines at https://publiclab.org/contributing-to-public-lab-software
We have a loose schedule of reviewing and pulling in changes every Tuesday and Friday, and publishing changes on Fridays.
Thanks!