Decided…

  1. to start trying to lower bars and improve usability (in tools/processes) for contributors.
  2. to start coding more.

Those are my new year resolutions.  Let’s see what happens next year!

 

 

Posted in Uncategorized | Leave a comment

Exploratory testing, UA, State Diagrams, etc.

I’ve utilized a semi State Diagram based on UI to help explain exploratory testing.

I found out that User Experience staff utilizes a UA : User interface Architecture to show all the UI and flows.

Anyways, you can see the concept here :

https://drive.google.com/folderview?id=0B_0LdM1CVycIVTFWNWpXNFEyQmM&usp=sharing

The positive test cases are outlined, and from there the negative test cases can be tested and if you want to document exploratory testing, you can branch out from the diamonds.

Posted in Uncategorized | Leave a comment

The difference between amateur and pro…

The amount of energy expended on doing a something within the realms of the task…

ie. A black belt isn’t going to exert more energy to block or dodge than an amateur is in any martial arts.

That energy is reserved for other purposes.

This can be applied to any profession.  The only way to get to become pro at something is exposure, experience and practice.  The “fake it til you make it” Ted Talk ( http://www.ted.com/talks/amy_cuddy_your_body_language_shapes_who_you_are )  is basically encouraging those that self doubt themselves and those that try hard.

She talks about body posture; there’s an underlying message that people who are very critical of themselves will end up self doubting their own abilities.

First day you’re going to suck, but at the same time the more you get exposed, the experience you take in and practice as long as you are continually learning, you will become a professional. Becoming a professional does not come over night.

Posted in Uncategorized | Leave a comment

Japanese Proverb.

6a00d83451b64669e2014e6013b60f970c-800wi

Posted in Uncategorized | Leave a comment

Blob free now on task cluster

Bug 1175934 [B2G] Add support to build blobfree images

has landed and is now available on task cluster :

https://tools.taskcluster.net/index/artifacts/#gecko.v1.mozilla-central.latest.linux.aries-blobfree/gecko.v1.mozilla-central.latest.linux.aries-blobfree.opt

What is Blob free?  see https://developer.mozilla.org/en-US/Firefox_OS/Building#Building_a_blob_free_full_system_zip

That’s right.  if you follow Bug 1166276 (b2g-addon) [meta] Getting a B2G Installer Addon, you will see that there’s an addon to the desktop firefox version that will allow you to flash your device, and these blobfree images are to be available to the public.

\o/ Dev team!

Posted in B2G, Gaia, mobile, Planet, QA, QMO | Tagged , , , , , | 1 Comment

Modifying multiple bugs in a search query in bugzilla:

[2:51pm] nhirata_: swilkes: you mentioned you can do bulk edits to bugzilla bugs?  how do you do that?
[2:51pm] nhirata_: ( I would like to edit the priority field to a bunch of bugs I created 0
[2:51pm] nhirata_: )
[2:52pm] swilkes: let me take a look
[2:52pm] swilkes: doliver showed me how but I haven’t done it in a while
[2:52pm] swilkes: one sec
[2:53pm] nhirata_: ok thanks
[2:53pm] swilkes: ah nhirata_
[2:54pm] swilkes: so – get a bug list together somehow – search, etc. at the bottom you should see (just to the rightof the Long Format and XML buttons)
[2:54pm] drs: yeah
[2:54pm] swilkes: a “Change many bugs at once”
[2:54pm] swilkes: sorry, several bugs at once
[2:55pm] nhirata_: ah sweet.
[2:55pm] nhirata_: thanks
[2:55pm] swilkes: and then you’ll enter a checkbox UI
[2:55pm] swilkes: check them and then allllll the fields you could want are at the bottom
[2:59pm] nhirata_: awesome!  thanks swilkes!
[2:59pm] swilkes: happy to
[2:59pm] nhirata_: same query worked since I was looking for non P1/P2
[2:59pm] swilkes: it’s a lifesaver
[2:59pm] nhirata_: saved a lot of time
[2:59pm] swilkes: truly

Posted in Uncategorized | Leave a comment

Possible script to standup an linux box with b2g… still need to work out some parts:

# Ubuntu 12.04 64 bit OS: B2G installer

# the following will get your machine all updated
sudo apt-get update
sudo apt-get upgrade

# add repos
sudo apt-add-repository ppa:chris-lea/node.js
sudo add-apt-repository ppa:ubuntu-toolchain-r/test

sudo apt-get update
sudo apt-get install python-software-properties

sudo apt-get install libxml2-utils
sudo apt-get install autoconf2.13 bison bzip2 ccache curl flex gawk gcc g++ g++-multilib git ia32-libs lib32ncurses5-dev lib32z1-dev libgl1-mesa-dev libx11-dev make zip

sudo apt-get install openjdk-7-jdk

# [ if that does not work or if you want oracle’s jdk :
# sudo add-apt-repository ppa:webupd8team/java
# sudo apt-get update
# sudo apt-get install oracle-java7-installer
# sudo update-java-alternatives -s java-7-oracle ]

# * NEED TO SCRIPT *
# download studio : http://developer.android.com/sdk/index.html
# run studio.sh
# go to the sdk directory
# run tools/android update sdk –no-ui

# * NEED TO SCRIPT *
# vi ~/.bashrc ( or profile or whatever)
# add : PATH=$PATH:<android sdk location>/tools:<android sdk location>/platform-tools

ccache –max-size 3GB

sudo vi /etc/udev/rules.d/android.rules
# * NEED TO SCRIPT *
# get file from github.com/nhirata/android_rules instead of vi

sudo chmod a+r /etc/udev/rules.d/android.rules
sudo service udev restart

sudo apt-get install mercurial

# * NEED TO SCRIPT *
# option
# backing up a device:
# adb pull /system -backup target dir=/system
# adb pull /data -backup target dir=/data
# adb pull /vendor -backup target dir=/vendor
# adb pull /boot -backup target dir=/boot

git clone git://github.com/mozilla-b2g/B2G.git
cd B2G
BRANCH=master ./config.sh flame-kk

sudo apt-get install gcc-4.7 g++-4.7
sudo rm /usr/bin/gcc
sudo ln -s /usr/bin/gcc-4.7 /usr/bin/gcc
sudo rm /usr/bin/g++
sudo ln -s /usr/bin/g++-4.7 /usr/bin/g++

sudo apt-add-repository ppa:chris-lea/node.js-legacy
sudo apt-get update
sudo apt-get install nodejs-legacy
sudo apt-get install nodejs

# * NEED TO SCRIPT *
# option : changing gecko paths
# vi .userconfig:
# export GECKO_PATH=/path/to/mozilla-central
# export GECKO_OBJDIR=/path/to/mozilla-central/objdir-gonk
# back up device
# ANDROIDFS_DIR=<absolute path to parent dir of system dir> ./config.sh <target>

# copy b2g tree
# rsync -a source/ dest/

# * NEED TO SCRIPT *
# option : adding locales
# Adding locales
# cd gaia/locales/
# hg clone https://hg.mozilla.org/releases/gaia-l10n/v1_2/es
# export LOCALE_BASEDIR=$PWD/locales
# export LOCALES_FILE=$PWD/locales/languages_dev.json
# export GAIA_DEFAULT_LOCALE=es
# GAIA_KEYBOARD_LAYOUTS=en,es,it
# HOST_CXX := g++-4.6

# Marionette install:
# * NEED TO SCRIPT *
wget –no-check-certificate https://bootstrap.pypa.io/ez_setup.py
sudo python ez_setup.py –insecure

# GECKO_DIR= B2G_Gecko
cd $GECKO_DIR/testing/marionette/client
sudo python setup.py develop
# not sure why you have to run it twice
sudo python setup.py develop
sudo apt-get install python-pip
sudo pip install virtualenv

MARIONETTE_ENV=marionette
virtualenv $MARIONETTE_ENV
cd $GECKO_DIR/testing/marionette/client
$MARIONETTE_ENV/bin/python setup.py develop

# verify install:
# $MARIONETTE_ENV/bin/python
#  >>> from marionette import Marionette
# On device run
# adb forward tcp:2828 tcp:2828
# cd $GECKO_DIR/testing/marionette/client/marionette
# python runtests.py –address localhost:2828 –type=b2g tests/unit/unit-tests.ini

Posted in Uncategorized | Leave a comment