Better HN
topnewbestaskshowjobs
Log inSign up

vesln

304 karma · joined Dec 8, 2011 (14y ago) · 43 submissions

Submissions

comment 10y ago · link · parent

Hello, Hacker News!

Author here. I'm super glad to share something that we have been working on during the past couple of days. A bridge that connects the chai.js assertion library and enzyme - airbnb's library for testing React components in isolation and in integration.

A little bit of background - we developed a project that was very similar to enzyme, focusing on encapsulating the differences between React's shallow rendering and mounting into the DOM (jsdom). However, once enzyme came out, we decided to stop investing in it and instead migrate to enzyme.

I'm personally a bit surprised that people don't define many custom assertions in their projects, while IMO they should. There are a number of great benefits such as better exception messages better diffs, DRY etc. I'm also a chai.js maintainer, and I would love to know if you have custom assertions in your project. If so - what can we improve there, and if not - how we can make it easier for you to start utilizing this ability.

The assertions is just the first piece that we are open sourcing. We have an internal lib for creating factories (ala factory girl) coming out next and more that we'll be trying to get out in the next couple of months.

So please hare your experience with testing your frontend. What are you using? What are the biggest issues you are facing? What do you want to see improved?

2.

Show HN: Assertions and utils for testing React Components(github.com ↗)

5 points · by vesln · 10y ago · 1 comment

3.

A true story about belonging by Airbnb(belonganywhere.com ↗)

1 points · by vesln · 12y ago · discuss

4.

iOS 8 – Now available(apple.com ↗)

1 points · by vesln · 12y ago · discuss

5.

Captureme – CLI utility that captures screenshots via browsers in the cloud(vesln.github.io ↗)

1 points · by vesln · 12y ago · discuss

6.

Easy, but easy to f*ck up. 3 Rules to Setup Analytics Tools correctly(klinger.io ↗)

10 points · by vesln · 12y ago · 1 comment

7.

Testing Vim Plugins With Vimrunner and RSpec(vimninjas.com ↗)

3 points · by vesln · 12y ago · 1 comment

8.

Hippie - a Node.js tool that enables you to write blazing fast API tests(github.com ↗)

1 points · by vesln · 13y ago · discuss

9.

Nixt — Simple and elegant end-to-end testing for command-line apps with Node.js(github.com ↗)

2 points · by vesln · 13y ago · discuss

10.

Elegant Range implementation for Node.js & the browsers(github.com ↗)

2 points · by vesln · 14y ago · discuss

11.

Obsessed - Retry mechanism for Node.js and the browsers(github.com ↗)

2 points · by vesln · 14y ago · discuss

12.

Build blazing fast RESTful API clients with Node.js(github.com ↗)

1 points · by vesln · 14y ago · discuss

13.

HappyEdit - an HTML5 Remake of Vim(vimninjas.com ↗)

1 points · by vesln · 14y ago · 1 comment

14.

Ask HN: Where to promote posts about code

2 points · by vesln · 14y ago · discuss

15.

Easy testing for time-dependent code - Node.js(github.com ↗)

1 points · by vesln · 14y ago · discuss

16.

Robber.py - BDD / TDD assertion library for Python(github.com ↗)

1 points · by vesln · 14y ago · discuss

17.

Light vim color schemes that you should consider using(vimninjas.com ↗)

4 points · by vesln · 14y ago · 1 comment

18.

Code Substitution Done Right - Switch.vim(vimninjas.com ↗)

37 points · by vesln · 14y ago · 12 comments

19.

Plugins you should put in your vimrc(vimninjas.com ↗)

164 points · by vesln · 14y ago · 95 comments

comment 14y ago · link · parent

You can try http://www.vim.org/scripts/script.php?script_id=441 as well

comment 14y ago · link · parent

I think it's pretty neat as well.

22.

Vim for Rubyists(vimninjas.com ↗)

2 points · by vesln · 14y ago · discuss

23.

10 vim color schemes you need to have(vimninjas.com ↗)

10 points · by vesln · 14y ago · 13 comments

24.

Is my site up? Node.js edition(github.com ↗)

1 points · by vesln · 14y ago · discuss

25.

Teacher - Spell checking for Node.js(github.com ↗)

1 points · by vesln · 14y ago · discuss

12