Skip to content

Instantly share code, notes, and snippets.

View jfridye's full-sized avatar

Joseph Fridye jfridye

View GitHub Profile
@jfridye
jfridye / gist:d60c1e5fdadd38f5fc1b
Created August 4, 2014 14:37
coverage report 8-04
------------------------------------------|-----------|-----------|-----------|-----------|
File | % Stmts |% Branches | % Funcs | % Lines |
------------------------------------------|-----------|-----------|-----------|-----------|
modules/ | 42.68 | 49.33 | 30.3 | 42.68 |
boilerplate.js | 0 | 100 | 0 | 0 |
core.js | 0 | 100 | 0 | 0 |
initialize.js | 0 | 0 | 0 | 0 |
main.js | 0 | 100 | 0 | 0 |
utils.js | 59.83 | 50.68 | 47.62 | 59.83 |
modules/app/course/ | 0.29 | 0 | 0 | 0.29 |
// Learn more about configuring this file at <https://github.com/theintern/intern/wiki/Configuring-Intern>.
// These default settings work OK for most people. The options that *must* be changed below are the
// packages, suites, excludeInstrumentation, and (if you want functional tests) functionalSuites.
define(['tests/js/intern'], function (config) {
'use strict';
var exports = Object.create(config);
exports.environments = [
// Learn more about configuring this file at <https://github.com/theintern/intern/wiki/Configuring-Intern>.
// These default settings work OK for most people. The options that *must* be changed below are the
// packages, suites, excludeInstrumentation, and (if you want functional tests) functionalSuites.
define(['tests/js/intern'], function (config) {
'use strict';
var exports = Object.create(config);
exports.environments = [
@jfridye
jfridye / gist:fd7a7cded24aa758926f
Last active August 29, 2015 14:05
TheIntern Presentation Outline
THE INTERN: "Make the Intern Do the Testing"
============================================
ABOUT
=====
- it's a framework: end-to-end testing solution
- built by the dojo engineers
FEATURES
========
success case:
http://d1f03msjefv6wz.cloudfront.net/prod/public/js/modules/mmf/workout/dashboard/main.3691fa7ec695.js
http://d2i3r43q6ffvz8.cloudfront.net/prod/public/js/modules/mmf/workout/summary/main.c2ed67371a4b.js
http://d2i3r43q6ffvz8.cloudfront.net/prod/public/js/modules/mmf/workout/allanlim/main.a4d24554b8e2.js
http://d1f03msjefv6wz.cloudfront.net/prod/public/js/modules/mmf/workout/zones/main.baea0609e8b3.js
error case:
http://d1f03msjefv6wz.cloudfront.net/prod/public/js/modules/mmf/workout/dashboard/main.3691fa7ec695.js
http://d2i3r43q6ffvz8.cloudfront.net/prod/public/js/modules/mmf/workout/summary/main.c2ed67371a4b.js
http://d2i3r43q6ffvz8.cloudfront.net/prod/public/js/modules/mmf/workout/allanlim/main.a4d24554b8e2.js
┌─────────────────────────────────┬───────────────────────────────────────────────────────────────────────────────────────────────────────┐
│ Style Sheets │ 120 │
├─────────────────────────────────┼───────────────────────────────────────────────────────────────────────────────────────────────────────┤
│ Size │ 932.1KB │
├─────────────────────────────────┼───────────────────────────────────────────────────────────────────────────────────────────────────────┤
│ Data URI Size │ 220B │
├─────────────────────────────────┼───────────────────────────────────────────────────────────────────────────────────────────────────────┤
│ Ratio of Data URI Size │ 0.0%
<?xml version="1.0" encoding="UTF-8"?>
<feed xmlns="http://www.w3.org/2005/Atom"><title>panama-js_unit all builds</title><link type="text/html" href="http://ci.mapmyfitness.com/job/panama-js_unit/" rel="alternate"/><updated>2014-08-19T15:01:15Z</updated><author><name>Jenkins Server</name></author><id>urn:uuid:903deee0-7bfa-11db-9fe1-0800200c9a66</id><entry><title>panama-js_unit #174-devint (broken since build #169-devint)</title><link type="text/html" href="http://ci.mapmyfitness.com/job/panama-js_unit/174/" rel="alternate"/><id>tag:hudson.dev.java.net,2014:panama-js_unit:2014-08-19_10-01-15</id><published>2014-08-19T15:01:15Z</published><updated>2014-08-19T15:01:15Z</updated></entry><entry><title>panama-js_unit #173-devint (broken since build #169-devint)</title><link type="text/html" href="http://ci.mapmyfitness.com/job/panama-js_unit/173/" rel="alternate"/><id>tag:hudson.dev.java.net,2014:panama-js_unit:2014-08-19_09-49-09</id><published>2014-08-19T14:49:09Z</published><updated>2014-08-19T14:49:09Z</upda
------------------------------------------|-----------|-----------|-----------|-----------|
File | % Stmts |% Branches | % Funcs | % Lines |
------------------------------------------|-----------|-----------|-----------|-----------|
modules/ | 21.37 | 13.7 | 19.05 | 21.37 |
utils.js | 21.37 | 13.7 | 19.05 | 21.37 |
modules/app/workout/timeseries/models/ | 65.81 | 69.64 | 54.55 | 66.09 |
charts.js | 95.16 | 92.5 | 81.82 | 95.16 |
segments.js | 49.67 | 54.41 | 42.86 | 49.66 |
workouts.js | 100 | 100 | 100 | 100 |
zones.js | 100 | 100 | 100 | 100 |
2014-8-22 22:29:30:8 REQUEST [2014-8-22 22:29:30:8] POST /session/1/url {"url":"http://localhost:9000/__intern/client.html?suites=tests%2Fjs%2Funit%2Fmodules%2Fapp%2Fsocial%2Fcomment%2Fmodels.spec&suites=tests%2Fjs%2Funit%2Fmodules%2Fapp%2Fsocial%2Ffeed%2Fsocial.feed.utils.spec&suites=tests%2Fjs%2Funit%2Fmodules%2Fapp%2Fworkout%2Ftimeseries%2Fmodels%2Fcharts.spec&suites=tests%2Fjs%2Funit%2Fmodules%2Ftemplates%2Fhelpers%2Ftemplates.helpers.commaSeparated.spec&suites=tests%2Fjs%2Funit%2Fmodules%2Ftemplates%2Fhelpers%2Ftemplates.helpers.dateDiff.spec&suites=tests%2Fjs%2Funit%2Fmodules%2Ftemplates%2Fhelpers%2Ftemplates.helpers.displayUnits.spec&suites=tests%2Fjs%2Funit%2Fmodules%2Ftemplates%2Fhelpers%2Ftemplates.helpers.formatDuration.spec&suites=tests%2Fjs%2Funit%2Fmodules%2Ftemplates%2Fhelpers%2Ftemplates.helpers.gearlocker.spec&suites=tests%2Fjs%2Funit%2Fmodules%2Ftemplates%2Fhelpers%2Ftemplates.helpers.likeSummary.spec&suites=tests%2Fjs%2Funit%2Fmodules%2Ftemplates%2Fhelpers%2Ftemplates.helpers.localizeMeasu
================================================================= ERRORS ==================================================================
___________________________ ERROR collecting mmf/workout/import_data/nikeplus/v1/tests/test_all_day_importer.py ___________________________
../../../python/env/prod_live/lib/python2.6/site-packages/py/_path/local.py:620: in pyimport
> __import__(modname)
../../../python/env/prod_live/lib/python2.6/site-packages/_pytest/assertion/rewrite.py:113: in find_module
> os.mkdir(cache_dir)
E OSError: [Errno 5] Input/output error: '/usr/local/web/panama/prod/mmf/workout/import_data/nikeplus/v1/tests/__pycache__'
________________________________ ERROR collecting mmf/workout/import_data/nikeplus/v1/tests/test_tasks.py _________________________________
../../../python/env/prod_live/lib/python2.6/site-packages/py/_path/local.py:620: in pyimport
> __import__(modname)