/srv/irclogs.ubuntu.com/2012/04/29/#launchpad-dev.txt

Laneyyeah I gave up and went back to a lucid container :P09:38
lifeless:P09:40
wgrantThings seem to be a lot smoother with a fresh late-Precise-generated Lucid container09:44
alexhhi16:02
jelmerhi alexh16:03
alexhany hints on why the bug activity API returns an empty entries set but a non-zero total_size?16:03
alexhe.g. https://api.launchpad.net/1.0/bugs/123920/activity16:03
_mup_Bug #123920: Bluetooth Logitech Dinovo Keyboard/Mouse don't work <cft-2.6.27> <iso-testing> <linux-source-2.6.22> <metabug> <patch> <Bluez-utils:New> <bluez (Ubuntu):Triaged> <linux (Ubuntu):Invalid> <linux-source-2.6.22 (Ubuntu):Won't Fix> <udev (Ubuntu):Invalid> < https://launchpad.net/bugs/123920 >16:03
alexhhappens with every bug I've tried, not just that one, fwiw16:05
LaneyIs there a make harness that lets me do doctest stuff?18:53
Laney(or, what do I import to get that stuff?)18:57
=== almaisan-away is now known as al-maisan
=== al-maisan is now known as almaisan-away
lifelessLaney: what do you mean?19:22
LaneyI'm trying to make a doctest and it'd be good to be able to test this interactively19:26
Laneybut I don't know what to import into the harness repl to get those functions19:26
Laneyit doesn't really matter; I'm feeling it out without this.19:26
lifelessah19:29
lifelessso we consider doctests one step up from the spawn of evil19:30
lifelessyou might like to not make one19:30
Laneyyeah?19:30
LaneyI thought they were the way to test UI changes19:30
lifelessyah19:30
lifelessvery much deprecated19:30
lifelesshaving testable *documentation* is still good, and if you are writing docs you expect folk to read, feel free to make them a doctest19:30
lifelessbut such are not replacements for unit tests or integration tests19:31
cjwatsonLaney: unfortunately the codebase is not always a good indicator of modern practice :-/19:48
cjwatsonanother approach is: make your test fast enough that instead of running things interactively in a harness, you can just repeatedly run the test19:49
Laneycjwatson: I don't know how to test the UI then :P (unless I am misusing the terminology and interactive tests are something different from doctests)19:50
Laneythe reason I want to use the harness is because I don't really have a view of the test interfaces yet so it's most efficient to just be able to bash on stuff19:51
Laneyfyi, the file I am proposing to edit is lib/lp/soyuz/stories/soyuz/xx-distributionsourcepackagerelease-pages.txt19:51
cjwatsondoctests are noninteractive19:51
Laneythe repl-style tests I mean19:52
cjwatsonwell, anything you can do in that can be recast as a unit test fairly straightforwardly19:52
cjwatsonjust a matter of learning the various self.assert* helpers19:53
Laneyindeed. I just thought these were the way that UI tests were done.19:53
lifelessso a UI test could mean:20:05
lifeless - JS tests20:05
lifeless - html content checking20:05
lifeless - non-ajax form checking20:05
lifeless - ajax integration test20:05
lifelessperhaps a better question is, what change are you making ?20:06
lifelessalso, morning all20:06
lifelessbbiab, shopping run20:06
mwhudsonlifeless: did you see http://cortesi.github.com/pathod/22:22
lifelessno, looking22:23
lifelessnice22:23
lifelessfault injection test server. woot.22:23
lifelessnice - 200@100k,ascii_letters22:25
wgrantalexh: You're unauthenticated.22:34

Generated by irclog2html.py 2.7 by Marius Gedminas - find it at mg.pov.lt!