Thank you, Sam. I've added config for dev/stage/prod today and all are working except dev, which shows that the server is down (from web interface).
If that's your preference, I can make prod the default and actually was working on deleting any users created so as you say not to 'pollute' metrics. Thus far I've been a shameless polluter in that regard. After I've added in a few more test cases, I'll add an ncurses type menu control to make so you can both see and specify the desired test. ----- Original Message ----- From: "Sam Penrose" <[email protected]> To: "Richard Pappalardo" <[email protected]> Cc: "Jared Hirsch" <[email protected]>, "No-Jun Park" <[email protected]>, "Edwin Wong" <[email protected]>, [email protected] Sent: Thursday, May 8, 2014 12:42:37 PM Subject: Re: FxA automation So, this is fantastic! I've been doing 90%/10% Gecko/Gaia development using a combination of unit and manual testing -- all the inaccuracy of the former plus all the tedium and slow turnaround of the latter. Richard's work lets me have the convenience of unit tests (kickoff shell command, refill coffee cup, inspect result) with the value of integration testing. To test gecko specifically, just replace the b2g directory in gaia/ with a link to "dist/B2GDebug.app" inside your Gecko B2G desktop build. This looks looks like: # in .mozconfig mk_add_options MOZ_OBJDIR=</path/from/root/to/>build_unified_b2g # shell command ln -s </path/from/root/to/>build_unified_b2g/dist/B2GDebug.app </path/to/gaia/>b2g Next steps are: 1) Add test cases to make fxa-test. Right now it covers only a part of the state space. 2) Add controls so we can specify which cases to run per invocation. 3) Think about server usage. In my dream world, we run against prod, with some sort of flags set on our data to prevent contaminating metrics. This is obviously an organizational issue, and I'd love to get everyone together to talk about the best way to do effective TDD. ----- Original Message ----- From: "Richard Pappalardo" <[email protected]> To: "Jared Hirsch" <[email protected]>, "Sam Penrose" <[email protected]>, "No-Jun Park" <[email protected]> Cc: "Edwin Wong" <[email protected]>, [email protected] Sent: Tuesday, May 6, 2014 2:58:08 PM Subject: FxA automation Hey folks, Had a minor setback with a marionette js bug in the latest master, but thanks to Gareth Aye, I was able to put a workaround in place. If you'd like to begin using the automation to validate your work, you can now grab the tests easily from my branch. cd to your gaia directory and run the following: $ cp Makefile Makefile.BAK; curl -O https://raw.githubusercontent.com/rpappalax/gaia/bug-989368-fxa-auto/Makefile then to download files into your gaia dir: $ make fxa-update run automation $ make fxa-test Let me know if you have any problems with it. make fxa-test is currently set to run one (smoke) test for you to do a quick validation, but other tests can be specified in FXA_TEST_MANIFEST No-Jun and I have already been working together to put other tests in place. We'll be working directly from the FxA product backlog, but please let us know if there are other features that we should give priority to for automation that would help you. I know Sam mentioned something about an Oath test last week and Jed had requested tests for the RP API, which I still need to look into. Our primary goal is to create tests you can use right now to validate your work, but I'll also be extracting from those simple feature tests to ultimately be landed in gaia, where possible. Thanks! -R _______________________________________________ Dev-fxacct mailing list [email protected] https://mail.mozilla.org/listinfo/dev-fxacct

