Profile

Cover photo
Chris Strom
Works at EEE Computes
Lives in Baltimore
1,024 followers|6,224,665 views
AboutPostsPhotos+1's

Stream

Chris Strom

Shared publicly  - 
 
Trying out a simple #polymer  object as the “M” in MVVM^ when applied to Polymer.

^ The first “M”, not the second :P
Last night's attempt at MVVM (Model-View-ViewModel) in Polymer did not quite work out the way I hoped. I am trying to rework the very simple <hello-you> Polymer element used in a couple of Patterns in Polymer chapters: I had...
2
James Hurford's profile photoChris Strom's profile photoTyson Kemp's profile photo
3 comments
 
/sub
Add a comment...

Chris Strom

Shared publicly  - 
 
Converting a #polymer  element from Polymer 0.5 to 0.8 is much easier the second time around. Especially with some web-component-tester tests handy :)
Tonight, I break a rule. Sort of. Normally in these chains, I think of a question to which I do not know the answer then do my best to answer it. During the course of exploring web-component-tester (WCT) last night, I was qui...
5
Add a comment...

Chris Strom

Shared publicly  - 
 
Debugging and setting breakpoints with the web-component-tester for #polymer  works brilliantly, thanks to WCT's --persistent option!
At this point, I am just looking for an excuse not to use web-component-tester. And so far, I have not found one. The web-component-tester (WCT) testing library for Polymer elements seems quite solid. It eliminates a lot of t...
2
1
Start Polymer's profile photo
Add a comment...

Chris Strom

Shared publicly  - 
 
Using Page Objects with web-component-tester is simple as can be. User-oriented testing of #polymer  elements made easy :)
I am a Page Objects fan. I like page objects for testing web pages, applications, and even Polymer. Tonight, I try to use them with the web-component-tester (WCT). I typically eschew code reuse in my tests. That is not quite ...
1
Add a comment...
 
I remain a fan of xvfb-run for headless browser testing in JavaScript land. And it work quite nicely with web-component-tester when testing #polymer  elements :)
2
Add a comment...

Chris Strom

Shared publicly  - 
 
I've never used Gulp before, so I give it a whirl with web-component-tester for #polymer . The easy stuff is pretty easy, but the difficult (desktop notifications) may be beyond me :-\
I hope to build on last night's success with web-component-tester. With relatively little effort or confusion, I was able to write a simple-yet-legitimate test with this newish testing tool for Polymer. Tonight, I would like ...
1
Add a comment...
Have him in circles
1,024 people
Ahmet Kurnaz's profile photo
Bruno Škvorc's profile photo
Brandon Donnelson's profile photo
DartVoid's profile photo
Gary Miller's profile photo
David Perit's profile photo
Chris Rennert's profile photo
Matt Kaufman's profile photo
Start Polymer's profile photo

Chris Strom

Shared publicly  - 
 
I don't really understand how MVVM might apply to #polymer , so I start reworking code to better support it. Mostly, I break stuff, but I take some initial 0.8 steps in the right direction...
I think MVVM is overkill for most Polymer elements. So tonight I apply it to an extremely simplistic Polymer element to confirm my bias. I kid. I kid. Several Patterns in Polymer readers have inquired about MVVM (Model-View-V...
2
Add a comment...

Chris Strom

Shared publicly  - 
 
Yikes! I had not realized how much #polymer  is going to change with the 0.8 release. I converted some existing +Patterns in Polymer tests to web-component-tester with the idea of using them to verify upgrading to 0.8. I got it eventually, but… ugh.

0.8 is going to hurt :(
It looks as though I will be replacing Karma with web-component-tester as the testing framework in Patterns in Polymer. I only really need to do the in the two testing chapters, but I'm in for a penny... To get started, I wil...
4
Add a comment...

Chris Strom

Shared publicly  - 
 
Reporting in web-component-tester may not be as rich as Mocha's variety of reporters, but it can get pretty close without much effort. I am starting to come around on this as the best #polymer  testing solution...
The sad path with web-component-tester is a little worrisome. So far, web-component-tester (WCT) has handled pretty much everything I had to throw at it with aplomb. It seems every bit a well thought out and implemented test ...
1
Add a comment...

Chris Strom

Shared publicly  - 
 
Another win for web-component-tester: test organization is easy... with a caveat or two :)

#polymer  
I like web-component-tester. I just don't know if I like like it. Actually, I probably do, but I am unsure if I like it enough to go back and rewrite testing chapters in Patterns in Polymer. Certainly I would prefer the optio...
1
Add a comment...

Chris Strom

Shared publicly  - 
 
I prefer Grunt to automate my  #polymer  web-component-tester tests :)
Today, I try my hand at combining Grunt and web-component-tester for local Polymer development. Last night's experiment with Gulp was reasonable successful. Initial setup with Gulp and web-component-tester (WCT) was brilliant...
1
Add a comment...
 
Finally getting a chance to play with web-component-tester for #polymer  testing in #javascript  land. At first blush: really, really, nice!
Next up in my research-while-awaiting-copy-edits checklist is the web-component-tester. This is probably the most requested topic about which folks have inquired as they read through this blog and the resulting Patterns in Po...
1
Add a comment...
People
Have him in circles
1,024 people
Ahmet Kurnaz's profile photo
Bruno Škvorc's profile photo
Brandon Donnelson's profile photo
DartVoid's profile photo
Gary Miller's profile photo
David Perit's profile photo
Chris Rennert's profile photo
Matt Kaufman's profile photo
Start Polymer's profile photo
Work
Occupation
Programmer
Employment
  • EEE Computes
    Consultant / Author, present
  • mdlogix
    Programmer
Basic Information
Gender
Male
Other names
eee_c, eee-c
Story
Tagline
Author, programmer, speaker.
Introduction
You could fill a book with what I don't know. Which is rather the point. Author of 3D Game Programming for Kids, Patterns in Polymer,  Dart for Hipsters and The SPDY Book. Co-author of Recipes with Backbone. Big into chains
Bragging rights
Blogged for more days in a row than anyone ever.
Places
Map of the places this user has livedMap of the places this user has livedMap of the places this user has lived
Currently
Baltimore
Previously
Connecticut - New York - Indiana - Maryland
Chris Strom's +1's are the things they like, agree with, or want to recommend.
SPDY Book
spdybook.com

Early Access. Beta copies of SPDY Book are now available! Add to Cart. Buying now guarantees you access to the final copy of SPDY Book at no

The new Chromebook, for everyone
chrome.blogspot.com

As a kid growing up in India, I was fascinated with computers and the endless possibilities they presented. I had to wait until college to f

Chrome Experiments - "Code Editor" by Mr.doob
www.chromeexperiments.com

Little online (and offline) code editor for messing around. Needed an editor so I could code on ChromeOS during some days and this did the t

Seth Ladd's Blog: This is this in Dart
blog.sethladd.com

One of the things that&#39;s always confused me about JavaScript is the changing definition of this. This post will show how Dart avoids the