This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
So what would a 'Testing Android' book look like? | |
Part One | |
1 - High-level overview of the moving parts of Android | |
* Activities | |
* Services | |
* Broadcast Receivers | |
* Content Providers | |
2 - Introduction to the Sample App |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import pytest | |
import selenium | |
class TestRemoteControl(): | |
def setup_method(self, method): | |
self.connection = selenium.selenium("localhost", 4444, "*firefox", "http://saucelabs.com") | |
self.connection.start() | |
self.connection.window_maximize() | |
self.connection.open("/signup") | |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Page Objects 101 | |
* Why? | |
* Readable scripts | |
* Improved maintenance | |
* Moves complexity out of Scripts | |
* Page Objects | |
* One per page /or/ one per logical section of page | |
* Locators | |
* Elements |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
def foo(object): | |
def __init_(self): | |
self.content = "blah" | |
def __get__(self): | |
print(self.content) | |
def __set__(self, a, b): | |
self.a = b | |
class monkey(object): | |
bar = foo() |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Feature: Add a workshop | |
In order to have people book a workshop | |
As a trainer | |
I want to add a workshop | |
Scenario: A basic workshop | |
Given I have entered a basic workshop information | |
When I add it to the system | |
Then learners can express interest | |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
2011-11-23 21:45:59,229 ERROR [qtp932143669-13] [LazyInitializer] Exception initializing proxy | |
net.sf.hibernate.ObjectNotFoundException: No row with the given identifier exists: 1015913, of class: com.atlassian.bamboo.chains.ChainResultsSummaryImpl | |
at net.sf.hibernate.ObjectNotFoundException.throwIfNull(ObjectNotFoundException.java:24) | |
at net.sf.hibernate.impl.SessionImpl.immediateLoad(SessionImpl.java:1944) | |
at net.sf.hibernate.proxy.LazyInitializer.initialize(LazyInitializer.java:53) | |
at net.sf.hibernate.proxy.LazyInitializer.initializeWrapExceptions(LazyInitializer.java:60) | |
at net.sf.hibernate.proxy.LazyInitializer.getImplementation(LazyInitializer.java:164) | |
at net.sf.hibernate.proxy.CGLIBLazyInitializer.intercept(CGLIBLazyInitializer.java:108) | |
at com.atlassian.bamboo.chains.ChainResultsSummaryImpl$$EnhancerByCGLIB$$aa734f0a.getPlanResultKey(<generated>) | |
at com.atlassian.bamboo.ww2.beans.DecoratedResult.<init>(DecoratedResult.java:80) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Part of a Doctor's training is to have seen a lot of symptoms and situations. Bring us | |
your automation problems, puzzles, quandaries and we'll diagnose and treat them. | |
Heck! If you bring your code we'll fix it right there! On the screen! | |
But even if you don't feel comfortable with showing it, we can still work through it | |
with imaginary examples. | |
If you're looking for a fancy slide deck (ummm, why are you at codemash?!) this isn't | |
it -- we have one slide. But if you're having problems with automation and want to |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
body common control | |
{ | |
bundlesequence => { "packages", "channels", "prickly" }; | |
} | |
#http://cfengine.com/manuals/CfengineStdLibrary.html#body-package_005fmethod-yum | |
body package_method yum | |
{ | |
package_changes => "bulk"; | |
package_list_command => "/usr/bin/yum list installed"; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
I think so, Brain, but where are we going to find a duck and a hose at this hour? | |
I think so, but where will we find an open tattoo parlor at this time of night? | |
Wuh, I think so, Brain, but if we didn't have ears, we'd look like weasels. | |
Uh?; yeah, Brain, but where are we going to find rubber pants our size? | |
I think so, Brain, but balancing a family and a career ... ooh, it's all too much for me. | |
Wuh, I think so, Brain, but isn't Regis Philbin already married? | |
Wuh, I think so, Brain, but burlap chafes me so. | |
Sure, Brain, but how are we going to find chaps our size? | |
Uh, I think so, Brain, but we'll never get a monkey to use dental floss. | |
Uh, I think so Brain, but this time, you wear the tutu. |