Skip to content

Instantly share code, notes, and snippets.

@bobsilverberg
bobsilverberg / promise-example.js
Created November 21, 2016 18:59 — forked from rpl/promise-example.js
small promise example
function () {
if (...) {
return Promise.resolve();
}
const isDonePromise = doSomethingAsync().then(() => {
});
...
Greetings from Mozilla's Web QA team. Thanks for your interest in helping us test Mozilla's many Web properties! If you are interested in manual testing, a great place to get started is at https://quality.mozilla.org/teams/web-qa/#Manual. Likewise, if you are interested in automated testing, you can start by looking at https://quality.mozilla.org/teams/web-qa/#Automated.
Are you familiar with some/most of our Web properties? If not you can take a look at the projects listed on and linked to in https://wiki.mozilla.org/QA/Execution/Web_Testing#Current_Projects_.2B_Webdev_Processes to get an idea of what we do. Is there a specific type of test or tests/testing you'd like to perform? We have opportunities for bug verification, exploratory testing, new-feature testing, and a lot more, so please let us know.
Often the best step is to stop by IRC (#mozwebqa on irc.mozilla.org) and say Hi; if you'd like to one-click chat with us, just click on http://widget.mibbit.com/?settings=0a187437b06ca9bcb0cff2a717e985c5&s
import requests
import json
import argparse
# parse the arguments
parser = argparse.ArgumentParser()
parser.add_argument("user",
help="moztrap username")
parser.add_argument("api_key",
help="moztrap api_key for user")
import requests
import json
import argparse
# parse the arguments
parser = argparse.ArgumentParser()
parser.add_argument("user",
help="moztrap username")
parser.add_argument("api_key",
help="moztrap api_key for user")
@bobsilverberg
bobsilverberg / 00-intro_errorreporting.txt
Created September 28, 2012 17:50 — forked from pfctdayelise/00-intro_errorreporting.txt
Examples of pytest, especially funcargs
These are snippets of py.test in action, used in a talk given at
PyCon AU 2012 in Hobart, Tasmania. They are all relevant for
py.test 2.2 except where specified. Where taken from open source
projects I have listed a URL, some examples are from the py.test
documentation, some are from my workplace.
Apart from things called test_*, these functions should probably
be in your conftest.py, although they can generally start life in
your test files.
@bobsilverberg
bobsilverberg / Gemfile
Created May 3, 2012 13:01 — forked from jarib/Gemfile
Boolean attributes by tag name
source :rubygems
gem "webidl"
gem "nokogiri"
gem "activesupport"
gem "watir-webdriver", :git => "git://github.com/watir/watir-webdriver"