Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.python > #70474

Re: [OT] Testing and credentials best practices?

X-Received by 10.58.43.170 with SMTP id x10mr19038338vel.36.1398106998391; Mon, 21 Apr 2014 12:03:18 -0700 (PDT)
X-Received by 10.50.221.99 with SMTP id qd3mr583579igc.6.1398106998244; Mon, 21 Apr 2014 12:03:18 -0700 (PDT)
Path csiph.com!newsfeed.hal-mli.net!feeder3.hal-mli.net!peer01.iad.highwinds-media.com!news.highwinds-media.com!feed-me.highwinds-media.com!cm18no4902100qab.0!news-out.google.com!gi6ni537igc.0!nntp.google.com!c1no1636327igq.0!postnews.google.com!glegroupsg2000goo.googlegroups.com!not-for-mail
Newsgroups comp.lang.python
Date Mon, 21 Apr 2014 12:03:17 -0700 (PDT)
In-Reply-To <mailman.9382.1398012333.18130.python-list@python.org>
Complaints-To groups-abuse@google.com
Injection-Info glegroupsg2000goo.googlegroups.com; posting-host=79.179.9.62; posting-account=uo-8fwoAAACKsFzFX78JHudx1V7WDXZ0
NNTP-Posting-Host 79.179.9.62
References <267e12d3-ea01-4886-bfa7-5c7270adbe92@googlegroups.com> <mailman.9382.1398012333.18130.python-list@python.org>
User-Agent G2/1.0
MIME-Version 1.0
Message-ID <a1e24f01-2b78-4694-a591-40b37eaf1972@googlegroups.com> (permalink)
Subject Re: [OT] Testing and credentials best practices?
From Miki Tebeka <miki.tebeka@gmail.com>
Injection-Date Mon, 21 Apr 2014 19:03:18 +0000
Content-Type text/plain; charset=ISO-8859-1
X-Received-Bytes 1540
X-Received-Body-CRC 2029176551
Xref csiph.com comp.lang.python:70474

Show key headers only | View raw


>> How do you deal with tests (both on dev machine and Jenkins) that need credentials (such as AWS keys)?.
> I've done several of these. Another option that may work in some
> contexts is to mock the test altogether;
Thanks, but mocking is last resort for me, it reduces the value of testing greatly and has the burden of catching up with the mocked service.

Back to comp.lang.python | Previous | NextPrevious in thread | Next in thread | Find similar | Unroll thread


Thread

[OT] Testing and credentials best practices? Miki Tebeka <miki.tebeka@gmail.com> - 2014-04-20 09:36 -0700
  Re: [OT] Testing and credentials best practices? Chris Angelico <rosuav@gmail.com> - 2014-04-21 02:45 +1000
    Re: [OT] Testing and credentials best practices? Miki Tebeka <miki.tebeka@gmail.com> - 2014-04-21 12:03 -0700
  Re: [OT] Testing and credentials best practices? Roy Smith <roy@panix.com> - 2014-04-20 14:32 -0700

csiph-web