The same logic for local-PASS and CI-FAIL applies here for local-FAIL and
CI-PASS: the main purpose of testing in various environments is to avoid
"it works on my machine!"

Try reading some of the results from googling
*test 'fail locally' but pass on CI -"pass locally"*
and you should find that when people investigated the cause of the
discrepancy between environments they usually learned how to improve their
code and remove bugs by not ignoring this. Good luck!

On Wed, Jan 23, 2019 at 3:12 PM Jason Hsu <[email protected]> wrote:

> I understand that if your app's tests fail in the continuous integration
> environment but pass in your development environment, you should figure out
> why tests fail in CI and NOT blow off the matter.
>
> What should you do when the reverse is true - when tests pass in CI but
> not in your local development environment?  Do you blow off testing in the
> local environment, push your changes to an alternate branch, and see if
> things pan out in the CI environment?  Maybe this is appropriate in some
> situations, but it sounds like a cop-out to me.
>
> --
> You received this message because you are subscribed to the Google Groups
> "Ruby on Rails: Talk" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to [email protected].
> To post to this group, send email to [email protected].
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/rubyonrails-talk/3b5c0b69-639b-4c93-b79f-6d3e461bbd4c%40googlegroups.com
> <https://groups.google.com/d/msgid/rubyonrails-talk/3b5c0b69-639b-4c93-b79f-6d3e461bbd4c%40googlegroups.com?utm_medium=email&utm_source=footer>
> .
> For more options, visit https://groups.google.com/d/optout.
>


-- 
Brandon McClelland
User Support Technician
Steve Jackson Games

-- 
You received this message because you are subscribed to the Google Groups "Ruby 
on Rails: Talk" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/rubyonrails-talk/CADuEqHJ6bdRXkETEjp5FwgTJymfq-O55eEwDZxHkU7ni5qK5Pg%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to