Hacker Newsnew | past | comments | ask | show | jobs | submit | karlosmid's commentslogin

Hi! In my internet banking, I needed to schedule one invoice for the last working day of march, 28th, Friday. System responded that this is Sunday so invoice could not be scheduled.


I would like to add that mobile application also works as expected with all feature set as web application.


Hi!

I write a blog post. How?

I split the book by the headings section (not whole chapter), this is usually one or two pages. Then I try to explain what I understood in my own words. If the author used an example, then I come up with my example.

If the book is about programming, I put code on public GitHub.

After I finish a chapter, I reread my blog posts.


Also, by switching from Java to Ruby ecosystem is one way to improve your selenium tests. For start, use watir-webdriver and page-object gems.


Improve them how though? Speed? Reliability? If it's just a nicer API, that's all well and good, but until the key problems I face with Selenium are solved (slow and non-deterministic tests) then a nicer API to it is just rearranging deck-chairs on the Titanic.


It seems that you try to use selenium 2, or webdriver, in order to run your unit tests. Selenium is for browser test, and by its nature it can not run in milliseconds. Its execution time is in seconds. Even when use phantomjs webdriver. It is integration testing approach because it combines execution of several javascript modules. That run in real browser. Selenium has its purpose, but fast test execution is not one of them.


> It seems that you try to use selenium 2, or webdriver, in order to run your unit tests.

Nope. Integration tests. But integration tests that start a Firefox instance from scratch and have to be rerun multiple times to pass due to non-determinism are slow.


Could you please provide one example of non-determinism? I would like to understand what exactly do YOU mean by that term.


Using Capybara alone one gets most of the stuff they had to implement (page, with, retries, ...) but I'll look into those gems you suggest.

Maybe the Scala ecosystem is still immature on the side of integration testing. They could implement them in Ruby if they are familiar with the language. I don't feel OK about using two languages but at least it could enforce strict separation between integration testing and the application.


SEEKING WORK Remote based work as a full time freelancer from Croatia. Strong: web application functional testing, security testing, load testing. Tools: WATIR, Cucumber, All types of Python web modules. Punchline: If you think that your web application does not have problems, hire me and I will prove that you are wrong.


Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: