Skip to content

Instantly share code, notes, and snippets.

View chrisleversuch's full-sized avatar

Chris Leversuch chrisleversuch

View GitHub Profile
@chrisleversuch
chrisleversuch / config.yml
Created December 6, 2018 11:52
Creating signed iOS builds using CircleCI
jobs:
dist_qa:
macos:
xcode: "10.1.0"
environment:
LC_ALL: en_US.UTF-8
LANG: en_US.UTF-8
steps:
- checkout
@chrisleversuch
chrisleversuch / BasketScreenTests.swift
Created March 26, 2018 13:52
Pointers for UI testing in swift
override func setUp() {
super.setUp()
continueAfterFailure = false
let app = XCUIApplication()
app.launchArguments = ["UITestingEnabled"]
app.launchEnvironment["launchViewController"] = "basket"
app.launch()
}
@chrisleversuch
chrisleversuch / AppDelegate.swift
Last active March 26, 2018 13:53
Pointers for UI testing in swift
func application(_ application: UIApplication,
didFinishLaunchingWithOptions launchOptions: [UIApplicationLaunchOptionsKey: Any]?) -> Bool {
// Override point for customization after application launch.
if NSClassFromString("XCTestCase") != nil {
return true
}
// Setup Code 1 - Do any setup that is needed for both the app and UI tests e.g. global styling
if ProcessInfo.processInfo.arguments.contains("UITestingEnabled") {
@chrisleversuch
chrisleversuch / config.yml
Created February 23, 2018 09:32
CircleCI config for Firebase Test Lab
# Java Gradle CircleCI 2.0 configuration file
#
# Check https://circleci.com/docs/2.0/language-java/ for more details
#
version: 2
jobs:
build:
docker:
# specify the version you desire here
- image: circleci/android:api-26-alpha
@chrisleversuch
chrisleversuch / config.yml
Created February 21, 2018 10:32
CircleCI config
# Java Maven CircleCI 2.0 configuration file
#
# Check https://circleci.com/docs/2.0/language-java/ for more details
#
version: 2
jobs:
build:
docker:
# specify the version you desire here
- image: circleci/openjdk:8-jdk
protocol MyViewContract: class {
}
protocol MyPresenterContract {
}