News for hackers. Stuff that matters.

zerego

Glad you think so! What use cases do you have in mind?
What you're looking for is called model based testing.

There is also property based testing which generates random data for the tests.

You can read more about this in the official documentation of this npm package https://www.npmjs.com/package/fast-check

I know there are plugins for cypress and most likely to other tools to be able to setup model based tests.

Ask HN: Should an arrow function be used as a pure function?

Do you consider an arrow function to have side effects since they don't have their own 'this'?"In computer programming, a pure function is a function that has the following properties: - Its return value is the same for the same arguments (no variation with local static variables, non-local variables, mutable reference arguments or input streams from I/O devices). - Its evaluation has no side...

( Read More... | no comments | on HN )
Re:Ask HN: Who is hiring? (July 2018) on Monday July 02, 2018 @05:24PM (#17445440)
Any positions for the frontend, for the video player ?
Re:Ask HN: Who is hiring? (July 2018) on Monday July 02, 2018 @11:33AM (#17442519)
Is it worldwide remote ? or the developer needs to live in the US ?

Ask HN: How to become a remote contractor?

I'm a javascript developer working in London and I want to become a remote contractor so I can travel the world while working remotely. Where can I find people or companies that can help me getting into the world of contracting and even be a intermediary? Is anyone in this situation that want to share how they did it and how is going?

( Read More... | 160 comments | 311 points | on HN )
Re:Ask HN: Who is hiring? (September 2017) on Friday September 01, 2017 @05:06PM (#15152376)
On the website I just see the fullstack option. Can you say a salary range or equity ? Thanks
Re:Ask HN: What project are you currently working on? on Wednesday July 15, 2015 @12:32PM (#9892283)
Not working for me.

- Uncaught InvalidStateError: Failed to execute 'send' on 'WebSocket': Still in CONNECTING state.

- WebSocket connection to 'ws://spacetime.tv:9090/' failed: Error in connection establishment: net::ERR_CONNECTION_TIMED_OUT